LibvirtGConfig.DomainInterface

g GObject.Object GObject.Object LibvirtGConfig.Object LibvirtGConfig.Object GObject.Object->LibvirtGConfig.Object LibvirtGConfig.DomainDevice LibvirtGConfig.DomainDevice LibvirtGConfig.DomainInterface LibvirtGConfig.DomainInterface LibvirtGConfig.DomainDevice->LibvirtGConfig.DomainInterface LibvirtGConfig.Object->LibvirtGConfig.DomainDevice

Subclasses:

LibvirtGConfig.DomainInterfaceBridge, LibvirtGConfig.DomainInterfaceNetwork, LibvirtGConfig.DomainInterfaceUser

Methods

Inherited:

LibvirtGConfig.DomainDevice (1), LibvirtGConfig.Object (6), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

get_filterref ()

get_ifname ()

get_link_state ()

get_mac ()

get_model ()

set_filterref (filterref)

set_ifname (ifname)

set_link_state (state)

set_mac (mac_address)

set_model (model)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Inherited:

LibvirtGConfig.Object (2)

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

LibvirtGConfig.DomainDevice

r

Class Details

class LibvirtGConfig.DomainInterface(**kwargs)
Bases:

LibvirtGConfig.DomainDevice

Abstract:

Yes

Structure:

LibvirtGConfig.DomainInterfaceClass

get_filterref()
Returns:

A LibvirtGConfig.DomainInterfaceFilterref. The returned object should be unreffed with GObject.Object.unref() when no longer needed.

Return type:

LibvirtGConfig.DomainInterfaceFilterref

Gets the filterref associated with the self

get_ifname()
Return type:

str

Return type:

LibvirtGConfig.DomainInterfaceLinkState

get_mac()
Return type:

str

get_model()
Return type:

str

set_filterref(filterref)
Parameters:

filterref (LibvirtGConfig.DomainInterfaceFilterref or None) – the filterref to set

set_ifname(ifname)
Parameters:

ifname (str) –

Parameters:

state (LibvirtGConfig.DomainInterfaceLinkState) –

set_mac(mac_address)
Parameters:

mac_address (str) –

set_model(model)
Parameters:

model (str) –