Interface TunnelList

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<TunnelList>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<ItmStateData>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject

    public interface TunnelList
    extends org.opendaylight.yangtools.yang.binding.ChildOf<ItmStateData>, org.opendaylight.yangtools.yang.binding.Augmentable<TunnelList>

    This class represents the following YANG schema fragment defined in module itm-state

     container tunnel-list {
       list internal-tunnel {
         key "source-DPN destination-DPN transport-type";
         leaf source-DPN {
           type uint64;
         }
         leaf destination-DPN {
           type uint64;
         }
         leaf transport-type {
           type identityref {
             base tunnel-type-base;
           }
         }
         leaf-list tunnel-interface-names {
           type string;
         }
       }
     }
     
    The schema path to identify an instance is itm-state/tunnel-list

    To create instances of this class use TunnelListBuilder.

    See Also:
    TunnelListBuilder
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        @Nullable java.util.List<InternalTunnel> getInternalTunnel()
        Returns:
        java.util.List internalTunnel, or null if not present
      • nonnullInternalTunnel

        default @NonNull java.util.List<InternalTunnel> nonnullInternalTunnel()
        Returns:
        java.util.List internalTunnel, or an empty list if it is not present