Abstraction | Description |
---|---|
An isolated L2 network segment (similar to a VLAN) that forms the basis for describing the L2 network topology available in an Networking deployment. | |
Associates a block of IP addresses and other network configuration, such as, default gateways or dns-servers, with an Networking network. Each subnet represents an IPv4 or IPv6 address block and, if needed, each Networking network can have multiple subnets. | |
Represents an attachment port to a L2 Networking network. When a port is created on the network, by default it is allocated an available fixed IP address out of one of the designated subnets for each IP version (if one exists). When the port is destroyed, its allocated addresses return to the pool of available IPs on the subnet. Users of the Networking API can either choose a specific IP address from the block, or let Networking choose the first available IP address. |
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 , excluding (if configured). | ||
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 , , and columns. | |
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 Networking network. | |
Searches for ports, but shows only the for the port. | |
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 Networking port with a specific IP address. Then, boot a VM specifying a rather than a . | |
Boots a VM that connects to all
networks that are accessible to the
tenant who submits the request
(without the |
security_group_api = neutron
in the