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

Description

OvsBridge Link Settings

Synopsis

Exported types

class (GObject o, IsDescendantOf SettingOvsBridge o) => IsSettingOvsBridge o Source #

Type class for types which can be safely cast to SettingOvsBridge, for instance with toSettingOvsBridge.

Instances

Instances details
(GObject o, IsDescendantOf SettingOvsBridge o) => IsSettingOvsBridge o Source # 
Instance details

Defined in GI.NM.Objects.SettingOvsBridge

toSettingOvsBridge :: (MonadIO m, IsSettingOvsBridge o) => o -> m SettingOvsBridge Source #

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

Methods

getDatapathType

settingOvsBridgeGetDatapathType Source #

Arguments

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

self: the SettingOvsBridge

-> m Text

Returns: the SettingOvsBridge:datapath_type property of the setting

No description available in the introspection data.

Since: 1.42

getFailMode

settingOvsBridgeGetFailMode Source #

Arguments

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

self: the SettingOvsBridge

-> m Text

Returns: the SettingOvsBridge:fail_mode property of the setting

No description available in the introspection data.

Since: 1.10

getMcastSnoopingEnable

settingOvsBridgeGetMcastSnoopingEnable Source #

Arguments

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

self: the SettingOvsBridge

-> m Bool

Returns: the SettingOvsBridge:mcast_snooping_enable property of the setting

No description available in the introspection data.

Since: 1.10

getRstpEnable

settingOvsBridgeGetRstpEnable Source #

Arguments

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

self: the SettingOvsBridge

-> m Bool

Returns: the SettingOvsBridge:rstp_enable property of the setting

No description available in the introspection data.

Since: 1.10

getStpEnable

settingOvsBridgeGetStpEnable Source #

Arguments

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

self: the SettingOvsBridge

-> m Bool

Returns: the SettingOvsBridge:stp_enable property of the setting

No description available in the introspection data.

Since: 1.10

new

settingOvsBridgeNew Source #

Arguments

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

Returns: the new empty SettingOvsBridge object

Creates a new SettingOvsBridge object with default values.

Since: 1.10

Properties

datapathType

The data path type. One of "system", "netdev" or empty.

Since: 1.20

clearSettingOvsBridgeDatapathType :: (MonadIO m, IsSettingOvsBridge o) => o -> m () Source #

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

clear #datapathType

constructSettingOvsBridgeDatapathType :: (IsSettingOvsBridge o, MonadIO m) => Text -> m (GValueConstruct o) Source #

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

getSettingOvsBridgeDatapathType :: (MonadIO m, IsSettingOvsBridge o) => o -> m Text Source #

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

get settingOvsBridge #datapathType

setSettingOvsBridgeDatapathType :: (MonadIO m, IsSettingOvsBridge o) => o -> Text -> m () Source #

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

set settingOvsBridge [ #datapathType := value ]

failMode

The bridge failure mode. One of "secure", "standalone" or empty.

Since: 1.10

clearSettingOvsBridgeFailMode :: (MonadIO m, IsSettingOvsBridge o) => o -> m () Source #

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

clear #failMode

constructSettingOvsBridgeFailMode :: (IsSettingOvsBridge o, MonadIO m) => Text -> m (GValueConstruct o) Source #

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

getSettingOvsBridgeFailMode :: (MonadIO m, IsSettingOvsBridge o) => o -> m Text Source #

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

get settingOvsBridge #failMode

setSettingOvsBridgeFailMode :: (MonadIO m, IsSettingOvsBridge o) => o -> Text -> m () Source #

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

set settingOvsBridge [ #failMode := value ]

mcastSnoopingEnable

Enable or disable multicast snooping.

Since: 1.10

constructSettingOvsBridgeMcastSnoopingEnable :: (IsSettingOvsBridge o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

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

getSettingOvsBridgeMcastSnoopingEnable :: (MonadIO m, IsSettingOvsBridge o) => o -> m Bool Source #

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

get settingOvsBridge #mcastSnoopingEnable

setSettingOvsBridgeMcastSnoopingEnable :: (MonadIO m, IsSettingOvsBridge o) => o -> Bool -> m () Source #

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

set settingOvsBridge [ #mcastSnoopingEnable := value ]

rstpEnable

Enable or disable RSTP.

Since: 1.10

constructSettingOvsBridgeRstpEnable :: (IsSettingOvsBridge o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

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

getSettingOvsBridgeRstpEnable :: (MonadIO m, IsSettingOvsBridge o) => o -> m Bool Source #

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

get settingOvsBridge #rstpEnable

setSettingOvsBridgeRstpEnable :: (MonadIO m, IsSettingOvsBridge o) => o -> Bool -> m () Source #

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

set settingOvsBridge [ #rstpEnable := value ]

stpEnable

Enable or disable STP.

Since: 1.10

constructSettingOvsBridgeStpEnable :: (IsSettingOvsBridge o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

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

getSettingOvsBridgeStpEnable :: (MonadIO m, IsSettingOvsBridge o) => o -> m Bool Source #

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

get settingOvsBridge #stpEnable

setSettingOvsBridgeStpEnable :: (MonadIO m, IsSettingOvsBridge o) => o -> Bool -> m () Source #

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

set settingOvsBridge [ #stpEnable := value ]