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.SettingBridge

Description

Bridging Settings

Synopsis

Exported types

class (GObject o, IsDescendantOf SettingBridge o) => IsSettingBridge o Source #

Type class for types which can be safely cast to SettingBridge, for instance with toSettingBridge.

Instances

Instances details
(GObject o, IsDescendantOf SettingBridge o) => IsSettingBridge o Source # 
Instance details

Defined in GI.NM.Objects.SettingBridge

toSettingBridge :: (MonadIO m, IsSettingBridge o) => o -> m SettingBridge Source #

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

Methods

addVlan

settingBridgeAddVlan Source #

Arguments

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

setting: the SettingBridge

-> BridgeVlan

vlan: the vlan to add

-> m () 

Appends a new vlan and associated information to the setting. The given vlan gets sealed and a reference to it is added.

Since: 1.18

clearVlans

settingBridgeClearVlans Source #

Arguments

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

setting: the SettingBridge

-> m () 

Removes all configured VLANs.

Since: 1.18

getAgeingTime

settingBridgeGetAgeingTime Source #

Arguments

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

setting: the SettingBridge

-> m Word32

Returns: the SettingBridge:ageingTime property of the setting

No description available in the introspection data.

getForwardDelay

settingBridgeGetForwardDelay Source #

Arguments

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

setting: the SettingBridge

-> m Word16

Returns: the SettingBridge:forwardDelay property of the setting

No description available in the introspection data.

getGroupAddress

settingBridgeGetGroupAddress Source #

Arguments

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

setting: the SettingBridge

-> m Text

Returns: the SettingBridge:groupAddress property of the setting

No description available in the introspection data.

Since: 1.24

getGroupForwardMask

settingBridgeGetGroupForwardMask Source #

Arguments

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

setting: the SettingBridge

-> m Word16

Returns: the SettingBridge:groupForwardMask property of the setting

No description available in the introspection data.

Since: 1.10

getHelloTime

settingBridgeGetHelloTime Source #

Arguments

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

setting: the SettingBridge

-> m Word16

Returns: the SettingBridge:helloTime property of the setting

No description available in the introspection data.

getMacAddress

settingBridgeGetMacAddress Source #

Arguments

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

setting: the SettingBridge

-> m Text

Returns: the SettingBridge:macAddress property of the setting

No description available in the introspection data.

getMaxAge

settingBridgeGetMaxAge Source #

Arguments

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

setting: the SettingBridge

-> m Word16

Returns: the SettingBridge:maxAge property of the setting

No description available in the introspection data.

getMulticastHashMax

settingBridgeGetMulticastHashMax Source #

Arguments

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

setting: the SettingBridge

-> m Word32

Returns: the SettingBridge:multicastHashMax property of the setting

No description available in the introspection data.

Since: 1.26

getMulticastLastMemberCount

settingBridgeGetMulticastLastMemberCount Source #

Arguments

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

setting: the SettingBridge

-> m Word32

Returns: the SettingBridge:multicastLastMemberCount property of the setting

No description available in the introspection data.

Since: 1.26

getMulticastLastMemberInterval

settingBridgeGetMulticastLastMemberInterval Source #

Arguments

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

setting: the SettingBridge

-> m Word64

Returns: the SettingBridge:multicastLastMemberInterval property of the setting

No description available in the introspection data.

Since: 1.26

getMulticastMembershipInterval

settingBridgeGetMulticastMembershipInterval Source #

Arguments

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

setting: the SettingBridge

-> m Word64

Returns: the SettingBridge:multicastMembershipInterval property of the setting

No description available in the introspection data.

Since: 1.26

getMulticastQuerier

settingBridgeGetMulticastQuerier Source #

Arguments

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

setting: the SettingBridge

-> m Bool

Returns: the SettingBridge:multicastQuerier property of the setting

No description available in the introspection data.

Since: 1.24

getMulticastQuerierInterval

settingBridgeGetMulticastQuerierInterval Source #

Arguments

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

