Interface TunnelLinkAttributes

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
    All Known Subinterfaces:
    Link1

    @Generated("mdsal-binding-generator")
    public interface TunnelLinkAttributes
    extends org.opendaylight.yangtools.yang.binding.DataObject
    A topology link which is actually a tunnel has additional attributes.

    This class represents the following YANG schema fragment defined in module topology-tunnel

     grouping tunnel-link-attributes {
       container tunnel-types {
         config false;
       }
       leaf-list paths {
         config false;
         type path-ref;
       }
     }
     
    The schema path to identify an instance is topology-tunneltunnel-link-attributes
    • Field Detail

      • QNAME

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

      • implementedInterface

        Class<? extends TunnelLinkAttributes> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getTunnelTypes

        TunnelTypes getTunnelTypes()
        Return tunnelTypes, or null if it is not present.
             
                 A tunnel can have multiple traits, each of which is indicated by a presence
                 container under this one. Such containers should not carry any data.
             
         
        Returns:
        TunnelTypes tunnelTypes, or null if it is not present.
      • getPaths

        @Nullable List<PathId> getPaths()
        Return paths, or null if it is not present.
             
                 List of paths associated with this tunnel. The exact relationship between the
                 tunnel and these paths is technology-specific.
             
         
        Returns:
        List<PathId> paths, or null if it is not present.
      • requirePaths

        default @NonNull List<PathId> requirePaths()
        Return paths, guaranteed to be non-null.
             
                 List of paths associated with this tunnel. The exact relationship between the
                 tunnel and these paths is technology-specific.
             
         
        Returns:
        List<PathId> paths, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if paths is not present