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-key

    To create instances of this class use SourceDestKeyBuilder.

    See Also:
    SourceDestKeyBuilder
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

        default java.lang.Class<SourceDestKey> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.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, or null 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, or null if not present