NM.SettingBondPort

g GObject.Object GObject.Object NM.Setting NM.Setting GObject.Object->NM.Setting NM.SettingBondPort NM.SettingBondPort NM.Setting->NM.SettingBondPort

Subclasses:

None

Methods

Inherited:

NM.Setting (21), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new ()

get_prio ()

get_queue_id ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Inherited:

NM.Setting (1)

Name

Type

Flags

Short Description

prio

int

r/w/en

queue-id

int

r/w/en

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class NM.SettingBondPort(**kwargs)
Bases:

NM.Setting

Abstract:

No

Structure:

NM.SettingBondPortClass

Bond Port Settings

classmethod new()
Returns:

the new empty NM.SettingBondPort object

Return type:

NM.Setting

Creates a new NM.SettingBondPort object with default values.

New in version 1.34.

get_prio()
Returns:

the NM.SettingBondPort :prio property of the setting

Return type:

int

New in version 1.44.

get_queue_id()
Returns:

the #NMSettingBondPort:queue_id property of the setting

Return type:

int

New in version 1.34.

Property Details

NM.SettingBondPort.props.prio
Name:

prio

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

The port priority for bond active port re-selection during failover. A higher number means a higher priority in selection. The primary port has the highest priority. This option is only compatible with active-backup, balance-tlb and balance-alb modes.

New in version 1.44.

NM.SettingBondPort.props.queue_id
Name:

queue-id

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

The queue ID of this bond port. The maximum value of queue ID is the number of TX queues currently active in device.

New in version 1.34.