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>
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 Instance Methods Abstract Methods Default Methods Modifier and Type Method Description @Nullable java.lang.Class<? extends L2FibAction>
getAction()
L2 FIB action.@Nullable java.lang.String
getOutgoingInterface()
One of interfaces assigned to the FIB table's bridge-domain.@Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.PhysAddress
getPhysAddress()
default java.lang.Class<L2FibEntry>
implementedInterface()
@Nullable java.lang.Boolean
isBridgedVirtualInterface()
@Nullable java.lang.Boolean
isStaticConfig()
Static entries cannot be overridden by mac learning.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
-
getPhysAddress
@Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.PhysAddress getPhysAddress()
- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.PhysAddress
physAddress
, ornull
if not present
-
getOutgoingInterface
@Nullable java.lang.String getOutgoingInterface()
One of interfaces assigned to the FIB table's bridge-domain.- Returns:
java.lang.String
outgoingInterface
, ornull
if not present
-
isStaticConfig
@Nullable java.lang.Boolean isStaticConfig()
Static entries cannot be overridden by mac learning.- Returns:
java.lang.Boolean
staticConfig
, ornull
if not present
-
getAction
@Nullable java.lang.Class<? extends L2FibAction> getAction()
L2 FIB action. For filter action, entry must be configured as static.- Returns:
java.lang.Class
action
, ornull
if not present
-
isBridgedVirtualInterface
@Nullable java.lang.Boolean isBridgedVirtualInterface()
- Returns:
java.lang.Boolean
bridgedVirtualInterface
, ornull
if not present
-
key
L2FibEntryKey key()
- Specified by:
key
in interfaceorg.opendaylight.yangtools.yang.binding.Identifiable<L2FibEntryKey>
-
-