Atom feed of this document
 

 Provider API Workflow

Show all attributes of a network, including provider attributes when invoked with the admin role:

quantum net-show <name or net-id>

Create a local provider network (admin-only):

quantum net-create <name> --tenant_id <tenant-id> --provider:network_type local

Create a flat provider network (admin-only):

quantum net-create <name> --tenant_id <tenant-id> --provider:network_type flat --provider:physical_network <phys-net-name>

Create a VLAN provider network (admin-only):

quantum net-create <name> --tenant_id <tenant-id> --provider:network_type vlan --provider:physical_network <phys-net-name> --provider:segmentation_id <VID>

Create a GRE provider network (admin-only):

quantum net-create <name> --tenant_id <tenant-id> --provider:network_type gre --provider:segmentation_id <tunnel-id>

When creating flat networks or VLAN networks, <phys-net-name> must be known to the plugin. See the section called “ovs_quantum_plugin.ini:” and the section called “linuxbridge_conf.ini:” for details on configuring network_vlan_ranges to identify all physical networks. When creating VLAN networks, <VID> can fall either within or outside any configured ranges of VLAN IDs from which tenant networks are allocated. Similarly, when creating GRE networks, <tunnel-id> can fall either within or outside any tunnel ID ranges from which tenant networks are allocated.

Once provider networks have been created, subnets can be allocated and they can be used similarly to other virtual networks, subject to authorization policy based on the specified <tenant_id>.



loading table of contents...