Interface ExplicitLocatorPath

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<ExplicitLocatorPath>, 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 ExplicitLocatorPath
    extends org.opendaylight.yangtools.yang.binding.ChildOf<LispAddress>, org.opendaylight.yangtools.yang.binding.Augmentable<ExplicitLocatorPath>
    Explicit Locator Path LCAF type.

    This class represents the following YANG schema fragment defined in module ietf-lisp-address-types

     container explicit-locator-path {
       when "../address-type = 'laddr:explicit-locator-path-lcaf'" {
       }
       list hop {
         key hop-id;
         ordered-by user;
         leaf hop-id {
           type string;
         }
         leaf address {
           type simple-address;
         }
         leaf lrs-bits {
           type bits {
             bit lookup {
             }
             bit rloc-probe {
             }
             bit strict {
             }
           }
         }
       }
     }
     
    The schema path to identify an instance is ietf-lisp-address-types/lisp-address/address/explicit-locator-path/explicit-locator-path

    To create instances of this class use ExplicitLocatorPathBuilder.

    See Also:
    ExplicitLocatorPathBuilder
    • Field Detail

      • QNAME

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

      • implementedInterface

        default java.lang.Class<ExplicitLocatorPath> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getHop

        @Nullable java.util.List<Hop> getHop()
        List of locator hops forming the explicit path.
        Returns:
        java.util.List hop, or null if not present
      • nonnullHop

        default @NonNull java.util.List<Hop> nonnullHop()
        Returns:
        java.util.List hop, or an empty list if it is not present