Ports
In the Neutron data model, a port represents a switch port on a logical switch that spans the entire cloud and contains information about connected devices. Virtual machine interfaces (VIFs) and other network objects such as router and DHCP server interfaces are mapped to Neutron ports. The ports define both the MAC address and the IP address to be assigned to the devices associated with them. Each port must be associated with a Neutron network.
The following diagram shows how a port describes various Layer 2 attributes in the OSI model:
The following table describes attributes associated with port objects:
Attribute |
Type |
Required |
Default |
Notes |
---|---|---|---|---|
|
|
n/a |
Auto generated |
The UUID of the subnet |
|
|
Yes |
N/A |
The UUID of the associated network |
|
string |
no |
None |
The human-readable name of the subnet |
|
boolean |
no |
True |
The administrative state of the port |
|
string |
N/A |
N/A |
The current status of the port (for... |