setting: the SettingBridge

-> m Word64

Returns: the SettingBridge:multicastQuerierInterval property of the setting

No description available in the introspection data.

Since: 1.26

getMulticastQueryInterval

settingBridgeGetMulticastQueryInterval Source #

Arguments

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

setting: the SettingBridge

-> m Word64

Returns: the SettingBridge:multicastQueryInterval property of the setting

No description available in the introspection data.

Since: 1.26

getMulticastQueryResponseInterval

settingBridgeGetMulticastQueryResponseInterval Source #

Arguments

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

setting: the SettingBridge

-> m Word64

Returns: the SettingBridge:multicastQueryResponseInterval property of the setting

No description available in the introspection data.

Since: 1.26

getMulticastQueryUseIfaddr

settingBridgeGetMulticastQueryUseIfaddr Source #

Arguments

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

setting: the SettingBridge

-> m Bool

Returns: the SettingBridge:multicastQueryUseIfaddr property of the setting

No description available in the introspection data.

Since: 1.24

getMulticastRouter

settingBridgeGetMulticastRouter Source #

Arguments

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

setting: the SettingBridge

-> m Text

Returns: the SettingBridge:multicastRouter property of the setting

No description available in the introspection data.

Since: 1.24

getMulticastSnooping

settingBridgeGetMulticastSnooping Source #

Arguments

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

setting: the SettingBridge

-> m Bool

Returns: the SettingBridge:multicastSnooping property of the setting

No description available in the introspection data.

Since: 1.2

getMulticastStartupQueryCount

settingBridgeGetMulticastStartupQueryCount Source #

Arguments

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

setting: the SettingBridge

-> m Word32

Returns: the SettingBridge:multicastQueryResponseInterval property of the setting

No description available in the introspection data.

Since: 1.26

getMulticastStartupQueryInterval

settingBridgeGetMulticastStartupQueryInterval Source #

Arguments

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

setting: the SettingBridge

-> m Word64

Returns: the SettingBridge:multicastStartupQueryInterval property of the setting

No description available in the introspection data.

Since: 1.26

getNumVlans

settingBridgeGetNumVlans Source #

Arguments

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

setting: the SettingBridge

-> m Word32

Returns: the number of VLANs

No description available in the introspection data.

Since: 1.18

getPriority

settingBridgeGetPriority Source #

Arguments

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

setting: the SettingBridge

-> m Word16

Returns: the SettingBridge:priority property of the setting

No description available in the introspection data.

getStp

settingBridgeGetStp Source #

Arguments

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

setting: the SettingBridge

-> m Bool

Returns: the SettingBridge:stp property of the setting

No description available in the introspection data.

getVlan

settingBridgeGetVlan Source #

Arguments

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

setting: the SettingBridge

-> Word32

idx: index number of the VLAN to return

-> m BridgeVlan

Returns: the VLAN at index idx

No description available in the introspection data.

Since: 1.18

getVlanDefaultPvid

settingBridgeGetVlanDefaultPvid Source #

Arguments

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

setting: the SettingBridge

-> m Word16

Returns: the SettingBridge:vlanDefaultPvid property of the setting

No description available in the introspection data.

Since: 1.18

getVlanFiltering

settingBridgeGetVlanFiltering Source #

Arguments

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

setting: the SettingBridge

-> m Bool

Returns: the SettingBridge:vlanFiltering property of the setting

No description available in the introspection data.

Since: 1.18

getVlanProtocol

settingBridgeGetVlanProtocol Source #

Arguments

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

setting: the SettingBridge

-> m Text

Returns: the SettingBridge:vlanProtocol property of the setting

No description available in the introspection data.

Since: 1.24

getVlanStatsEnabled

settingBridgeGetVlanStatsEnabled Source #

Arguments

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

setting: the SettingBridge

-> m Bool

Returns: the SettingBridge:vlanStatsEnabled property of the setting

No description available in the introspection data.

Since: 1.24

new

settingBridgeNew Source #

