Interface HwvtepUcastMacTableAttributes
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
LocalUcastMacs
,RemoteUcastMacs
@Generated("mdsal-binding-generator")
public interface HwvtepUcastMacTableAttributes
extends org.opendaylight.yangtools.yang.binding.DataObject
Unicast mac table attributes
This class represents the following YANG schema fragment defined in module hwvtep
grouping hwvtep-ucast-mac-table-attributes { leaf ipaddr { type inet:ip-address; } leaf locator-ref { type hwvtep-physical-locator-ref; } }
-
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 TypeMethodDescriptionorg.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress
Return ipaddr, ornull
if it is not present.Return locatorRef, ornull
if it is not present.Class<? extends HwvtepUcastMacTableAttributes>
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress
Return ipaddr, guaranteed to be non-null.default @NonNull HwvtepPhysicalLocatorRef
Return locatorRef, guaranteed to be non-null.
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
Class<? extends HwvtepUcastMacTableAttributes> 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
-
getIpaddr
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress getIpaddr()Return ipaddr, ornull
if it is not present.Optional IP address associated with the mac
- Returns:
IpAddress
ipaddr, ornull
if it is not present.
-
requireIpaddr
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress requireIpaddr()Return ipaddr, guaranteed to be non-null.Optional IP address associated with the mac
- Returns:
IpAddress
ipaddr, guaranteed to be non-null.- Throws:
NoSuchElementException
- if ipaddr is not present
-
getLocatorRef
HwvtepPhysicalLocatorRef getLocatorRef()Return locatorRef, ornull
if it is not present.Reference to the physical locator to reach this entry
- Returns:
HwvtepPhysicalLocatorRef
locatorRef, ornull
if it is not present.
-
requireLocatorRef
Return locatorRef, guaranteed to be non-null.Reference to the physical locator to reach this entry
- Returns:
HwvtepPhysicalLocatorRef
locatorRef, guaranteed to be non-null.- Throws:
NoSuchElementException
- if locatorRef is not present
-