Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
GI.NM.Objects.SettingOvsBridge
Description
OvsBridge Link Settings
Synopsis
- newtype SettingOvsBridge = SettingOvsBridge (ManagedPtr SettingOvsBridge)
- class (GObject o, IsDescendantOf SettingOvsBridge o) => IsSettingOvsBridge o
- toSettingOvsBridge :: (MonadIO m, IsSettingOvsBridge o) => o -> m SettingOvsBridge
- settingOvsBridgeGetDatapathType :: (HasCallStack, MonadIO m, IsSettingOvsBridge a) => a -> m Text
- settingOvsBridgeGetFailMode :: (HasCallStack, MonadIO m, IsSettingOvsBridge a) => a -> m Text
- settingOvsBridgeGetMcastSnoopingEnable :: (HasCallStack, MonadIO m, IsSettingOvsBridge a) => a -> m Bool
- settingOvsBridgeGetRstpEnable :: (HasCallStack, MonadIO m, IsSettingOvsBridge a) => a -> m Bool
- settingOvsBridgeGetStpEnable :: (HasCallStack, MonadIO m, IsSettingOvsBridge a) => a -> m Bool
- settingOvsBridgeNew :: (HasCallStack, MonadIO m) => m SettingOvsBridge
- clearSettingOvsBridgeDatapathType :: (MonadIO m, IsSettingOvsBridge o) => o -> m ()
- constructSettingOvsBridgeDatapathType :: (IsSettingOvsBridge o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingOvsBridgeDatapathType :: (MonadIO m, IsSettingOvsBridge o) => o -> m Text
- setSettingOvsBridgeDatapathType :: (MonadIO m, IsSettingOvsBridge o) => o -> Text -> m ()
- clearSettingOvsBridgeFailMode :: (MonadIO m, IsSettingOvsBridge o) => o -> m ()
- constructSettingOvsBridgeFailMode :: (IsSettingOvsBridge o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingOvsBridgeFailMode :: (MonadIO m, IsSettingOvsBridge o) => o -> m Text
- setSettingOvsBridgeFailMode :: (MonadIO m, IsSettingOvsBridge o) => o -> Text -> m ()
- constructSettingOvsBridgeMcastSnoopingEnable :: (IsSettingOvsBridge o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingOvsBridgeMcastSnoopingEnable :: (MonadIO m, IsSettingOvsBridge o) => o -> m Bool
- setSettingOvsBridgeMcastSnoopingEnable :: (MonadIO m, IsSettingOvsBridge o) => o -> Bool -> m ()
- constructSettingOvsBridgeRstpEnable :: (IsSettingOvsBridge o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingOvsBridgeRstpEnable :: (MonadIO m, IsSettingOvsBridge o) => o -> m Bool
- setSettingOvsBridgeRstpEnable :: (MonadIO m, IsSettingOvsBridge o) => o -> Bool -> m ()
- constructSettingOvsBridgeStpEnable :: (IsSettingOvsBridge o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingOvsBridgeStpEnable :: (MonadIO m, IsSettingOvsBridge o) => o -> m Bool
- setSettingOvsBridgeStpEnable :: (MonadIO m, IsSettingOvsBridge o) => o -> Bool -> m ()
Exported types
newtype SettingOvsBridge Source #
Memory-managed wrapper type.
Constructors
SettingOvsBridge (ManagedPtr SettingOvsBridge) |
Instances
Eq SettingOvsBridge Source # | |
Defined in GI.NM.Objects.SettingOvsBridge Methods (==) :: SettingOvsBridge -> SettingOvsBridge -> Bool # (/=) :: SettingOvsBridge -> SettingOvsBridge -> Bool # | |
GObject SettingOvsBridge Source # | |
Defined in GI.NM.Objects.SettingOvsBridge | |
ManagedPtrNewtype SettingOvsBridge Source # | |
Defined in GI.NM.Objects.SettingOvsBridge Methods toManagedPtr :: SettingOvsBridge -> ManagedPtr SettingOvsBridge # | |
TypedObject SettingOvsBridge Source # | |
Defined in GI.NM.Objects.SettingOvsBridge | |
HasParentTypes SettingOvsBridge Source # | |
Defined in GI.NM.Objects.SettingOvsBridge | |
IsGValue (Maybe SettingOvsBridge) Source # | Convert |
Defined in GI.NM.Objects.SettingOvsBridge Methods gvalueGType_ :: IO GType # gvalueSet_ :: Ptr GValue -> Maybe SettingOvsBridge -> IO () # gvalueGet_ :: Ptr GValue -> IO (Maybe SettingOvsBridge) # | |
type ParentTypes SettingOvsBridge Source # | |
Defined in GI.NM.Objects.SettingOvsBridge |
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
(GObject o, IsDescendantOf SettingOvsBridge o) => IsSettingOvsBridge o Source # | |
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
Click to display all available methods, including inherited ones
Methods
bindProperty, bindPropertyFull, compare, diff, duplicate, enumerateValues, forceFloating, freezeNotify, getv, isFloating, notify, notifyByPspec, optionClearByName, optionGet, optionGetAllNames, optionGetBoolean, optionGetUint32, optionSet, optionSetBoolean, optionSetUint32, ref, refSink, runDispose, stealData, stealQdata, thawNotify, toString, unref, verify, verifySecrets, watchClosure.
Getters
getData, getDatapathType, getDbusPropertyType, getFailMode, getMcastSnoopingEnable, getName, getProperty, getQdata, getRstpEnable, getSecretFlags, getStpEnable.
Setters
getDatapathType
settingOvsBridgeGetDatapathType Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingOvsBridge a) | |
=> a |
|
-> m Text | Returns: the |
No description available in the introspection data.
Since: 1.42
getFailMode
settingOvsBridgeGetFailMode Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingOvsBridge a) | |
=> a |
|
-> m Text | Returns: the |
No description available in the introspection data.
Since: 1.10
getMcastSnoopingEnable
settingOvsBridgeGetMcastSnoopingEnable Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingOvsBridge a) | |
=> a |
|
-> m Bool | Returns: the |
No description available in the introspection data.
Since: 1.10
getRstpEnable
settingOvsBridgeGetRstpEnable Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingOvsBridge a) | |
=> a |
|
-> m Bool | Returns: the |
No description available in the introspection data.
Since: 1.10
getStpEnable
settingOvsBridgeGetStpEnable Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingOvsBridge a) | |
=> a |
|
-> m Bool | Returns: the |
No description available in the introspection data.
Since: 1.10
new
Arguments
:: (HasCallStack, MonadIO m) | |
=> m SettingOvsBridge | Returns: the new empty |
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 ]