DiskAddress#

class DiskAddress(bus_type=None, index=None, *args, **kwargs)#

Bases: object

Disk address.

Parameters:
  • bus_type – (bus_type)

  • index (min=0,) – (index) Device index on the bus. This field is ignored unless the bus details are specified.

property bus_type#
Type:

DiskBusType

property index#

Device index on the bus. This field is ignored unless the bus details are specified.

Type:

int

to_dict()#

Returns the model properties as a dictionary

to_str()#

Returns the string representation of the model