org.opensuse.Network.Bond
Synopsis
This link-layer service is provided by all bonding devices.
Bond devices can be created through the org.opensuse.Network.Bond.Factoryfactory interface.
Namespace
Properties
- mode (builtin-bonding-mode).
- slaves (array). This is an array of device-info:slave[1 .. infinity].
- arpmon (dict). This is a dict-based type that provides the following members:
- interval (uint32). This is a uint32
- validate (builtin-bonding-arp-validate). Specifies whether or not ARP probes and replies should be validated in theactive-backup mode.
- targets (array). This is an array of string[1 .. infinity].
- miimon (dict). This is a dict-based type that provides the following members:
- frequency (uint32). This is a uint32
- 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 (builtin-bonding-mii-carrier-detect). Specifies whether the MII monitor will use the netif network interface carrieror the deprecated MII / ETHTOOL ioctls to determine the status of the slaves.Default is to query netif carrier, but when the MII monitor fails to detectcarrier loss (e.g. disconnected cable) of a slave or it appears that the MIImonitor is very slow in detecting link failures, try specifying ioctl.
- xmit-hash-policy (builtin-bonding-xmit-hash-policy). Selects the transmit hash policy to use for slave selection in balance-xorand 802.3ad modes. The policies layer2 and layer23 are ieee802-3ad compliant.
- lacp-rate (builtin-bonding-lacp-rate). Option specifying the rate in which the bond interface will ask the linkpartner to transmit LACPDU packets in 802.3ad mode.
- ad-select (builtin-bonding-ad-select). Specifies the 802.3ad aggregation selection logic to use.
- fail-over-mac (builtin-bonding-fail-over-mac). Specifies whether active-backup mode should set all slaves to the sameMAC address at enslavement, or perform special handling of the bond'sMAC address in accordance with the selected policy.
- primary-reselect (builtin-bonding-primary-reselect). Specifies the reselection policy for the primary slave. This affects howthe primary slave is chosen to become the active slave when failure ofthe active slave or recovery of the primary slave occurs. This optionis designed to prevent flip-flopping between the primary slave and otherslaves.
- all-slaves-active (boolean). Enable to deliver duplicate frames received on inactive slaves when enabled instead of dropping them.
- min-links (uint32). Specifies the minimum number of links that must be active before asserting carrier.
- num-grat-arp (uint32). This is a uint32 range type with values from 0 to infinity
- num-unsol-na (uint32). This is a uint32 range type with values from 0 to infinity
- resend-igmp (uint32). This is a uint32 range type with values from 0 to infinity
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[1 .. infinity].
- arpmon (dict). This is a dict-based type that provides the following members:
- interval (uint32). This is a uint32
- validate (builtin-bonding-arp-validate). Specifies whether or not ARP probes and replies should be validated in theactive-backup mode.
- targets (array). This is an array of string[1 .. infinity].
- miimon (dict). This is a dict-based type that provides the following members:
- frequency (uint32). This is a uint32
- 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 (builtin-bonding-mii-carrier-detect). Specifies whether the MII monitor will use the netif network interface carrieror the deprecated MII / ETHTOOL ioctls to determine the status of the slaves.Default is to query netif carrier, but when the MII monitor fails to detectcarrier loss (e.g. disconnected cable) of a slave or it appears that the MIImonitor is very slow in detecting link failures, try specifying ioctl.
- xmit-hash-policy (builtin-bonding-xmit-hash-policy). Selects the transmit hash policy to use for slave selection in balance-xorand 802.3ad modes. The policies layer2 and layer23 are ieee802-3ad compliant.
- lacp-rate (builtin-bonding-lacp-rate). Option specifying the rate in which the bond interface will ask the linkpartner to transmit LACPDU packets in 802.3ad mode.
- ad-select (builtin-bonding-ad-select). Specifies the 802.3ad aggregation selection logic to use.
- fail-over-mac (builtin-bonding-fail-over-mac). Specifies whether active-backup mode should set all slaves to the sameMAC address at enslavement, or perform special handling of the bond'sMAC address in accordance with the selected policy.
- primary-reselect (builtin-bonding-primary-reselect). Specifies the reselection policy for the primary slave. This affects howthe primary slave is chosen to become the active slave when failure ofthe active slave or recovery of the primary slave occurs. This optionis designed to prevent flip-flopping between the primary slave and otherslaves.
- all-slaves-active (boolean). Enable to deliver duplicate frames received on inactive slaves when enabled instead of dropping them.
- min-links (uint32). Specifies the minimum number of links that must be active before asserting carrier.
- num-grat-arp (uint32). This is a uint32 range type with values from 0 to infinity
- num-unsol-na (uint32). This is a uint32 range type with values from 0 to infinity
- resend-igmp (uint32). This is a uint32 range type with values from 0 to infinity
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[1 .. infinity].
- arpmon (dict). This is a dict-based type that provides the following members:
- interval (uint32). This is a uint32
- validate (builtin-bonding-arp-validate). Specifies whether or not ARP probes and replies should be validated in theactive-backup mode.
- targets (array). This is an array of string[1 .. infinity].
- miimon (dict). This is a dict-based type that provides the following members:
- frequency (uint32). This is a uint32
- 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 (builtin-bonding-mii-carrier-detect). Specifies whether the MII monitor will use the netif network interface carrieror the deprecated MII / ETHTOOL ioctls to determine the status of the slaves.Default is to query netif carrier, but when the MII monitor fails to detectcarrier loss (e.g. disconnected cable) of a slave or it appears that the MIImonitor is very slow in detecting link failures, try specifying ioctl.
- xmit-hash-policy (builtin-bonding-xmit-hash-policy). Selects the transmit hash policy to use for slave selection in balance-xorand 802.3ad modes. The policies layer2 and layer23 are ieee802-3ad compliant.
- lacp-rate (builtin-bonding-lacp-rate). Option specifying the rate in which the bond interface will ask the linkpartner to transmit LACPDU packets in 802.3ad mode.
- ad-select (builtin-bonding-ad-select). Specifies the 802.3ad aggregation selection logic to use.
- fail-over-mac (builtin-bonding-fail-over-mac). Specifies whether active-backup mode should set all slaves to the sameMAC address at enslavement, or perform special handling of the bond'sMAC address in accordance with the selected policy.
- primary-reselect (builtin-bonding-primary-reselect). Specifies the reselection policy for the primary slave. This affects howthe primary slave is chosen to become the active slave when failure ofthe active slave or recovery of the primary slave occurs. This optionis designed to prevent flip-flopping between the primary slave and otherslaves.
- all-slaves-active (boolean). Enable to deliver duplicate frames received on inactive slaves when enabled instead of dropping them.
- min-links (uint32). Specifies the minimum number of links that must be active before asserting carrier.
- num-grat-arp (uint32). This is a uint32 range type with values from 0 to infinity
- num-unsol-na (uint32). This is a uint32 range type with values from 0 to infinity
- resend-igmp (uint32). This is a uint32 range type with values from 0 to infinity