Libvirt (KVM/QEMU) | XenServer | VMware | Hyper-V | Bare-metal | PowerVM | |
---|---|---|---|---|---|---|
Bigswitch / Floodlight | Yes | |||||
Brocade | Yes | |||||
Cisco | Yes | |||||
Cloudbase Hyper-V | Yes | |||||
Linux Bridge | Yes | |||||
Mellanox | Yes | |||||
Midonet | Yes | |||||
NEC OpenFlow | Yes | |||||
Nicira NVP | Yes | Yes | Yes | |||
Open vSwitch | Yes | |||||
Plumgrid | Yes | Yes | ||||
Ryu | Yes |
Attribute | Type | Default value | Description |
---|---|---|---|
bool | True | Administrative state of the network. If specified as False (down), this network does not forward packets. | |
uuid-str | Generated | UUID for this network. | |
string | None | Human-readable name for this network; is not required to be unique. | |
bool | False | Specifies whether this network resource can be accessed by any tenant. The default policy setting restricts usage of this attribute to administrative users only. | |
string | N/A | Indicates whether this network is currently operational. | |
list(uuid-str) | Empty list | List of subnets associated with this network. | |
uuid-str | N/A | Tenant owner of the network. Only administrative users can set the tenant identifier; this cannot be changed using authorization policies. |
Attribute | Type | Default Value | Description |
---|---|---|---|
list(dict) | Every address in
|
||
string | N/A | IP range for this subnet, based on the IP version. | |
list(string) | Empty list | List of DNS name servers used by hosts in this subnet. | |
bool | True | Specifies whether DHCP is enabled for this subnet. | |
string | First address in
|
Default gateway used by devices in this subnet. | |
list(dict) | Empty list | Routes that should be used by devices with IPs from this subnet (not including local subnet route). | |
uuid-string | Generated | UUID representing this subnet. | |
int | 4 | IP version. | |
string | None | Human-readable name for this subnet (might not be unique). | |
uuid-string | N/A | Network with which this subnet is associated. | |
uuid-string | N/A | Owner of network. Only administrative users can set the tenant identifier; this cannot be changed using authorization policies. |
Attribute | Type | Default Value | Description |
---|---|---|---|
bool | true | Administrative state of this port. If specified as False (down), this port does not forward packets. | |
string | None | Identifies the device using this port (for example, a virtual server's ID). | |
string | None | Identifies the entity using this port (for example, a dhcp agent). | |
list(dict) | Automatically allocated from pool | Specifies IP addresses for this port; associates the port with the subnets containing the listed IP addresses. | |
uuid-string | Generated | UUID for this port. | |
string | Generated | Mac address to use on this port. | |
string | None | Human-readable name for this port (might not be unique). | |
uuid-string | N/A | Network with which this port is associated. | |
string | N/A | Indicates whether the network is currently operational. | |
uuid-string | N/A | Owner of the network. Only administrative users can set the tenant identifier; this cannot be changed using authorization policies. |
Operation | Command |
---|---|
Creates a network. | |
Creates a subnet that is associated with net1. | |
Lists ports for a specified tenant. | |
Lists ports for a specified tenant and
displays the
|
|
Shows information for a specified port. |
Operation | Command |
---|---|
Creates a network that all tenants can use. | |
Creates a subnet with a specified gateway IP address. | |
Creates a subnet that has no gateway IP address. | |
Creates a subnet with DHCP disabled. | |
Creates a subnet with a specified set of host routes. | |
Creates a subnet with a specified set of dns name servers. | |
Displays all ports and IPs allocated on a network. |
Action | Command |
---|---|
Checks available networks. | |
Boots a VM with a single NIC on a selected OpenStack Networking network. | |
Searches for ports, but shows only the
|
|
Temporarily disables a port from sending traffic. |
Operation | Command |
---|---|
Boots a VM with multiple NICs. | |
Boots a VM with a specific IP address.
First, create an OpenStack Networking
port with a specific IP address. Then,
boot a VM specifying a
|
|
Boots a VM that connects to all
networks that are accessible to the
tenant who submits the request
(without the
|
Attribute name | Type | Default Value | Description |
---|---|---|---|
provider:network_type | String | N/A | The physical mechanism by which the virtual network is realized. Possible values are "flat", "vlan", "local", and "gre", corresponding to flat networks, VLAN networks, local networks, and GRE networks as defined above. All types of provider networks can be created by administrators, while tenant networks can be realized as "vlan", "gre", or "local" network types depending on plug-in configuration. |
provider:physical_network | String | If a physical network named "default" has been configured, and if provider:network_type is "flat" or "vlan", then "default" is used. | The name of the physical network over which the virtual network is realized for flat and VLAN networks. Not applicable to the "local" or "gre" network types. |
provider:segmentation_id | Integer | N/A | For VLAN networks, the VLAN VID on the physical network that realizes the virtual network. Valid VLAN VIDs are 1 through 4094. For GRE networks, the tunnel ID. Valid tunnel IDs are any 32 bit unsigned integer. Not applicable to the "flat" or "local" network types. |
extension:provider_network:view
action through the OpenStack Networking policy
configuration. The provider attributes are only
accepted for network API operations if the client
is authorized for the
extension:provider_network:set
action. The default OpenStack Networking API
policy configuration authorizes both actions for
users with the admin role. See Operation | Command |
---|---|
|
|
|
|
|
|
|
|
|
|
Attribute name | Type | Default Value | Description |
---|---|---|---|
id | uuid-str | generated | UUID for the router. |
name | String | None | Human-readable name for the router. Might not be unique. |
admin_state_up | Bool | True | The administrative state of router. If false (down), the router does not forward packets. |
status | String | N/A | |
tenant_id | uuid-str | N/A | Owner of the router. Only admin users can specify a tenant_id other than its own. |
external_gateway_info | dict contain 'network_id' key-value pair | Null | External network that this router connects to for gateway services (for example, NAT) |
Attribute name | Type | Default Value | Description |
---|---|---|---|
id | uuid-str | generated | UUID for the floating IP. |
floating_ip_address | string (IP address) | allocated by OpenStack Networking | The external network IP address available to be mapped to an internal IP address. |
floating_network_id | uuid-str | N/A | |
router_id | uuid-str | N/A | Read-only value indicating the router that connects the external network to the associated internal port, if a port is associated. |
port_id | uuid-str | Null | Indicates the internal OpenStack Networking port associated with the external floating IP. |
fixed_ip_address | string (IP address) | Null | Indicates the IP address on the internal port that is mapped to by the floating IP (since an OpenStack Networking port might have more than one IP address). |
tenant_id | uuid-str | N/A | Owner of the Floating IP. Only admin users can specify a tenant_id other than its own. |
Operation | Command |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
security_group_api=neutron
option on
every node that runs Attribute name | Type | Default Value | Description |
---|---|---|---|
id | uuid-str | generated | UUID for the security group. |
name | String | None | Human-readable name for the security group. Might not be unique. Cannot be named default as that is automatically created for a tenant. |
description | String | None | Human-readable description of a security group. |
tenant_id | uuid-str | N/A | Owner of the security group. Only admin users can specify a tenant_id other than their own. |
Attribute name | Type | Default Value | Description |
---|---|---|---|
id | uuid-str | generated | UUID for the security group rule. |
security_group_id | uuid-str or Integer | allocated by OpenStack Networking | The security group to associate rule with. |
direction | String | N/A | The direction the traffic is allow (ingress/egress) from a VM. |
protocol | String | None | IP Protocol (icmp, tcp, udp, and so on). |
port_range_min | Integer | None | Port at start of range |
port_range_max | Integer | None | Port at end of range |
ethertype | String | None | ethertype in L2 packet (IPv4, IPv6, and so on) |
remote_ip_prefix | string (IP cidr) | None | CIDR for address range |
remote_group_id | uuid-str or Integer | allocated by OpenStack Networking or OpenStack Compute | Source security group to apply to rule. |
tenant_id | uuid-str | N/A | Owner of the security group rule. Only admin users can specify a tenant_id other than its own. |
Operation | Command |
---|---|
|
|
|
|
|
|
|
|
|
Operation | Command |
---|---|
|
|
|
|
|
|
|
|
Attribute name | Type | Default Value | Description |
---|---|---|---|
id | uuid-str | generated | UUID for the QoS queue. |
default | Boolean | False by default | If True, ports are created with this queue size unless the network port is created or associated with a queue at port creation time. |
name | String | None | Name for QoS queue. |
min | Integer | 0 | Minimum Bandwidth Rate (kbps). |
max | Integer | N/A | Maximum Bandwidth Rate (kbps). |
qos_marking | String | untrusted by default | Whether QoS marking should be trusted or untrusted. |
dscp | Integer | 0 | DSCP Marking value. |
tenant_id | uuid-str | N/A | The owner of the QoS queue. |
Operation | Command |
---|---|
|
|
|
|
|
|
|
|
create_subnet:
[["admin_or_network_owner"]]
, create_subnet
policy is triggered every
time a POST /v2.0/subnets
request is sent to
the OpenStack Networking server; on the other hand
create_network:shared
is triggered every
time the POST
/v2.0/networks
request. It is also worth
mentioning that policies can be also related to specific
API extensions; for instance
extension:provider_network:set
is be
triggered if the attributes defined by the Provider
Network extensions are specified in an API request."role:admin"
is successful if
the user submitting the request is an
administrator."field:networks:shared=True"
is successful if the attribute "tenant_id:%(tenant_id)s"
is
successful if the tenant identifier in the
resource is equal to the tenant identifier of
the user submitting the request.Plug-in | Support Native Pagination | Support Native Sorting |
---|---|---|
Open vSwitch | True | True |
LinuxBridge | True | True |