Interface L2FibEntry
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<L2FibEntry>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ChildOf<L2FibTable>
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
,org.opendaylight.yangtools.yang.binding.Identifiable<L2FibEntryKey>
@Generated("mdsal-binding-generator") public interface L2FibEntry extends org.opendaylight.yangtools.yang.binding.ChildOf<L2FibTable>, org.opendaylight.yangtools.yang.binding.Augmentable<L2FibEntry>, org.opendaylight.yangtools.yang.binding.Identifiable<L2FibEntryKey>
This class represents the following YANG schema fragment defined in module v3po
list l2-fib-entry { key phys-address; leaf phys-address { type yang:phys-address; } leaf outgoing-interface { when "../action != 'l2-fib-filter'"; type if:interface-ref; } leaf static-config { type boolean; default false; } leaf action { type l2-fib-action; } leaf bridged-virtual-interface { when "../action = 'forward'"; type boolean; config false; } }
The schema path to identify an instance is v3po/l2-fib-attributes/l2-fib-table/l2-fib-entryTo create instances of this class use
L2FibEntryBuilder
.- See Also:
L2FibEntryBuilder
,L2FibEntryKey
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description static boolean
bindingEquals(@NonNull L2FibEntry thisObj, java.lang.Object obj)
Default implementation ofObject.equals(Object)
contract for this interface.static int
bindingHashCode(@NonNull L2FibEntry obj)
Default implementation ofObject.hashCode()
contract for this interface.static java.lang.String
bindingToString(@NonNull L2FibEntry obj)
Default implementation ofObject.toString()
contract for this interface.java.lang.Class<? extends L2FibAction>
getAction()
Return action, ornull
if it is not present.java.lang.Boolean
getBridgedVirtualInterface()
Return bridgedVirtualInterface, ornull
if it is not present.java.lang.String
getOutgoingInterface()
Return outgoingInterface, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.PhysAddress
getPhysAddress()
Return physAddress, ornull
if it is not present.java.lang.Boolean
getStaticConfig()
Return staticConfig, ornull
if it is not present.default java.lang.Class<L2FibEntry>
implementedInterface()
default java.lang.Boolean
isBridgedVirtualInterface()
Deprecated, for removal: This API element is subject to removal in a future version.default java.lang.Boolean
isStaticConfig()
Deprecated, for removal: This API element is subject to removal in a future version.L2FibEntryKey
key()
-
-
-
Method Detail
-
implementedInterface
default java.lang.Class<L2FibEntry> 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 L2FibEntry 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:
java.lang.NullPointerException
- ifobj
is null
-
bindingEquals
static boolean bindingEquals(@NonNull L2FibEntry thisObj, java.lang.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:
java.lang.NullPointerException
- ifthisObj
is null
-
bindingToString
static java.lang.String bindingToString(@NonNull L2FibEntry 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:
java.lang.NullPointerException
- ifobj
is null
-
getPhysAddress
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.PhysAddress getPhysAddress()
Return physAddress, ornull
if it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.PhysAddress
physAddress, ornull
if it is not present.
-
getOutgoingInterface
java.lang.String getOutgoingInterface()
Return outgoingInterface, ornull
if it is not present.One of interfaces assigned to the FIB table's bridge-domain.
- Returns:
java.lang.String
outgoingInterface, ornull
if it is not present.
-
getStaticConfig
java.lang.Boolean getStaticConfig()
Return staticConfig, ornull
if it is not present.Static entries cannot be overridden by mac learning.
- Returns:
java.lang.Boolean
staticConfig, ornull
if it is not present.
-
isStaticConfig
@Deprecated(forRemoval=true) default java.lang.Boolean isStaticConfig()
Deprecated, for removal: This API element is subject to removal in a future version.
-
getAction
java.lang.Class<? extends L2FibAction> getAction()
Return action, ornull
if it is not present.L2 FIB action. For filter action, entry must be configured as static.
- Returns:
java.lang.Class
action, ornull
if it is not present.
-
getBridgedVirtualInterface
java.lang.Boolean getBridgedVirtualInterface()
Return bridgedVirtualInterface, ornull
if it is not present.- Returns:
java.lang.Boolean
bridgedVirtualInterface, ornull
if it is not present.
-
isBridgedVirtualInterface
@Deprecated(forRemoval=true) default java.lang.Boolean isBridgedVirtualInterface()
Deprecated, for removal: This API element is subject to removal in a future version.
-
key
L2FibEntryKey key()
- Specified by:
key
in interfaceorg.opendaylight.yangtools.yang.binding.Identifiable<L2FibEntryKey>
-
-