Interface SourceDestKey
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<SourceDestKey>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ChildOf<LispAddress>
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
public interface SourceDestKey extends org.opendaylight.yangtools.yang.binding.ChildOf<LispAddress>, org.opendaylight.yangtools.yang.binding.Augmentable<SourceDestKey>
Source/Dest LCAF type.This class represents the following YANG schema fragment defined in module ietf-lisp-address-types
container source-dest-key { when "../address-type = 'laddr:source-dest-key-lcaf'" { } leaf source { type simple-address; } leaf dest { type simple-address; } }
The schema path to identify an instance is ietf-lisp-address-types/lisp-address/address/source-dest-key/source-dest-keyTo create instances of this class use
SourceDestKeyBuilder
.- See Also:
SourceDestKeyBuilder
-
-
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 SimpleAddress
getDest()
Destination address.SimpleAddress
getSource()
Source address.default java.lang.Class<SourceDestKey>
implementedInterface()
-
-
-
Method Detail
-
implementedInterface
default java.lang.Class<SourceDestKey> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getSource
SimpleAddress getSource()
Source address.- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.lisp.address.types.rev151105.SimpleAddress
source
, ornull
if not present
-
getDest
SimpleAddress getDest()
Destination address.- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.lisp.address.types.rev151105.SimpleAddress
dest
, ornull
if not present
-
-