openstack.accelerator.v2.device

The Device Class

The Device class inherits from Resource.

class openstack.accelerator.v2.device.Device(_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.

resource_key = 'device'

Singular form of key for resource.

resources_key = 'devices'

Plural form of key for resource.

base_path = '/devices'

The base part of the URI for this resource.

allow_create = False

Allow create operation for this resource.

allow_fetch = True

Allow get operation for this resource.

allow_commit = False

Allow update operation for this resource.

allow_delete = False

Allow delete operation for this resource.

allow_list = True

Allow list operation for this resource.

created_at

The timestamp when this device was created.

hostname

The hostname of the device.

id

The ID of the device.

model

The model of the device.

std_board_info

The std board information of the device.

type

The type of the device.

updated_at

The timestamp when this device was updated.

uuid

The UUID of the device.

vendor

The vendor ID of the device.

vendor_board_info

The vendor board information of the device.