NM.SettingMacvlan¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/en |
|||
r/w/en |
|||
r/w/en |
|||
r/w/en |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class NM.SettingMacvlan(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
MAC VLAN Settings
- classmethod new()¶
- Returns:
the new empty
NM.SettingMacvlan
object- Return type:
Creates a new
NM.SettingMacvlan
object with default values.New in version 1.2.
- get_mode()¶
- Returns:
the
NM.SettingMacvlan
:mode
property of the setting- Return type:
New in version 1.2.
- get_parent()¶
- Returns:
the
NM.SettingMacvlan
:parent
property of the setting- Return type:
New in version 1.2.
- get_promiscuous()¶
- Returns:
the
NM.SettingMacvlan
:promiscuous
property of the setting- Return type:
New in version 1.2.
- get_tap()¶
- Returns:
the
NM.SettingMacvlan
:tap
property of the setting- Return type:
New in version 1.2.
Property Details¶
- NM.SettingMacvlan.props.mode¶
- Name:
mode
- Type:
- Default Value:
0
- Flags:
The macvlan mode, which specifies the communication mechanism between multiple macvlans on the same lower device.
New in version 1.2.
- NM.SettingMacvlan.props.parent¶
- Name:
parent
- Type:
- Default Value:
- Flags:
If given, specifies the parent interface name or parent connection UUID from which this MAC-VLAN interface should be created. If this property is not specified, the connection must contain an
NM.SettingWired
setting with aNM.SettingWired
:mac-address
property.New in version 1.2.
- NM.SettingMacvlan.props.promiscuous¶
- Name:
promiscuous
- Type:
- Default Value:
- Flags:
Whether the interface should be put in promiscuous mode.
New in version 1.2.