DiskAddress#

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

Bases: object

Disk address.

Parameters:
  • bus_type – (bus_type)

  • index – (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()[source]#

Returns the model properties as a dictionary

to_str()[source]#

Returns the string representation of the model