openstack.baremetal.v1.port_group

The PortGroup Class

The PortGroup class inherits from Resource.

class openstack.baremetal.v1.port_group.PortGroup(_synchronized=False, connection=None, **attrs)

The base resource

Parameters
  • _synchronized (bool) – This is not intended to be used directly. See new() and existing().

  • 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 portgroup, typically the hardware MAC address. Added in API microversion 1.23.

created_at

Timestamp at which the portgroup was created.

extra

A set of one or more arbitrary metadata key and value pairs.

name

The name of the portgroup

id

The UUID for the portgroup

internal_info

Internal metadaa set and stored by the portgroup.

is_standalone_ports_supported

Whether ports that are members of this portgroup can be used as standalone ports. Added in API microversion 1.23.

A list of relative links, including the self and bookmark links.

mode

Port bonding mode. Added in API microversion 1.26.

node_id

UUID of the node this portgroup belongs to.

ports

A list of links to the collection of ports belonging to this portgroup. Added in API microversion 1.24.

properties

Port group properties. Added in API microversion 1.26.

updated_at

Timestamp at which the portgroup was last updated.