org.opensuse.Network.Bond
Synopsis
This link-layer service is provided by all bonding devices.
Since there isn't a lotto tune about a VLAN once it has been created, this DBus interface doesn't offera changeDevice() method.
VLAN devices can be created through the org.opensuse.Network.VLAN.Factory factory interface.
Namespace
Properties
- mode (builtin-bonding-mode).
- slaves (array). This is an array of device-info:slave.
- arpmon (dict). This is a dict-based type that provides the following members:
- interval (uint32). ARP link monitoring frequency in milliseconds.
- validate (builtin-bonding-validate). Specifies whether or not ARP probes and replies should bevalidated in the active-backup mode.
- target (array). This is an array of ipv4-address[1 .. infinity].
- miimon (dict). This is a dict-based type that provides the following members:
- frequency (uint32). Specifies the MII link monitoring frequency in milliseconds.This determines how often the link state of each slave is inspected for link failures.
- updelay (uint32). Specifies the time, in milliseconds, to wait before enabling aslave after a link recovery has been detected.
- downdelay (uint32). Specifies the time, in milliseconds, to wait before disablinga slave after a link failure has been detected.
- carrier (device-info.miimon:carrier-detect).
Methods
- void changeDevice(dict config)
-
Argument config is mapped to element <bond> of the device document.
It is a dict-based type that provides the following members:
- mode (builtin-bonding-mode).
- slaves (array). This is an array of device-info:slave.
- arpmon (dict). This is a dict-based type that provides the following members:
- interval (uint32). ARP link monitoring frequency in milliseconds.
- validate (builtin-bonding-validate). Specifies whether or not ARP probes and replies should bevalidated in the active-backup mode.
- target (array). This is an array of ipv4-address[1 .. infinity].
- miimon (dict). This is a dict-based type that provides the following members:
- frequency (uint32). Specifies the MII link monitoring frequency in milliseconds.This determines how often the link state of each slave is inspected for link failures.
- updelay (uint32). Specifies the time, in milliseconds, to wait before enabling aslave after a link recovery has been detected.
- downdelay (uint32). Specifies the time, in milliseconds, to wait before disablinga slave after a link failure has been detected.
- carrier (device-info.miimon:carrier-detect).
- void addSlave(string name)
-
- void removeSlave(string name)
-
Types defined in this scope
Type name |
Kind |
Definition |
device-info | dict | below |
Type device-info
This is a dict-based type that provides the following members:
- mode (builtin-bonding-mode).
- slaves (array). This is an array of device-info:slave.
- arpmon (dict). This is a dict-based type that provides the following members:
- interval (uint32). ARP link monitoring frequency in milliseconds.
- validate (builtin-bonding-validate). Specifies whether or not ARP probes and replies should bevalidated in the active-backup mode.
- target (array). This is an array of ipv4-address[1 .. infinity].
- miimon (dict). This is a dict-based type that provides the following members:
- frequency (uint32). Specifies the MII link monitoring frequency in milliseconds.This determines how often the link state of each slave is inspected for link failures.
- updelay (uint32). Specifies the time, in milliseconds, to wait before enabling aslave after a link recovery has been detected.
- downdelay (uint32). Specifies the time, in milliseconds, to wait before disablinga slave after a link failure has been detected.
- carrier (device-info.miimon:carrier-detect).