Interface HwvtepConnectionInfoAttributes
- 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:
ConnectionInfo
@Generated("mdsal-binding-generator")
public interface HwvtepConnectionInfoAttributes
extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module hwvtep
grouping hwvtep-connection-info-attributes { leaf remote-ip { type inet:ip-address; } leaf remote-port { type inet:port-number; } leaf local-ip { type inet:ip-address; } leaf local-port { type inet:port-number; } }
-
Field Summary
FieldsModifier 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 localIp, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber
Return localPort, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress
Return remoteIp, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber
Return remotePort, ornull
if it is not present.Class<? extends HwvtepConnectionInfoAttributes>
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress
Return localIp, guaranteed to be non-null.default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber
Return localPort, guaranteed to be non-null.default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress
Return remoteIp, guaranteed to be non-null.default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber
Return remotePort, 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 HwvtepConnectionInfoAttributes> 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
-
getRemoteIp
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress getRemoteIp()Return remoteIp, ornull
if it is not present.Hwvtep Connection Remote IP
- Returns:
IpAddress
remoteIp, ornull
if it is not present.
-
requireRemoteIp
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress requireRemoteIp()Return remoteIp, guaranteed to be non-null.Hwvtep Connection Remote IP
- Returns:
IpAddress
remoteIp, guaranteed to be non-null.- Throws:
NoSuchElementException
- if remoteIp is not present
-
getRemotePort
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber getRemotePort()Return remotePort, ornull
if it is not present.Hwvtep Connection Remote Port Number
- Returns:
PortNumber
remotePort, ornull
if it is not present.
-
requireRemotePort
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber requireRemotePort()Return remotePort, guaranteed to be non-null.Hwvtep Connection Remote Port Number
- Returns:
PortNumber
remotePort, guaranteed to be non-null.- Throws:
NoSuchElementException
- if remotePort is not present
-
getLocalIp
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress getLocalIp()Return localIp, ornull
if it is not present.Hwvtep Connection Local IP
- Returns:
IpAddress
localIp, ornull
if it is not present.
-
requireLocalIp
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress requireLocalIp()Return localIp, guaranteed to be non-null.Hwvtep Connection Local IP
- Returns:
IpAddress
localIp, guaranteed to be non-null.- Throws:
NoSuchElementException
- if localIp is not present
-
getLocalPort
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber getLocalPort()Return localPort, ornull
if it is not present.Hwvtep Connection Local Port Number IP
- Returns:
PortNumber
localPort, ornull
if it is not present.
-
requireLocalPort
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber requireLocalPort()Return localPort, guaranteed to be non-null.Hwvtep Connection Local Port Number IP
- Returns:
PortNumber
localPort, guaranteed to be non-null.- Throws:
NoSuchElementException
- if localPort is not present
-