openstack.baremetal.v1.port¶
The Port Class¶
The Port
class inherits from Resource
.
- class openstack.baremetal.v1.port.Port(_synchronized=False, connection=None, **attrs)¶
The base resource
- Parameters
_synchronized (bool) – This is not intended to be used directly. See
new()
andexisting()
.connection (openstack.connection.Connection) – Reference to the Connection being used. Defaults to None to allow Resource objects to be used without an active Connection, such as in unit tests. Use of
self._connection
in Resource code should protect itself with a check for None.
- address¶
The physical hardware address of the network port, typically the hardware MAC address.
- created_at¶
Timestamp at which the port was created.
- extra¶
A set of one or more arbitrary metadata key and value pairs.
- id¶
The UUID of the port
- internal_info¶
Internal metadata set and stored by the port. This field is read-only. Added in API microversion 1.18.
- is_pxe_enabled¶
Whether PXE is enabled on the port. Added in API microversion 1.19.
- links¶
A list of relative links, including the self and bookmark links.
- local_link_connection¶
The port bindig profile. If specified, must contain
switch_id
andport_id
fields.switch_info
field is an optional string field to be used to store vendor specific information. Added in API microversion 1.19.
- node_id¶
The UUID of node this port belongs to
- physical_network¶
The name of physical network this port is attached to. Added in API microversion 1.34.
- port_group_id¶
The UUID of PortGroup this port belongs to. Added in API microversion 1.24.
- updated_at¶
Timestamp at which the port was last updated.