The Port class inherits from Resource.
Construct a Resource to interact with a service’s REST API.
The Resource class offers two class methods to construct resource objects, which are preferrable to entering through this initializer. See Resource.new() and Resource.existing().
Parameters: |
|
---|
Allowed address pairs.
The ID of the host where the port is allocated. In some cases, different implementations can run on different hosts.
A dictionary the enables the application running on the specified host to pass and receive vif port-specific information to the plug-in. Type: dict
Read-only. A dictionary that enables the application to pass information about functions that the Networking API provides. To enable or disable port filtering features such as security group and anti-MAC/IP spoofing, specify port_filter: True or port_filter: False. Type: dict
Read-only. The vif type for the specified port.
The vnic type that is bound to the neutron port.
In POST and PUT operations, specify a value of normal (virtual nic), direct (pci passthrough), or macvtap (virtual interface with a tap-like software interface). These values support SR-IOV PCI passthrough networking. The ML2 plug-in supports the vnic_type.
In GET operations, the binding:vnic_type extended attribute is visible to only port owners and administrative users.
Timestamp when the port was created.
The port description.
Device ID of this port.
Device owner of this port (e.g. network:dhcp).
DNS assignment for the port.
DNS name for the port.
Extra DHCP options.
IP addresses for the port. Includes the IP address and subnet ID.
The administrative state of the port, which is up True or down False. Type: bool
The port security status, which is enabled True or disabled False. Type: bool Default: False
The MAC address of the port.
The port name.
The ID of the attached network.
The ID of the project who owns the network. Only administrative users can specify a project ID other than their own.
The IDs of any attached security groups. Type: list of strs of the security group IDs
The port status. Value is ACTIVE or DOWN.
Timestamp when the port was last updated.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.