Interface HwvtepPhysicalLocatorAttributes
- 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:
HwvtepArpSourcesAttributes
,HwvtepPhysicalLocatorAugmentation
,LocalArpSources
,RemoteArpSources
@Generated("mdsal-binding-generator")
public interface HwvtepPhysicalLocatorAttributes
extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module hwvtep
grouping hwvtep-physical-locator-attributes { leaf physical-locator-uuid { type yang:uuid; } leaf encapsulation-type { type encapsulation-type; } leaf dst-ip { type inet:ip-address; } }
-
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
getDstIp()
Return dstIp, ornull
if it is not present.Return encapsulationType, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
Return physicalLocatorUuid, ornull
if it is not present.Class<? extends HwvtepPhysicalLocatorAttributes>
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress
Return dstIp, guaranteed to be non-null.default @NonNull EncapsulationTypeBase
Return encapsulationType, guaranteed to be non-null.default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
Return physicalLocatorUuid, 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 HwvtepPhysicalLocatorAttributes> 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
-
getPhysicalLocatorUuid
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getPhysicalLocatorUuid()Return physicalLocatorUuid, ornull
if it is not present.The unique identifier of the physical-locator
- Returns:
Uuid
physicalLocatorUuid, ornull
if it is not present.
-
requirePhysicalLocatorUuid
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid requirePhysicalLocatorUuid()Return physicalLocatorUuid, guaranteed to be non-null.The unique identifier of the physical-locator
- Returns:
Uuid
physicalLocatorUuid, guaranteed to be non-null.- Throws:
NoSuchElementException
- if physicalLocatorUuid is not present
-
getEncapsulationType
EncapsulationTypeBase getEncapsulationType()Return encapsulationType, ornull
if it is not present.Encapsulation type used by this locator
- Returns:
EncapsulationTypeBase
encapsulationType, ornull
if it is not present.
-
requireEncapsulationType
Return encapsulationType, guaranteed to be non-null.Encapsulation type used by this locator
- Returns:
EncapsulationTypeBase
encapsulationType, guaranteed to be non-null.- Throws:
NoSuchElementException
- if encapsulationType is not present
-
getDstIp
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress getDstIp()Return dstIp, ornull
if it is not present.IP address of the locator
- Returns:
IpAddress
dstIp, ornull
if it is not present.
-
requireDstIp
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress requireDstIp()Return dstIp, guaranteed to be non-null.IP address of the locator
- Returns:
IpAddress
dstIp, guaranteed to be non-null.- Throws:
NoSuchElementException
- if dstIp is not present
-