Interface InternalTunnel

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

    public interface InternalTunnel
    extends org.opendaylight.yangtools.yang.binding.ChildOf<TunnelList>, org.opendaylight.yangtools.yang.binding.Augmentable<InternalTunnel>, org.opendaylight.yangtools.yang.binding.Identifiable<InternalTunnelKey>

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

     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/internal-tunnel

    To create instances of this class use InternalTunnelBuilder.

    See Also:
    InternalTunnelBuilder, InternalTunnelKey
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        @Nullable org.opendaylight.yangtools.yang.common.Uint64 getSourceDPN()
        Returns:
        org.opendaylight.yangtools.yang.common.Uint64 sourceDPN, or null if not present
      • getDestinationDPN

        @Nullable org.opendaylight.yangtools.yang.common.Uint64 getDestinationDPN()
        Returns:
        org.opendaylight.yangtools.yang.common.Uint64 destinationDPN, or null if not present
      • getTransportType

        @Nullable java.lang.Class<? extends TunnelTypeBase> getTransportType()
        Returns:
        java.lang.Class transportType, or null if not present
      • getTunnelInterfaceNames

        @Nullable java.util.List<java.lang.String> getTunnelInterfaceNames()
        Returns:
        java.util.List tunnelInterfaceNames, or null if not present