Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
- Exported types
- Methods
- addLinkWatcher
- addRunnerTxHash
- clearLinkWatchers
- getConfig
- getLinkWatcher
- getMcastRejoinCount
- getMcastRejoinInterval
- getNotifyPeersCount
- getNotifyPeersInterval
- getNumLinkWatchers
- getNumRunnerTxHash
- getRunner
- getRunnerActive
- getRunnerAggSelectPolicy
- getRunnerFastRate
- getRunnerHwaddrPolicy
- getRunnerMinPorts
- getRunnerSysPrio
- getRunnerTxBalancer
- getRunnerTxBalancerInterval
- getRunnerTxHash
- new
- removeLinkWatcher
- removeLinkWatcherByValue
- removeRunnerTxHash
- removeRunnerTxHashByValue
- Properties
Teaming Settings
Synopsis
- newtype SettingTeam = SettingTeam (ManagedPtr SettingTeam)
- class (GObject o, IsDescendantOf SettingTeam o) => IsSettingTeam o
- toSettingTeam :: (MonadIO m, IsSettingTeam o) => o -> m SettingTeam
- settingTeamAddLinkWatcher :: (HasCallStack, MonadIO m, IsSettingTeam a) => a -> TeamLinkWatcher -> m Bool
- settingTeamAddRunnerTxHash :: (HasCallStack, MonadIO m, IsSettingTeam a) => a -> Text -> m Bool
- settingTeamClearLinkWatchers :: (HasCallStack, MonadIO m, IsSettingTeam a) => a -> m ()
- settingTeamGetConfig :: (HasCallStack, MonadIO m, IsSettingTeam a) => a -> m Text
- settingTeamGetLinkWatcher :: (HasCallStack, MonadIO m, IsSettingTeam a) => a -> Word32 -> m TeamLinkWatcher
- settingTeamGetMcastRejoinCount :: (HasCallStack, MonadIO m, IsSettingTeam a) => a -> m Int32
- settingTeamGetMcastRejoinInterval :: (HasCallStack, MonadIO m, IsSettingTeam a) => a -> m Int32
- settingTeamGetNotifyPeersCount :: (HasCallStack, MonadIO m, IsSettingTeam a) => a -> m Int32
- settingTeamGetNotifyPeersInterval :: (HasCallStack, MonadIO m, IsSettingTeam a) => a -> m Int32
- settingTeamGetNumLinkWatchers :: (HasCallStack, MonadIO m, IsSettingTeam a) => a -> m Word32
- settingTeamGetNumRunnerTxHash :: (HasCallStack, MonadIO m, IsSettingTeam a) => a -> m Word32
- settingTeamGetRunner :: (HasCallStack, MonadIO m, IsSettingTeam a) => a -> m Text
- settingTeamGetRunnerActive :: (HasCallStack, MonadIO m, IsSettingTeam a) => a -> m Bool
- settingTeamGetRunnerAggSelectPolicy :: (HasCallStack, MonadIO m, IsSettingTeam a) => a -> m Text
- settingTeamGetRunnerFastRate :: (HasCallStack, MonadIO m, IsSettingTeam a) => a -> m Bool
- settingTeamGetRunnerHwaddrPolicy :: (HasCallStack, MonadIO m, IsSettingTeam a) => a -> m Text
- settingTeamGetRunnerMinPorts :: (HasCallStack, MonadIO m, IsSettingTeam a) => a -> m Int32
- settingTeamGetRunnerSysPrio :: (HasCallStack, MonadIO m, IsSettingTeam a) => a -> m Int32
- settingTeamGetRunnerTxBalancer :: (HasCallStack, MonadIO m, IsSettingTeam a) => a -> m Text
- settingTeamGetRunnerTxBalancerInterval :: (HasCallStack, MonadIO m, IsSettingTeam a) => a -> m Int32
- settingTeamGetRunnerTxHash :: (HasCallStack, MonadIO m, IsSettingTeam a) => a -> Word32 -> m Text
- settingTeamNew :: (HasCallStack, MonadIO m) => m SettingTeam
- settingTeamRemoveLinkWatcher :: (HasCallStack, MonadIO m, IsSettingTeam a) => a -> Word32 -> m ()
- settingTeamRemoveLinkWatcherByValue :: (HasCallStack, MonadIO m, IsSettingTeam a) => a -> TeamLinkWatcher -> m Bool
- settingTeamRemoveRunnerTxHash :: (HasCallStack, MonadIO m, IsSettingTeam a) => a -> Word32 -> m ()
- settingTeamRemoveRunnerTxHashByValue :: (HasCallStack, MonadIO m, IsSettingTeam a) => a -> Text -> m Bool
- clearSettingTeamConfig :: (MonadIO m, IsSettingTeam o) => o -> m ()
- constructSettingTeamConfig :: (IsSettingTeam o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingTeamConfig :: (MonadIO m, IsSettingTeam o) => o -> m Text
- setSettingTeamConfig :: (MonadIO m, IsSettingTeam o) => o -> Text -> m ()
- constructSettingTeamMcastRejoinCount :: (IsSettingTeam o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getSettingTeamMcastRejoinCount :: (MonadIO m, IsSettingTeam o) => o -> m Int32
- setSettingTeamMcastRejoinCount :: (MonadIO m, IsSettingTeam o) => o -> Int32 -> m ()
- constructSettingTeamMcastRejoinInterval :: (IsSettingTeam o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getSettingTeamMcastRejoinInterval :: (MonadIO m, IsSettingTeam o) => o -> m Int32
- setSettingTeamMcastRejoinInterval :: (MonadIO m, IsSettingTeam o) => o -> Int32 -> m ()
- constructSettingTeamNotifyPeersCount :: (IsSettingTeam o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getSettingTeamNotifyPeersCount :: (MonadIO m, IsSettingTeam o) => o -> m Int32
- setSettingTeamNotifyPeersCount :: (MonadIO m, IsSettingTeam o) => o -> Int32 -> m ()
- constructSettingTeamNotifyPeersInterval :: (IsSettingTeam o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getSettingTeamNotifyPeersInterval :: (MonadIO m, IsSettingTeam o) => o -> m Int32
- setSettingTeamNotifyPeersInterval :: (MonadIO m, IsSettingTeam o) => o -> Int32 -> m ()
- clearSettingTeamRunner :: (MonadIO m, IsSettingTeam o) => o -> m ()
- constructSettingTeamRunner :: (IsSettingTeam o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingTeamRunner :: (MonadIO m, IsSettingTeam o) => o -> m Text
- setSettingTeamRunner :: (MonadIO m, IsSettingTeam o) => o -> Text -> m ()
- constructSettingTeamRunnerActive :: (IsSettingTeam o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingTeamRunnerActive :: (MonadIO m, IsSettingTeam o) => o -> m Bool
- setSettingTeamRunnerActive :: (MonadIO m, IsSettingTeam o) => o -> Bool -> m ()
- clearSettingTeamRunnerAggSelectPolicy :: (MonadIO m, IsSettingTeam o) => o -> m ()
- constructSettingTeamRunnerAggSelectPolicy :: (IsSettingTeam o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingTeamRunnerAggSelectPolicy :: (MonadIO m, IsSettingTeam o) => o -> m Text
- setSettingTeamRunnerAggSelectPolicy :: (MonadIO m, IsSettingTeam o) => o -> Text -> m ()
- constructSettingTeamRunnerFastRate :: (IsSettingTeam o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingTeamRunnerFastRate :: (MonadIO m, IsSettingTeam o) => o -> m Bool
- setSettingTeamRunnerFastRate :: (MonadIO m, IsSettingTeam o) => o -> Bool -> m ()
- clearSettingTeamRunnerHwaddrPolicy :: (MonadIO m, IsSettingTeam o) => o -> m ()
- constructSettingTeamRunnerHwaddrPolicy :: (IsSettingTeam o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingTeamRunnerHwaddrPolicy :: (MonadIO m, IsSettingTeam o) => o -> m Text
- setSettingTeamRunnerHwaddrPolicy :: (MonadIO m, IsSettingTeam o) => o -> Text -> m ()
- constructSettingTeamRunnerMinPorts :: (IsSettingTeam o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getSettingTeamRunnerMinPorts :: (MonadIO m, IsSettingTeam o) => o -> m Int32
- setSettingTeamRunnerMinPorts :: (MonadIO m, IsSettingTeam o) => o -> Int32 -> m ()
- constructSettingTeamRunnerSysPrio :: (IsSettingTeam o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getSettingTeamRunnerSysPrio :: (MonadIO m, IsSettingTeam o) => o -> m Int32
- setSettingTeamRunnerSysPrio :: (MonadIO m, IsSettingTeam o) => o -> Int32 -> m ()
- clearSettingTeamRunnerTxBalancer :: (MonadIO m, IsSettingTeam o) => o -> m ()
- constructSettingTeamRunnerTxBalancer :: (IsSettingTeam o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingTeamRunnerTxBalancer :: (MonadIO m, IsSettingTeam o) => o -> m Text
- setSettingTeamRunnerTxBalancer :: (MonadIO m, IsSettingTeam o) => o -> Text -> m ()
- constructSettingTeamRunnerTxBalancerInterval :: (IsSettingTeam o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getSettingTeamRunnerTxBalancerInterval :: (MonadIO m, IsSettingTeam o) => o -> m Int32
- setSettingTeamRunnerTxBalancerInterval :: (MonadIO m, IsSettingTeam o) => o -> Int32 -> m ()
- clearSettingTeamRunnerTxHash :: (MonadIO m, IsSettingTeam o) => o -> m ()
- constructSettingTeamRunnerTxHash :: (IsSettingTeam o, MonadIO m) => [Text] -> m (GValueConstruct o)
- getSettingTeamRunnerTxHash :: (MonadIO m, IsSettingTeam o) => o -> m (Maybe [Text])
- setSettingTeamRunnerTxHash :: (MonadIO m, IsSettingTeam o) => o -> [Text] -> m ()
Exported types
newtype SettingTeam Source #
Memory-managed wrapper type.
Instances
Eq SettingTeam Source # | |
Defined in GI.NM.Objects.SettingTeam (==) :: SettingTeam -> SettingTeam -> Bool # (/=) :: SettingTeam -> SettingTeam -> Bool # | |
GObject SettingTeam Source # | |
Defined in GI.NM.Objects.SettingTeam | |
ManagedPtrNewtype SettingTeam Source # | |
Defined in GI.NM.Objects.SettingTeam | |
TypedObject SettingTeam Source # | |
Defined in GI.NM.Objects.SettingTeam | |
HasParentTypes SettingTeam Source # | |
Defined in GI.NM.Objects.SettingTeam | |
IsGValue (Maybe SettingTeam) Source # | Convert |
Defined in GI.NM.Objects.SettingTeam gvalueGType_ :: IO GType # gvalueSet_ :: Ptr GValue -> Maybe SettingTeam -> IO () # gvalueGet_ :: Ptr GValue -> IO (Maybe SettingTeam) # | |
type ParentTypes SettingTeam Source # | |
Defined in GI.NM.Objects.SettingTeam |
class (GObject o, IsDescendantOf SettingTeam o) => IsSettingTeam o Source #
Type class for types which can be safely cast to SettingTeam
, for instance with toSettingTeam
.
Instances
(GObject o, IsDescendantOf SettingTeam o) => IsSettingTeam o Source # | |
Defined in GI.NM.Objects.SettingTeam |
toSettingTeam :: (MonadIO m, IsSettingTeam o) => o -> m SettingTeam Source #
Cast to SettingTeam
, for types for which this is known to be safe. For general casts, use castTo
.
Methods
Click to display all available methods, including inherited ones
Methods
addLinkWatcher, addRunnerTxHash, bindProperty, bindPropertyFull, clearLinkWatchers, compare, diff, duplicate, enumerateValues, forceFloating, freezeNotify, getv, isFloating, notify, notifyByPspec, optionClearByName, optionGet, optionGetAllNames, optionGetBoolean, optionGetUint32, optionSet, optionSetBoolean, optionSetUint32, ref, refSink, removeLinkWatcher, removeLinkWatcherByValue, removeRunnerTxHash, removeRunnerTxHashByValue, runDispose, stealData, stealQdata, thawNotify, toString, unref, verify, verifySecrets, watchClosure.
Getters
getConfig, getData, getDbusPropertyType, getLinkWatcher, getMcastRejoinCount, getMcastRejoinInterval, getName, getNotifyPeersCount, getNotifyPeersInterval, getNumLinkWatchers, getNumRunnerTxHash, getProperty, getQdata, getRunner, getRunnerActive, getRunnerAggSelectPolicy, getRunnerFastRate, getRunnerHwaddrPolicy, getRunnerMinPorts, getRunnerSysPrio, getRunnerTxBalancer, getRunnerTxBalancerInterval, getRunnerTxHash, getSecretFlags.
Setters
addLinkWatcher
settingTeamAddLinkWatcher Source #
:: (HasCallStack, MonadIO m, IsSettingTeam a) | |
=> a |
|
-> TeamLinkWatcher |
|
-> m Bool | Returns: |
Appends a new link watcher to the setting.
Since: 1.12
addRunnerTxHash
settingTeamAddRunnerTxHash Source #
:: (HasCallStack, MonadIO m, IsSettingTeam a) | |
=> a |
|
-> Text |
|
-> m Bool | Returns: |
Adds a new txhash element to the setting.
Since: 1.12
clearLinkWatchers
settingTeamClearLinkWatchers Source #
:: (HasCallStack, MonadIO m, IsSettingTeam a) | |
=> a |
|
-> m () |
Removes all configured link watchers.
Since: 1.12
getConfig
:: (HasCallStack, MonadIO m, IsSettingTeam a) | |
=> a |
|
-> m Text | Returns: the SettingTeam:config property of the setting |
No description available in the introspection data.
getLinkWatcher
settingTeamGetLinkWatcher Source #
:: (HasCallStack, MonadIO m, IsSettingTeam a) | |
=> a |
|
-> Word32 |
|
-> m TeamLinkWatcher | Returns: the link watcher at index |
No description available in the introspection data.
Since: 1.12
getMcastRejoinCount
settingTeamGetMcastRejoinCount Source #
:: (HasCallStack, MonadIO m, IsSettingTeam a) | |
=> a |
|
-> m Int32 | Returns: the g:attr:mcastRejoinCount") property of the setting |
No description available in the introspection data.
Since: 1.12
getMcastRejoinInterval
settingTeamGetMcastRejoinInterval Source #
:: (HasCallStack, MonadIO m, IsSettingTeam a) | |
=> a |
|
-> m Int32 | Returns: the g:attr:mcastRejoinInterval") property of the setting |
No description available in the introspection data.
Since: 1.12
getNotifyPeersCount
settingTeamGetNotifyPeersCount Source #
:: (HasCallStack, MonadIO m, IsSettingTeam a) | |
=> a |
|
-> m Int32 | Returns: the g:attr:notifyPeersCount") property of the setting |
No description available in the introspection data.
Since: 1.12
getNotifyPeersInterval
settingTeamGetNotifyPeersInterval Source #
:: (HasCallStack, MonadIO m, IsSettingTeam a) | |
=> a |
|
-> m Int32 | Returns: the g:attr:notifyPeersInterval") property of the setting |
No description available in the introspection data.
Since: 1.12
getNumLinkWatchers
settingTeamGetNumLinkWatchers Source #
:: (HasCallStack, MonadIO m, IsSettingTeam a) | |
=> a |
|
-> m Word32 | Returns: the number of configured link watchers |
No description available in the introspection data.
Since: 1.12
getNumRunnerTxHash
settingTeamGetNumRunnerTxHash Source #
:: (HasCallStack, MonadIO m, IsSettingTeam a) | |
=> a |
|
-> m Word32 | Returns: the number of elements in txhash |
No description available in the introspection data.
Since: 1.12
getRunner
:: (HasCallStack, MonadIO m, IsSettingTeam a) | |
=> a |
|
-> m Text |
No description available in the introspection data.
Since: 1.12
getRunnerActive
settingTeamGetRunnerActive Source #
:: (HasCallStack, MonadIO m, IsSettingTeam a) | |
=> a |
|
-> m Bool | Returns: the # |
No description available in the introspection data.
Since: 1.12
getRunnerAggSelectPolicy
settingTeamGetRunnerAggSelectPolicy Source #
:: (HasCallStack, MonadIO m, IsSettingTeam a) | |
=> a |
|
-> m Text | Returns: the g:attr:runnerAggSelectPolicy") property of the setting |
No description available in the introspection data.
Since: 1.12
getRunnerFastRate
settingTeamGetRunnerFastRate Source #
:: (HasCallStack, MonadIO m, IsSettingTeam a) | |
=> a |
|
-> m Bool | Returns: the g:attr:runnerFastRate") property of the setting |
No description available in the introspection data.
Since: 1.12
getRunnerHwaddrPolicy
settingTeamGetRunnerHwaddrPolicy Source #
:: (HasCallStack, MonadIO m, IsSettingTeam a) | |
=> a |
|
-> m Text | Returns: the g:attr:runnerHwaddrPolicy") property of the setting |
No description available in the introspection data.
Since: 1.12
getRunnerMinPorts
settingTeamGetRunnerMinPorts Source #
:: (HasCallStack, MonadIO m, IsSettingTeam a) | |
=> a |
|
-> m Int32 | Returns: the g:attr:runnerMinPorts") property of the setting |
No description available in the introspection data.
Since: 1.12
getRunnerSysPrio
settingTeamGetRunnerSysPrio Source #
:: (HasCallStack, MonadIO m, IsSettingTeam a) | |
=> a |
|
-> m Int32 |
No description available in the introspection data.
Since: 1.12
getRunnerTxBalancer
settingTeamGetRunnerTxBalancer Source #
:: (HasCallStack, MonadIO m, IsSettingTeam a) | |
=> a |
|
-> m Text | Returns: the g:attr:runnerTxBalancer") property of the setting |
No description available in the introspection data.
Since: 1.12
getRunnerTxBalancerInterval
settingTeamGetRunnerTxBalancerInterval Source #
:: (HasCallStack, MonadIO m, IsSettingTeam a) | |
=> a |
|
-> m Int32 | Returns: the # |
No description available in the introspection data.
Since: 1.12
getRunnerTxHash
settingTeamGetRunnerTxHash Source #
:: (HasCallStack, MonadIO m, IsSettingTeam a) | |
=> a |
|
-> Word32 |
|
-> m Text | Returns: the txhash element at index |
No description available in the introspection data.
Since: 1.12
new
:: (HasCallStack, MonadIO m) | |
=> m SettingTeam | Returns: the new empty |
Creates a new SettingTeam
object with default values.
removeLinkWatcher
settingTeamRemoveLinkWatcher Source #
:: (HasCallStack, MonadIO m, IsSettingTeam a) | |
=> a |
|
-> Word32 |
|
-> m () |
Removes the link watcher at index idx
.
Since: 1.12
removeLinkWatcherByValue
settingTeamRemoveLinkWatcherByValue Source #
:: (HasCallStack, MonadIO m, IsSettingTeam a) | |
=> a |
|
-> TeamLinkWatcher |
|
-> m Bool | Returns: |
Removes the link watcher entry matching link_watcher.
Since: 1.12
removeRunnerTxHash
settingTeamRemoveRunnerTxHash Source #
:: (HasCallStack, MonadIO m, IsSettingTeam a) | |
=> a |
|
-> Word32 |
|
-> m () |
Removes the txhash element at index idx
.
Since: 1.12
removeRunnerTxHashByValue
settingTeamRemoveRunnerTxHashByValue Source #
:: (HasCallStack, MonadIO m, IsSettingTeam a) | |
=> a |
|
-> Text |
|
-> m Bool | Returns: |
Removes the txhash element txhash
Since: 1.12
Properties
config
The JSON configuration for the team network interface. The property should contain raw JSON configuration data suitable for teamd, because the value is passed directly to teamd. If not specified, the default configuration is used. See man teamd.conf for the format details.
clearSettingTeamConfig :: (MonadIO m, IsSettingTeam o) => o -> m () Source #
Set the value of the “config
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#config
constructSettingTeamConfig :: (IsSettingTeam o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “config
” property. This is rarely needed directly, but it is used by new
.
getSettingTeamConfig :: (MonadIO m, IsSettingTeam o) => o -> m Text Source #
Get the value of the “config
” property.
When overloading is enabled, this is equivalent to
get
settingTeam #config
setSettingTeamConfig :: (MonadIO m, IsSettingTeam o) => o -> Text -> m () Source #
Set the value of the “config
” property.
When overloading is enabled, this is equivalent to
set
settingTeam [ #config:=
value ]
linkWatchers
mcastRejoinCount
Corresponds to the teamd mcast_rejoin.count.
Since: 1.12
constructSettingTeamMcastRejoinCount :: (IsSettingTeam o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “mcast-rejoin-count
” property. This is rarely needed directly, but it is used by new
.
getSettingTeamMcastRejoinCount :: (MonadIO m, IsSettingTeam o) => o -> m Int32 Source #
Get the value of the “mcast-rejoin-count
” property.
When overloading is enabled, this is equivalent to
get
settingTeam #mcastRejoinCount
setSettingTeamMcastRejoinCount :: (MonadIO m, IsSettingTeam o) => o -> Int32 -> m () Source #
Set the value of the “mcast-rejoin-count
” property.
When overloading is enabled, this is equivalent to
set
settingTeam [ #mcastRejoinCount:=
value ]
mcastRejoinInterval
Corresponds to the teamd mcast_rejoin.interval.
Since: 1.12
constructSettingTeamMcastRejoinInterval :: (IsSettingTeam o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “mcast-rejoin-interval
” property. This is rarely needed directly, but it is used by new
.
getSettingTeamMcastRejoinInterval :: (MonadIO m, IsSettingTeam o) => o -> m Int32 Source #
Get the value of the “mcast-rejoin-interval
” property.
When overloading is enabled, this is equivalent to
get
settingTeam #mcastRejoinInterval
setSettingTeamMcastRejoinInterval :: (MonadIO m, IsSettingTeam o) => o -> Int32 -> m () Source #
Set the value of the “mcast-rejoin-interval
” property.
When overloading is enabled, this is equivalent to
set
settingTeam [ #mcastRejoinInterval:=
value ]
notifyPeersCount
Corresponds to the teamd notify_peers.count.
Since: 1.12
constructSettingTeamNotifyPeersCount :: (IsSettingTeam o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “notify-peers-count
” property. This is rarely needed directly, but it is used by new
.
getSettingTeamNotifyPeersCount :: (MonadIO m, IsSettingTeam o) => o -> m Int32 Source #
Get the value of the “notify-peers-count
” property.
When overloading is enabled, this is equivalent to
get
settingTeam #notifyPeersCount
setSettingTeamNotifyPeersCount :: (MonadIO m, IsSettingTeam o) => o -> Int32 -> m () Source #
Set the value of the “notify-peers-count
” property.
When overloading is enabled, this is equivalent to
set
settingTeam [ #notifyPeersCount:=
value ]
notifyPeersInterval
Corresponds to the teamd notify_peers.interval.
Since: 1.12
constructSettingTeamNotifyPeersInterval :: (IsSettingTeam o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “notify-peers-interval
” property. This is rarely needed directly, but it is used by new
.
getSettingTeamNotifyPeersInterval :: (MonadIO m, IsSettingTeam o) => o -> m Int32 Source #
Get the value of the “notify-peers-interval
” property.
When overloading is enabled, this is equivalent to
get
settingTeam #notifyPeersInterval
setSettingTeamNotifyPeersInterval :: (MonadIO m, IsSettingTeam o) => o -> Int32 -> m () Source #
Set the value of the “notify-peers-interval
” property.
When overloading is enabled, this is equivalent to
set
settingTeam [ #notifyPeersInterval:=
value ]
runner
Corresponds to the teamd runner.name. Permitted values are: "roundrobin", "broadcast", "activebackup", "loadbalance", "lacp", "random".
Since: 1.12
clearSettingTeamRunner :: (MonadIO m, IsSettingTeam o) => o -> m () Source #
Set the value of the “runner
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#runner
constructSettingTeamRunner :: (IsSettingTeam o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “runner
” property. This is rarely needed directly, but it is used by new
.
getSettingTeamRunner :: (MonadIO m, IsSettingTeam o) => o -> m Text Source #
Get the value of the “runner
” property.
When overloading is enabled, this is equivalent to
get
settingTeam #runner
setSettingTeamRunner :: (MonadIO m, IsSettingTeam o) => o -> Text -> m () Source #
Set the value of the “runner
” property.
When overloading is enabled, this is equivalent to
set
settingTeam [ #runner:=
value ]
runnerActive
Corresponds to the teamd runner.active.
Since: 1.12
constructSettingTeamRunnerActive :: (IsSettingTeam o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “runner-active
” property. This is rarely needed directly, but it is used by new
.
getSettingTeamRunnerActive :: (MonadIO m, IsSettingTeam o) => o -> m Bool Source #
Get the value of the “runner-active
” property.
When overloading is enabled, this is equivalent to
get
settingTeam #runnerActive
setSettingTeamRunnerActive :: (MonadIO m, IsSettingTeam o) => o -> Bool -> m () Source #
Set the value of the “runner-active
” property.
When overloading is enabled, this is equivalent to
set
settingTeam [ #runnerActive:=
value ]
runnerAggSelectPolicy
Corresponds to the teamd runner.agg_select_policy.
Since: 1.12
clearSettingTeamRunnerAggSelectPolicy :: (MonadIO m, IsSettingTeam o) => o -> m () Source #
Set the value of the “runner-agg-select-policy
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#runnerAggSelectPolicy
constructSettingTeamRunnerAggSelectPolicy :: (IsSettingTeam o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “runner-agg-select-policy
” property. This is rarely needed directly, but it is used by new
.
getSettingTeamRunnerAggSelectPolicy :: (MonadIO m, IsSettingTeam o) => o -> m Text Source #
Get the value of the “runner-agg-select-policy
” property.
When overloading is enabled, this is equivalent to
get
settingTeam #runnerAggSelectPolicy
setSettingTeamRunnerAggSelectPolicy :: (MonadIO m, IsSettingTeam o) => o -> Text -> m () Source #
Set the value of the “runner-agg-select-policy
” property.
When overloading is enabled, this is equivalent to
set
settingTeam [ #runnerAggSelectPolicy:=
value ]
runnerFastRate
Corresponds to the teamd runner.fast_rate.
Since: 1.12
constructSettingTeamRunnerFastRate :: (IsSettingTeam o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “runner-fast-rate
” property. This is rarely needed directly, but it is used by new
.
getSettingTeamRunnerFastRate :: (MonadIO m, IsSettingTeam o) => o -> m Bool Source #
Get the value of the “runner-fast-rate
” property.
When overloading is enabled, this is equivalent to
get
settingTeam #runnerFastRate
setSettingTeamRunnerFastRate :: (MonadIO m, IsSettingTeam o) => o -> Bool -> m () Source #
Set the value of the “runner-fast-rate
” property.
When overloading is enabled, this is equivalent to
set
settingTeam [ #runnerFastRate:=
value ]
runnerHwaddrPolicy
Corresponds to the teamd runner.hwaddr_policy.
Since: 1.12
clearSettingTeamRunnerHwaddrPolicy :: (MonadIO m, IsSettingTeam o) => o -> m () Source #
Set the value of the “runner-hwaddr-policy
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#runnerHwaddrPolicy
constructSettingTeamRunnerHwaddrPolicy :: (IsSettingTeam o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “runner-hwaddr-policy
” property. This is rarely needed directly, but it is used by new
.
getSettingTeamRunnerHwaddrPolicy :: (MonadIO m, IsSettingTeam o) => o -> m Text Source #
Get the value of the “runner-hwaddr-policy
” property.
When overloading is enabled, this is equivalent to
get
settingTeam #runnerHwaddrPolicy
setSettingTeamRunnerHwaddrPolicy :: (MonadIO m, IsSettingTeam o) => o -> Text -> m () Source #
Set the value of the “runner-hwaddr-policy
” property.
When overloading is enabled, this is equivalent to
set
settingTeam [ #runnerHwaddrPolicy:=
value ]
runnerMinPorts
Corresponds to the teamd runner.min_ports.
Since: 1.12
constructSettingTeamRunnerMinPorts :: (IsSettingTeam o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “runner-min-ports
” property. This is rarely needed directly, but it is used by new
.
getSettingTeamRunnerMinPorts :: (MonadIO m, IsSettingTeam o) => o -> m Int32 Source #
Get the value of the “runner-min-ports
” property.
When overloading is enabled, this is equivalent to
get
settingTeam #runnerMinPorts
setSettingTeamRunnerMinPorts :: (MonadIO m, IsSettingTeam o) => o -> Int32 -> m () Source #
Set the value of the “runner-min-ports
” property.
When overloading is enabled, this is equivalent to
set
settingTeam [ #runnerMinPorts:=
value ]
runnerSysPrio
Corresponds to the teamd runner.sys_prio.
Since: 1.12
constructSettingTeamRunnerSysPrio :: (IsSettingTeam o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “runner-sys-prio
” property. This is rarely needed directly, but it is used by new
.
getSettingTeamRunnerSysPrio :: (MonadIO m, IsSettingTeam o) => o -> m Int32 Source #
Get the value of the “runner-sys-prio
” property.
When overloading is enabled, this is equivalent to
get
settingTeam #runnerSysPrio
setSettingTeamRunnerSysPrio :: (MonadIO m, IsSettingTeam o) => o -> Int32 -> m () Source #
Set the value of the “runner-sys-prio
” property.
When overloading is enabled, this is equivalent to
set
settingTeam [ #runnerSysPrio:=
value ]
runnerTxBalancer
Corresponds to the teamd runner.tx_balancer.name.
Since: 1.12
clearSettingTeamRunnerTxBalancer :: (MonadIO m, IsSettingTeam o) => o -> m () Source #
Set the value of the “runner-tx-balancer
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#runnerTxBalancer
constructSettingTeamRunnerTxBalancer :: (IsSettingTeam o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “runner-tx-balancer
” property. This is rarely needed directly, but it is used by new
.
getSettingTeamRunnerTxBalancer :: (MonadIO m, IsSettingTeam o) => o -> m Text Source #
Get the value of the “runner-tx-balancer
” property.
When overloading is enabled, this is equivalent to
get
settingTeam #runnerTxBalancer
setSettingTeamRunnerTxBalancer :: (MonadIO m, IsSettingTeam o) => o -> Text -> m () Source #
Set the value of the “runner-tx-balancer
” property.
When overloading is enabled, this is equivalent to
set
settingTeam [ #runnerTxBalancer:=
value ]
runnerTxBalancerInterval
Corresponds to the teamd runner.tx_balancer.interval.
Since: 1.12
constructSettingTeamRunnerTxBalancerInterval :: (IsSettingTeam o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “runner-tx-balancer-interval
” property. This is rarely needed directly, but it is used by new
.
getSettingTeamRunnerTxBalancerInterval :: (MonadIO m, IsSettingTeam o) => o -> m Int32 Source #
Get the value of the “runner-tx-balancer-interval
” property.
When overloading is enabled, this is equivalent to
get
settingTeam #runnerTxBalancerInterval
setSettingTeamRunnerTxBalancerInterval :: (MonadIO m, IsSettingTeam o) => o -> Int32 -> m () Source #
Set the value of the “runner-tx-balancer-interval
” property.
When overloading is enabled, this is equivalent to
set
settingTeam [ #runnerTxBalancerInterval:=
value ]
runnerTxHash
Corresponds to the teamd runner.tx_hash.
Since: 1.12
clearSettingTeamRunnerTxHash :: (MonadIO m, IsSettingTeam o) => o -> m () Source #
Set the value of the “runner-tx-hash
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#runnerTxHash
constructSettingTeamRunnerTxHash :: (IsSettingTeam o, MonadIO m) => [Text] -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “runner-tx-hash
” property. This is rarely needed directly, but it is used by new
.
getSettingTeamRunnerTxHash :: (MonadIO m, IsSettingTeam o) => o -> m (Maybe [Text]) Source #
Get the value of the “runner-tx-hash
” property.
When overloading is enabled, this is equivalent to
get
settingTeam #runnerTxHash
setSettingTeamRunnerTxHash :: (MonadIO m, IsSettingTeam o) => o -> [Text] -> m () Source #
Set the value of the “runner-tx-hash
” property.
When overloading is enabled, this is equivalent to
set
settingTeam [ #runnerTxHash:=
value ]