Interface PortOtherConfigs
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<PortOtherConfigs>
,org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ChildOf<OvsdbPortInterfaceAttributes>
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
,org.opendaylight.yangtools.yang.binding.Identifiable<PortOtherConfigsKey>
@Generated("mdsal-binding-generator")
public interface PortOtherConfigs
extends org.opendaylight.yangtools.yang.binding.ChildOf<OvsdbPortInterfaceAttributes>, org.opendaylight.yangtools.yang.binding.Augmentable<PortOtherConfigs>, org.opendaylight.yangtools.yang.binding.Identifiable<PortOtherConfigsKey>
Other config attributes for Ports other_config : priority-tags: optional string
either true or false An 802.1Q header contains two important pieces of
information: a VLAN ID and a priority. other_config : bond-hash-basis: optional
string containing an integer An integer hashed along with flows when choosing
output slaves in load balanced bonds. When changed, all flows will be assigned
different hash values possibly causing slave selection decisions to change.
other_config : bond-detect-mode: optional string either miimon or carrier The
means used to detect link failures. Defaults to carrier which uses each
interface's carrier to detect failures. When set to miimon, will check for
failures by polling each interface's MII. other_config : bond-miimon-interval:
optional string containing an integer The interval, in milliseconds, between
successive attempts to poll each interface's MII. Relevant only when
other_config:bond-detect-mode is miimon other_config : lacp-system-id: optional
string The LACP system ID of this Port. The system ID of a LACP bond is used to
identify itself to its partners. Must be a nonzero MAC address. Defaults to the
bridge Ethernet address if unset. other_config : lacp-system-priority: optional
string containing an integer, in range 1 to 65,535 The LACP system priority of
this Port. In LACP negotiations, link status decisions are made by the system
with the numerically lower priority. other_config : lacp-time: optional string
either slow or fast. The LACP timing which should be used on this Port. By
default slow is used. When configured to be fast LACP heartbeats are requested
at a rate of once per second causing connectivity problems to be detected more
quickly. In slow mode, heartbeats are requested at a rate of once every 30
seconds. other_config : lacp-fallback-ab: optional string either true or false
Determines the behavior of openvswitch bond in LACP mode. If the partner switch
does not support LACP, setting this option to true allows openvswitch to
fallback to active-backup. If the option is set to false, the bond will be
disabled. In both the cases, once the partner switch is configured to LACP
the bond will use LACP. other_config : bond-rebalance-interval: optional
containing an integer, in range 0 to 10,000 For a load balanced bonded port,
number of milliseconds between successive attempts to rebalance the bond, that
is, to move flows from one interface on the bond to another in an attempt to
keep usage of each interface roughly equal. If zero, load balancing is disabled
on the bond (link failure still cause flows to move). If less than 1000ms, the
rebalance interval will be 1000ms. other_config : stp-enable: optional string
either true or false. If spanning tree is enabled on the bridge, member ports
are enabled by default (with the exception of bond, internal, and mirror ports
which do not work with STP). If this column's value is false spanning tree is
disabled on the port. other_config : stp-port-num: optional string containing
integer, in range 1 to 255 The port number used for the lower 8 bits of the
port-id. By default, the numbers will be assigned automatically. If any port's
number is manually configured on a bridge, then they must all be. other_config
stp-port-priority: optional string containing an integer, in range 0 to 255 The
port's relative priority value for determining the root port (the upper 8 bits
of the port-id). other_config : stp-path-cost: optional string containing an
integer, in range 0 to 65,535 Spanning tree path cost for the port. A lower
number indicates a faster link. By default, the cost is based on the maximum
speed of the link. other_config : rstp-enable: optional string either true or
false If rapid spanning tree is enabled on the bridge, member ports are enabled
by default (with the exception of bond, internal, and mirror ports which do not
work with RSTP). If this column's value is false rapid spanning tree is
on the port. other_config : rstp-port-priority: optional string containing an
integer, in range 0 to 240 The port's relative priority value for determining
the root port, in multiples of 16. By default, the port priority is 0x80 (128).
other_config : rstp-port-num: optional string containing an integer, in range 1
to 4,095 The local RSTP port number, used as the lower 12 bits of the port-id.
other_config : rstp-port-path-cost: optional string containing an integer The
port path cost. The Port's contribution, when it is the Root Port, to the Root
Path Cost for the Bridge. other_config : rstp-port-admin-edge: optional string
either true or false other_config : rstp-port-auto-edge: optional string either
true or false The auto edge port parameter for the Port. Default is true.
other_config : rstp-port-mcheck: optional string either true or false The
port parameter for the Port. Default is false. other_config :
mcast-snooping-flood: optional string either true or false If set to true,
multicast packets are unconditionally forwarded to the specific port
This class represents the following YANG schema fragment defined in module ovsdb
list port-other-configs { key other-config-key; leaf other-config-key { type string; } leaf other-config-value { type string; } }
To create instances of this class use PortOtherConfigsBuilder
.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QName
YANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
bindingEquals
(@NonNull PortOtherConfigs thisObj, Object obj) Default implementation ofObject.equals(Object)
contract for this interface.static int
bindingHashCode
(@NonNull PortOtherConfigs obj) Default implementation ofObject.hashCode()
contract for this interface.static String
bindingToString
(@NonNull PortOtherConfigs obj) Default implementation ofObject.toString()
contract for this interface.Return otherConfigKey, ornull
if it is not present.Return otherConfigValue, ornull
if it is not present.default Class<PortOtherConfigs>
key()
default @NonNull String
Return otherConfigKey, guaranteed to be non-null.default @NonNull String
Return otherConfigValue, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yangtools.yang.binding.Augmentable
augmentation, augmentationOrElseThrow, augmentationOrElseThrow, augmentations
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
bindingHashCode
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
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
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
PortOtherConfigsKey key()- Specified by:
key
in interfaceorg.opendaylight.yangtools.yang.binding.Identifiable<PortOtherConfigsKey>
-
getOtherConfigKey
String getOtherConfigKey()Return otherConfigKey, ornull
if it is not present.port-other-config name/key
- Returns:
String
otherConfigKey, ornull
if it is not present.
-
requireOtherConfigKey
Return otherConfigKey, guaranteed to be non-null.port-other-config name/key
- Returns:
String
otherConfigKey, guaranteed to be non-null.- Throws:
NoSuchElementException
- if otherConfigKey is not present
-
getOtherConfigValue
String getOtherConfigValue()Return otherConfigValue, ornull
if it is not present.port-other-config value
- Returns:
String
otherConfigValue, ornull
if it is not present.
-
requireOtherConfigValue
Return otherConfigValue, guaranteed to be non-null.port-other-config value
- Returns:
String
otherConfigValue, guaranteed to be non-null.- Throws:
NoSuchElementException
- if otherConfigValue is not present
-