Interface BridgeOtherConfigs
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<BridgeOtherConfigs>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ChildOf<OvsdbBridgeAttributes>
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
,org.opendaylight.yangtools.yang.binding.Identifiable<BridgeOtherConfigsKey>
@Generated("mdsal-binding-generator") public interface BridgeOtherConfigs extends org.opendaylight.yangtools.yang.binding.ChildOf<OvsdbBridgeAttributes>, org.opendaylight.yangtools.yang.binding.Augmentable<BridgeOtherConfigs>, org.opendaylight.yangtools.yang.binding.Identifiable<BridgeOtherConfigsKey>
Key-value pairs for configuring rarely used features. other_config : hwaddr: optional string An Ethernet address in the form xx:xx:xx:xx:xx:xx to set the hardware address of the local port and influence the datapath ID. other_config forward-bpdu: optional string either true or false. Option to allow forwarding of BPDU frames when NORMAL action is invoked. Frames with reserved Ethernet addresses (e.g. STP BPDU) will be forwarded when this option is enabled and the switch is not providing that functionality. other_config : mac-aging-time: optional string containing an integer, at least 1 The maximum number of seconds to retain a MAC learning entry for which no packets have been seen. The default is currently 300 seconds (5 minutes). The value, if specified, is forced into a reasonable range, currently 15 to 3600 seconds. other_config : mac-table-size: optional string containing an integer, at least 1 The maximum number of MAC addresses to learn. The default is currently 2048. The value, if specified, is forced into a reasonable range, currently 10 to 1,000,000. other_config : datapath-id: optional string Exactly 16 hex digits to set the OpenFlow datapath ID to a specific value. May not be all-zero. other_config : dp-desc: optional string Human readable description of datapath. It it a maximum 256 byte-long free-form string to describe the datapath for debugging purposes. other_config disable-in-band: optional string either true or false If set to true, disable in-band control on the bridge regardless of controller and manager settings. other_config : in-band-queue: optional string containing an integer, in range 0 to 4,294,967,295 A queue ID as a nonnegative integer. other_config : stp-system-id: optional string The bridge's STP identifier (the lower 48 bits the bridge-id) in the form xx:xx:xx:xx:xx:xx. By default, the identifier is the MAC address of the bridge. other_config : stp-priority: optional string containing an integer, in range 0 to 65,535 The bridge's relative priority for determining the root bridge (the upper 16 bits of the bridgeid). A bridge with the lowest bridge-id is elected the root. By default, the priority is 0x8000. other_config : stp-hello-time: optional string containing an integer, range 1 to 10 The interval between transmissions of hello messages by ports, in seconds. By default the hello interval is 2 seconds. other_config : stp-max-age: optional string containing an integer, in range 6 to 40 The age of the information transmitted by the bridge when it is the root bridge, in seconds. By default, the maximum age is 20 seconds. other_config : stp-forward-delay: optional string containing an integer, in range 4 to 30 The delay to wait between transitioning root and designated ports to forwarding, in seconds. By default, the forwarding delay is 15 seconds. other_config : mcast-snooping-aging-time: optional string, containing an integer, at least 1 The maximum number of seconds to retain a multicast snooping entry for which no packets have been seen. The default is currently 300 seconds (5 minutes). The value, if specified, is forced into a reasonable range, currently 15 to 3600 seconds. other_config : mcast-snooping-table-size: optional string, containing an integer, at least 1 The maximum number of multicast snooping addresses to learn. The default is currently 2048. The value, if specified, is forced into a reasonable range, currently 10 to 1,000,000. other_config : mcast-snooping-disable-flood-unregistered: optional string, either true or If set to false, unregistered multicast packets are forwarded to all ports. If set to true, unregistered multicast packets are forwarded to ports connected to multicast routers.This class represents the following YANG schema fragment defined in module ovsdb
list bridge-other-configs { key bridge-other-config-key; leaf bridge-other-config-key { type string; } leaf bridge-other-config-value { type string; } }
To create instances of this class use
BridgeOtherConfigsBuilder
.- See Also:
BridgeOtherConfigsBuilder
,BridgeOtherConfigsKey
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
YANG identifier of the statement represented by this class.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static boolean
bindingEquals(@NonNull BridgeOtherConfigs thisObj, Object obj)
Default implementation ofObject.equals(Object)
contract for this interface.static int
bindingHashCode(@NonNull BridgeOtherConfigs obj)
Default implementation ofObject.hashCode()
contract for this interface.static String
bindingToString(@NonNull BridgeOtherConfigs obj)
Default implementation ofObject.toString()
contract for this interface.String
getBridgeOtherConfigKey()
Return bridgeOtherConfigKey, ornull
if it is not present.String
getBridgeOtherConfigValue()
Return bridgeOtherConfigValue, ornull
if it is not present.default Class<BridgeOtherConfigs>
implementedInterface()
BridgeOtherConfigsKey
key()
default @NonNull String
requireBridgeOtherConfigKey()
Return bridgeOtherConfigKey, guaranteed to be non-null.default @NonNull String
requireBridgeOtherConfigValue()
Return bridgeOtherConfigValue, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
default Class<BridgeOtherConfigs> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
bindingHashCode
static int bindingHashCode(@NonNull BridgeOtherConfigs obj)
Default implementation ofObject.hashCode()
contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent hashing results across all implementations.- Parameters:
obj
- Object for which to generate hashCode() result.- Returns:
- Hash code value of data modeled by this interface.
- Throws:
NullPointerException
- ifobj
is null
-
bindingEquals
static boolean bindingEquals(@NonNull BridgeOtherConfigs thisObj, Object obj)
Default implementation ofObject.equals(Object)
contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent equality results across all implementations.- Parameters:
thisObj
- Object acting as the receiver of equals invocationobj
- Object acting as argument to equals invocation- Returns:
- True if thisObj and obj are considered equal
- Throws:
NullPointerException
- ifthisObj
is null
-
bindingToString
static String bindingToString(@NonNull BridgeOtherConfigs obj)
Default implementation ofObject.toString()
contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent string representations across all implementations.- Parameters:
obj
- Object for which to generate toString() result.- Returns:
String
value of data modeled by this interface.- Throws:
NullPointerException
- ifobj
is null
-
key
BridgeOtherConfigsKey key()
- Specified by:
key
in interfaceorg.opendaylight.yangtools.yang.binding.Identifiable<BridgeOtherConfigsKey>
-
getBridgeOtherConfigKey
String getBridgeOtherConfigKey()
Return bridgeOtherConfigKey, ornull
if it is not present.bridge-other-config name/key
- Returns:
String
bridgeOtherConfigKey, ornull
if it is not present.
-
requireBridgeOtherConfigKey
default @NonNull String requireBridgeOtherConfigKey()
Return bridgeOtherConfigKey, guaranteed to be non-null.bridge-other-config name/key
- Returns:
String
bridgeOtherConfigKey, guaranteed to be non-null.- Throws:
NoSuchElementException
- if bridgeOtherConfigKey is not present
-
getBridgeOtherConfigValue
String getBridgeOtherConfigValue()
Return bridgeOtherConfigValue, ornull
if it is not present.bridge-other-config value
- Returns:
String
bridgeOtherConfigValue, ornull
if it is not present.
-
requireBridgeOtherConfigValue
default @NonNull String requireBridgeOtherConfigValue()
Return bridgeOtherConfigValue, guaranteed to be non-null.bridge-other-config value
- Returns:
String
bridgeOtherConfigValue, guaranteed to be non-null.- Throws:
NoSuchElementException
- if bridgeOtherConfigValue is not present
-
-