Arguments

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

Returns: the new empty SettingBridge object

Creates a new SettingBridge object with default values.

removeVlan

settingBridgeRemoveVlan Source #

Arguments

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

setting: the SettingBridge

-> Word32

idx: index number of the VLAN.

-> m () 

Removes the vlan at index idx.

Since: 1.18

removeVlanByVid

settingBridgeRemoveVlanByVid Source #

Arguments

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

setting: the SettingBridge

-> Word16

vidStart: the vlan start index

-> Word16

vidEnd: the vlan end index

-> m Bool

Returns: True if the vlan was found and removed; False otherwise

Remove the VLAN with range vidStart to vidEnd. If vidEnd is zero, it is assumed to be equal to vidStart and so the single-id VLAN with id vidStart is removed.

Since: 1.18

Properties

ageingTime

The Ethernet MAC address aging time, in seconds.

constructSettingBridgeAgeingTime :: (IsSettingBridge o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #

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

getSettingBridgeAgeingTime :: (MonadIO m, IsSettingBridge o) => o -> m Word32 Source #

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

get settingBridge #ageingTime

setSettingBridgeAgeingTime :: (MonadIO m, IsSettingBridge o) => o -> Word32 -> m () Source #

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

set settingBridge [ #ageingTime := value ]

forwardDelay

The Spanning Tree Protocol (STP) forwarding delay, in seconds.

constructSettingBridgeForwardDelay :: (IsSettingBridge o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #

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

getSettingBridgeForwardDelay :: (MonadIO m, IsSettingBridge o) => o -> m Word32 Source #

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

get settingBridge #forwardDelay

setSettingBridgeForwardDelay :: (MonadIO m, IsSettingBridge o) => o -> Word32 -> m () Source #

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

set settingBridge [ #forwardDelay := value ]

groupAddress

If specified, The MAC address of the multicast group this bridge uses for STP.

The address must be a link-local address in standard Ethernet MAC address format, ie an address of the form 01:80:C2:00:00:0X, with X in [0, 4..F]. If not specified the default value is 01:80:C2:00:00:00.

Since: 1.24

clearSettingBridgeGroupAddress :: (MonadIO m, IsSettingBridge o) => o -> m () Source #

Set the value of the “group-address” property to Nothing. When overloading is enabled, this is equivalent to

clear #groupAddress

constructSettingBridgeGroupAddress :: (IsSettingBridge o, MonadIO m) => Text -> m (GValueConstruct o) Source #

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

getSettingBridgeGroupAddress :: (MonadIO m, IsSettingBridge o) => o -> m Text Source #

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

get settingBridge #groupAddress

setSettingBridgeGroupAddress :: (MonadIO m, IsSettingBridge o) => o -> Text -> m () Source #

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

set settingBridge [ #groupAddress := value ]

groupForwardMask

A mask of group addresses to forward. Usually, group addresses in the range from 01:80:C2:00:00:00 to 01:80:C2:00:00:0F are not forwarded according to standards. This property is a mask of 16 bits, each corresponding to a group address in that range that must be forwarded. The mask can't have bits 0, 1 or 2 set because they are used for STP, MAC pause frames and LACP.

Since: 1.10

constructSettingBridgeGroupForwardMask :: (IsSettingBridge o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #

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

getSettingBridgeGroupForwardMask :: (MonadIO m, IsSettingBridge o) => o -> m Word32 Source #

Get the value of the “group-forward-mask” property. When overloading is enabled, this is equivalent to

get settingBridge #groupForwardMask

setSettingBridgeGroupForwardMask :: (MonadIO m, IsSettingBridge o) => o -> Word32 -> m () Source #

Set the value of the “group-forward-mask” property. When overloading is enabled, this is equivalent to

set settingBridge [ #groupForwardMask := value ]

helloTime

The Spanning Tree Protocol (STP) hello time, in seconds.

constructSettingBridgeHelloTime :: (IsSettingBridge o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #

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

getSettingBridgeHelloTime :: (MonadIO m, IsSettingBridge o) => o -> m Word32 Source #

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

get settingBridge #helloTime

setSettingBridgeHelloTime :: (MonadIO m, IsSettingBridge o) => o -> Word32 -> m () Source #

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

set settingBridge [ #helloTime := value ]

macAddress

If specified, the MAC address of bridge. When creating a new bridge, this MAC address will be set.

If this field is left unspecified, the "ethernet.cloned-mac-address" is referred instead to generate the initial MAC address. Note that setting "ethernet.cloned-mac-address" anyway overwrites the MAC address of the bridge later while activating the bridge.

clearSettingBridgeMacAddress :: (MonadIO m, IsSettingBridge o) => o -> m () Source #

Set the value of the “mac-address” property to Nothing. When overloading is enabled, this is equivalent to

clear #macAddress

constructSettingBridgeMacAddress :: (IsSettingBridge o, MonadIO m) => Text -> m (GValueConstruct o) Source #

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

getSettingBridgeMacAddress :: (MonadIO m, IsSettingBridge o) => o -> m Text Source #

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

get settingBridge #macAddress

setSettingBridgeMacAddress :: (MonadIO m, IsSettingBridge o) => o -> Text -> m () Source #

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

set settingBridge [ #macAddress := value ]

maxAge

The Spanning Tree Protocol (STP) maximum message age, in seconds.

constructSettingBridgeMaxAge :: (IsSettingBridge o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #

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

getSettingBridgeMaxAge :: (MonadIO m, IsSettingBridge o) => o -> m Word32 Source #

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

get settingBridge #maxAge

setSettingBridgeMaxAge :: (MonadIO m, IsSettingBridge o) => o -> Word32 -> m () Source #

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

set settingBridge [ #maxAge := value ]

multicastHashMax

Set maximum size of multicast hash table (value must be a power of 2).

constructSettingBridgeMulticastHashMax :: (IsSettingBridge o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #

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

getSettingBridgeMulticastHashMax :: (MonadIO m, IsSettingBridge o) => o -> m Word32 Source #

Get the value of the “multicast-hash-max” property. When overloading is enabled, this is equivalent to

get settingBridge #multicastHashMax

setSettingBridgeMulticastHashMax :: (MonadIO m, IsSettingBridge o) => o -> Word32 -> m () Source #

Set the value of the “multicast-hash-max” property. When overloading is enabled, this is equivalent to

set settingBridge [ #multicastHashMax := value ]

multicastLastMemberCount

Set the number of queries the bridge will send before stopping forwarding a multicast group after a "leave" message has been received.

constructSettingBridgeMulticastLastMemberCount :: (IsSettingBridge o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #

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

getSettingBridgeMulticastLastMemberCount :: (MonadIO m, IsSettingBridge o) => o -> m Word32 Source #

Get the value of the “multicast-last-member-count” property. When overloading is enabled, this is equivalent to

get settingBridge #multicastLastMemberCount

setSettingBridgeMulticastLastMemberCount :: (MonadIO m, IsSettingBridge o) => o -> Word32 -> m () Source #

Set the value of the “multicast-last-member-count” property. When overloading is enabled, this is equivalent to

set settingBridge [ #multicastLastMemberCount := value ]

multicastLastMemberInterval

Set interval (in deciseconds) between queries to find remaining members of a group, after a "leave" message is received.

constructSettingBridgeMulticastLastMemberInterval :: (IsSettingBridge o, MonadIO m) => Word64 -> m (GValueConstruct o) Source #

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

getSettingBridgeMulticastLastMemberInterval :: (MonadIO m, IsSettingBridge o) => o -> m Word64 Source #

Get the value of the “multicast-last-member-interval” property. When overloading is enabled, this is equivalent to

get settingBridge #multicastLastMemberInterval

setSettingBridgeMulticastLastMemberInterval :: (MonadIO m, IsSettingBridge o) => o -> Word64 -> m () Source #

Set the value of the “multicast-last-member-interval” property. When overloading is enabled, this is equivalent to

set settingBridge [ #multicastLastMemberInterval := value ]

multicastMembershipInterval

Set delay (in deciseconds) after which the bridge will leave a group, if no membership reports for this group are received.

constructSettingBridgeMulticastMembershipInterval :: (IsSettingBridge o, MonadIO m) => Word64 -> m (GValueConstruct o) Source #

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

getSettingBridgeMulticastMembershipInterval :: (MonadIO m, IsSettingBridge o) => o -> m Word64 Source #

Get the value of the “multicast-membership-interval” property. When overloading is enabled, this is equivalent to

get settingBridge #multicastMembershipInterval

setSettingBridgeMulticastMembershipInterval :: (MonadIO m, IsSettingBridge o) => o -> Word64 -> m () Source #

Set the value of the “multicast-membership-interval” property. When overloading is enabled, this is equivalent to

set settingBridge [ #multicastMembershipInterval := value ]

multicastQuerier

Enable or disable sending of multicast queries by the bridge. If not specified the option is disabled.

constructSettingBridgeMulticastQuerier :: (IsSettingBridge o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

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

getSettingBridgeMulticastQuerier :: (MonadIO m, IsSettingBridge o) => o -> m Bool Source #

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

get settingBridge #multicastQuerier

setSettingBridgeMulticastQuerier :: (MonadIO m, IsSettingBridge o) => o -> Bool -> m () Source #

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

set settingBridge [ #multicastQuerier := value ]

multicastQuerierInterval

If no queries are seen after this delay (in deciseconds) has passed, the bridge will start to send its own queries.

constructSettingBridgeMulticastQuerierInterval :: (IsSettingBridge o, MonadIO m) => Word64 -> m (GValueConstruct o) Source #

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

getSettingBridgeMulticastQuerierInterval :: (MonadIO m, IsSettingBridge o) => o -> m Word64 Source #

Get the value of the “multicast-querier-interval” property. When overloading is enabled, this is equivalent to

get settingBridge #multicastQuerierInterval

setSettingBridgeMulticastQuerierInterval :: (MonadIO m, IsSettingBridge o) => o -> Word64 -> m () Source #

Set the value of the “multicast-querier-interval” property. When overloading is enabled, this is equivalent to

set settingBridge [ #multicastQuerierInterval := value ]

multicastQueryInterval

Interval (in deciseconds) between queries sent by the bridge after the end of the startup phase.

constructSettingBridgeMulticastQueryInterval :: (IsSettingBridge o, MonadIO m) => Word64 -> m (GValueConstruct o) Source #

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

getSettingBridgeMulticastQueryInterval :: (MonadIO m, IsSettingBridge o) => o -> m Word64 Source #

Get the value of the “multicast-query-interval” property. When overloading is enabled, this is equivalent to

get settingBridge #multicastQueryInterval

setSettingBridgeMulticastQueryInterval :: (MonadIO m, IsSettingBridge o) => o -> Word64 -> m () Source #

Set the value of the “multicast-query-interval” property. When overloading is enabled, this is equivalent to

set settingBridge [ #multicastQueryInterval := value ]

multicastQueryResponseInterval

Set the Max Response Time/Max Response Delay (in deciseconds) for IGMP/MLD queries sent by the bridge.

constructSettingBridgeMulticastQueryResponseInterval :: (IsSettingBridge o, MonadIO m) => Word64 -> m (GValueConstruct o) Source #

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

getSettingBridgeMulticastQueryResponseInterval :: (MonadIO m, IsSettingBridge o) => o -> m Word64 Source #

Get the value of the “multicast-query-response-interval” property. When overloading is enabled, this is equivalent to

get settingBridge #multicastQueryResponseInterval

setSettingBridgeMulticastQueryResponseInterval :: (MonadIO m, IsSettingBridge o) => o -> Word64 -> m () Source #

Set the value of the “multicast-query-response-interval” property. When overloading is enabled, this is equivalent to

set settingBridge [ #multicastQueryResponseInterval := value ]

multicastQueryUseIfaddr

If enabled the bridge's own IP address is used as the source address for IGMP queries otherwise the default of 0.0.0.0 is used.

constructSettingBridgeMulticastQueryUseIfaddr :: (IsSettingBridge o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

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

getSettingBridgeMulticastQueryUseIfaddr :: (MonadIO m, IsSettingBridge o) => o -> m Bool Source #

Get the value of the “multicast-query-use-ifaddr” property. When overloading is enabled, this is equivalent to

get settingBridge #multicastQueryUseIfaddr

setSettingBridgeMulticastQueryUseIfaddr :: (MonadIO m, IsSettingBridge o) => o -> Bool -> m () Source #

Set the value of the “multicast-query-use-ifaddr” property. When overloading is enabled, this is equivalent to

set settingBridge [ #multicastQueryUseIfaddr := value ]

multicastRouter

Sets bridge's multicast router. Multicast-snooping must be enabled for this option to work.

Supported values are: 'auto', 'disabled', 'enabled' to which kernel assigns the numbers 1, 0, and 2, respectively. If not specified the default value is 'auto' (1).

clearSettingBridgeMulticastRouter :: (MonadIO m, IsSettingBridge o) => o -> m () Source #

Set the value of the “multicast-router” property to Nothing. When overloading is enabled, this is equivalent to

clear #multicastRouter

constructSettingBridgeMulticastRouter :: (IsSettingBridge o, MonadIO m) => Text -> m (GValueConstruct o) Source #

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

getSettingBridgeMulticastRouter :: (MonadIO m, IsSettingBridge o) => o -> m Text Source #

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

get settingBridge #multicastRouter

setSettingBridgeMulticastRouter :: (MonadIO m, IsSettingBridge o) => o -> Text -> m () Source #

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

set settingBridge [ #multicastRouter := value ]

multicastSnooping

Controls whether IGMP snooping is enabled for this bridge. Note that if snooping was automatically disabled due to hash collisions, the system may refuse to enable the feature until the collisions are resolved.

Since: 1.2

constructSettingBridgeMulticastSnooping :: (IsSettingBridge o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

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

getSettingBridgeMulticastSnooping :: (MonadIO m, IsSettingBridge o) => o -> m Bool Source #

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

get settingBridge #multicastSnooping

setSettingBridgeMulticastSnooping :: (MonadIO m, IsSettingBridge o) => o -> Bool -> m () Source #

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

set settingBridge [ #multicastSnooping := value ]

multicastStartupQueryCount

Set the number of IGMP queries to send during startup phase.

constructSettingBridgeMulticastStartupQueryCount :: (IsSettingBridge o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #

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

getSettingBridgeMulticastStartupQueryCount :: (MonadIO m, IsSettingBridge o) => o -> m Word32 Source #

Get the value of the “multicast-startup-query-count” property. When overloading is enabled, this is equivalent to

get settingBridge #multicastStartupQueryCount

setSettingBridgeMulticastStartupQueryCount :: (MonadIO m, IsSettingBridge o) => o -> Word32 -> m () Source #

Set the value of the “multicast-startup-query-count” property. When overloading is enabled, this is equivalent to

set settingBridge [ #multicastStartupQueryCount := value ]

multicastStartupQueryInterval

Sets the time (in deciseconds) between queries sent out at startup to determine membership information.

constructSettingBridgeMulticastStartupQueryInterval :: (IsSettingBridge o, MonadIO m) => Word64 -> m (GValueConstruct o) Source #

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

getSettingBridgeMulticastStartupQueryInterval :: (MonadIO m, IsSettingBridge o) => o -> m Word64 Source #

Get the value of the “multicast-startup-query-interval” property. When overloading is enabled, this is equivalent to

get settingBridge #multicastStartupQueryInterval

setSettingBridgeMulticastStartupQueryInterval :: (MonadIO m, IsSettingBridge o) => o -> Word64 -> m () Source #

Set the value of the “multicast-startup-query-interval” property. When overloading is enabled, this is equivalent to

set settingBridge [ #multicastStartupQueryInterval := value ]

priority

Sets the Spanning Tree Protocol (STP) priority for this bridge. Lower values are "better"; the lowest priority bridge will be elected the root bridge.

constructSettingBridgePriority :: (IsSettingBridge o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #

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

getSettingBridgePriority :: (MonadIO m, IsSettingBridge o) => o -> m Word32 Source #

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

get settingBridge #priority

setSettingBridgePriority :: (MonadIO m, IsSettingBridge o) => o -> Word32 -> m () Source #

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

set settingBridge [ #priority := value ]

stp

Controls whether Spanning Tree Protocol (STP) is enabled for this bridge.

constructSettingBridgeStp :: (IsSettingBridge o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

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

getSettingBridgeStp :: (MonadIO m, IsSettingBridge o) => o -> m Bool Source #

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

get settingBridge #stp

setSettingBridgeStp :: (MonadIO m, IsSettingBridge o) => o -> Bool -> m () Source #

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

set settingBridge [ #stp := value ]

vlanDefaultPvid

The default PVID for the ports of the bridge, that is the VLAN id assigned to incoming untagged frames.

Since: 1.18

constructSettingBridgeVlanDefaultPvid :: (IsSettingBridge o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #

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

getSettingBridgeVlanDefaultPvid :: (MonadIO m, IsSettingBridge o) => o -> m Word32 Source #

Get the value of the “vlan-default-pvid” property. When overloading is enabled, this is equivalent to

get settingBridge #vlanDefaultPvid

setSettingBridgeVlanDefaultPvid :: (MonadIO m, IsSettingBridge o) => o -> Word32 -> m () Source #

Set the value of the “vlan-default-pvid” property. When overloading is enabled, this is equivalent to

set settingBridge [ #vlanDefaultPvid := value ]

vlanFiltering

Control whether VLAN filtering is enabled on the bridge.

Since: 1.18

constructSettingBridgeVlanFiltering :: (IsSettingBridge o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

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

getSettingBridgeVlanFiltering :: (MonadIO m, IsSettingBridge o) => o -> m Bool Source #

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

get settingBridge #vlanFiltering

setSettingBridgeVlanFiltering :: (MonadIO m, IsSettingBridge o) => o -> Bool -> m () Source #

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

set settingBridge [ #vlanFiltering := value ]

vlanProtocol

If specified, the protocol used for VLAN filtering.

Supported values are: '802.1Q', '802.1ad'. If not specified the default value is '802.1Q'.

Since: 1.24

clearSettingBridgeVlanProtocol :: (MonadIO m, IsSettingBridge o) => o -> m () Source #

Set the value of the “vlan-protocol” property to Nothing. When overloading is enabled, this is equivalent to

clear #vlanProtocol

constructSettingBridgeVlanProtocol :: (IsSettingBridge o, MonadIO m) => Text -> m (GValueConstruct o) Source #

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

getSettingBridgeVlanProtocol :: (MonadIO m, IsSettingBridge o) => o -> m Text Source #

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

get settingBridge #vlanProtocol

setSettingBridgeVlanProtocol :: (MonadIO m, IsSettingBridge o) => o -> Text -> m () Source #

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

set settingBridge [ #vlanProtocol := value ]

vlanStatsEnabled

Controls whether per-VLAN stats accounting is enabled.

constructSettingBridgeVlanStatsEnabled :: (IsSettingBridge o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

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

getSettingBridgeVlanStatsEnabled :: (MonadIO m, IsSettingBridge o) => o -> m Bool Source #

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

get settingBridge #vlanStatsEnabled

setSettingBridgeVlanStatsEnabled :: (MonadIO m, IsSettingBridge o) => o -> Bool -> m () Source #

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

set settingBridge [ #vlanStatsEnabled := value ]

vlans