SBDF#

class SBDF(segment=None, bus=None, device=None, func=None, *args, **kwargs)[source]#

Bases: object

The (S)egment:(B)us:(D)evice.(F)unction hardware address. See https://wiki.xen.org/wiki/Bus:Device.Function_(BDF)_Notation for more details.

Parameters:
property bus#
Type:

int

property device#
Type:

int

property func#
Type:

int

property segment#
Type:

int

to_dict()[source]#

Returns the model properties as a dictionary

to_str()[source]#

Returns the string representation of the model