gi-nm-1.0.1: NM bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.NM.Objects.SettingBondPort

Description

Bond Port Settings

Synopsis

Exported types

class (GObject o, IsDescendantOf SettingBondPort o) => IsSettingBondPort o Source #

Type class for types which can be safely cast to SettingBondPort, for instance with toSettingBondPort.

Instances

Instances details
(GObject o, IsDescendantOf SettingBondPort o) => IsSettingBondPort o Source # 
Instance details

Defined in GI.NM.Objects.SettingBondPort

toSettingBondPort :: (MonadIO m, IsSettingBondPort o) => o -> m SettingBondPort Source #

Cast to SettingBondPort, for types for which this is known to be safe. For general casts, use castTo.

Methods

getPrio

settingBondPortGetPrio Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettingBondPort a) 
=> a

setting: the SettingBondPort

-> m Int32

Returns: the SettingBondPort:prio property of the setting

No description available in the introspection data.

Since: 1.44

getQueueId

settingBondPortGetQueueId Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettingBondPort a) 
=> a

setting: the SettingBondPort

-> m Word32

Returns: the SettingBondPort:queue_id property of the setting

No description available in the introspection data.

Since: 1.34

new

settingBondPortNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> m SettingBondPort

Returns: the new empty SettingBondPort object

Creates a new SettingBondPort object with default values.

Since: 1.34

Properties

prio

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.

Since: 1.44

constructSettingBondPortPrio :: (IsSettingBondPort o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “prio” property. This is rarely needed directly, but it is used by new.

getSettingBondPortPrio :: (MonadIO m, IsSettingBondPort o) => o -> m Int32 Source #

Get the value of the “prio” property. When overloading is enabled, this is equivalent to

get settingBondPort #prio

setSettingBondPortPrio :: (MonadIO m, IsSettingBondPort o) => o -> Int32 -> m () Source #

Set the value of the “prio” property. When overloading is enabled, this is equivalent to

set settingBondPort [ #prio := value ]

queueId

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

Since: 1.34

constructSettingBondPortQueueId :: (IsSettingBondPort o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “queue-id” property. This is rarely needed directly, but it is used by new.

getSettingBondPortQueueId :: (MonadIO m, IsSettingBondPort o) => o -> m Word32 Source #

Get the value of the “queue-id” property. When overloading is enabled, this is equivalent to

get settingBondPort #queueId

setSettingBondPortQueueId :: (MonadIO m, IsSettingBondPort o) => o -> Word32 -> m () Source #

Set the value of the “queue-id” property. When overloading is enabled, this is equivalent to

set settingBondPort [ #queueId := value ]