Interface MacEntry
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<MacEntry>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ChildOf<ForwardingEntries>
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
,org.opendaylight.yangtools.yang.binding.Identifiable<MacEntryKey>
public interface MacEntry extends org.opendaylight.yangtools.yang.binding.ChildOf<ForwardingEntries>, org.opendaylight.yangtools.yang.binding.Augmentable<MacEntry>, org.opendaylight.yangtools.yang.binding.Identifiable<MacEntryKey>
Details of a MAC addressThis class represents the following YANG schema fragment defined in module elan
list mac-entry { key mac-address; leaf mac-address { type yang:phys-address; } leaf interface { type leafref { path /if:interfaces/if:interface/if:name; } } leaf controllerLearnedForwardingEntryTimestamp { type uint64; } leaf isStaticAddress { type boolean; } leaf ip-prefix { type inet:ip-address; } }
The schema path to identify an instance is elan/forwarding-entries/mac-entryTo create instances of this class use
MacEntryBuilder
.- See Also:
MacEntryBuilder
,MacEntryKey
-
-
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 org.opendaylight.yangtools.yang.common.Uint64
getControllerLearnedForwardingEntryTimestamp()
@Nullable java.lang.String
getInterface()
@Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress
getIpPrefix()
@Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.PhysAddress
getMacAddress()
default java.lang.Class<MacEntry>
implementedInterface()
@Nullable java.lang.Boolean
isIsStaticAddress()
MacEntryKey
key()
-
-
-
Method Detail
-
implementedInterface
default java.lang.Class<MacEntry> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getMacAddress
@Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.PhysAddress getMacAddress()
- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.PhysAddress
macAddress
, ornull
if not present
-
getInterface
@Nullable java.lang.String getInterface()
- Returns:
java.lang.String
interface
, ornull
if not present
-
getControllerLearnedForwardingEntryTimestamp
@Nullable org.opendaylight.yangtools.yang.common.Uint64 getControllerLearnedForwardingEntryTimestamp()
- Returns:
org.opendaylight.yangtools.yang.common.Uint64
controllerLearnedForwardingEntryTimestamp
, ornull
if not present
-
isIsStaticAddress
@Nullable java.lang.Boolean isIsStaticAddress()
- Returns:
java.lang.Boolean
isStaticAddress
, ornull
if not present
-
getIpPrefix
@Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress getIpPrefix()
- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress
ipPrefix
, ornull
if not present
-
key
MacEntryKey key()
- Specified by:
key
in interfaceorg.opendaylight.yangtools.yang.binding.Identifiable<MacEntryKey>
-
-