<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Hi,</p>
    <p>    I am trying to create a non vm network using the following
      code, but it still go a head and creates vm network. Can some one
      please help me to resolve this? Or can you let me know in case i
      am missing some parameter to add here?</p>
    <p>
      <meta http-equiv="content-type" content="text/html; charset=utf-8">
    </p>
    <pre style="background-color:#ffffff;color:#000000;font-family:'DejaVu Sans Mono';font-size:13.5pt;"><span style="color:#000080;font-weight:bold;">def </span>create_gluster_network(network_name):
    networks_service = connection.system_service().networks_service()
    <span style="color:#808080;">network </span>= networks_service.add(types.<span style="background-color:#e4e4ff;">Network</span>(<span style="color:#660099;">name</span>=network_name, <span style="color:#660099;">data_center</span>=types.DataCenter(<span style="color:#660099;">name</span>=<span style="color:#008000;font-weight:bold;">'Default'</span>), <span style="color:#660099;">description</span>=<span style="color:#008000;font-weight:bold;">'new gluster network'
</span><span style="color:#008000;font-weight:bold;">                                                 </span>))

Thanks
kasturi
</pre>
  </body>
</html>