Interface ExternalTunnel

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<ExternalTunnel>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<ExternalTunnelList>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, org.opendaylight.yangtools.yang.binding.Identifiable<ExternalTunnelKey>

    public interface ExternalTunnel
    extends org.opendaylight.yangtools.yang.binding.ChildOf<ExternalTunnelList>, org.opendaylight.yangtools.yang.binding.Augmentable<ExternalTunnel>, org.opendaylight.yangtools.yang.binding.Identifiable<ExternalTunnelKey>

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

     list external-tunnel {
       key "source-device destination-device transport-type";
       leaf source-device {
         type string;
       }
       leaf destination-device {
         type string;
       }
       leaf transport-type {
         type identityref {
           base tunnel-type-base;
         }
       }
       leaf tunnel-interface-name {
         type string;
       }
     }
     
    The schema path to identify an instance is itm-state/external-tunnel-list/external-tunnel

    To create instances of this class use ExternalTunnelBuilder.

    See Also:
    ExternalTunnelBuilder, ExternalTunnelKey
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        @Nullable java.lang.String getSourceDevice()
        Returns:
        java.lang.String sourceDevice, or null if not present
      • getDestinationDevice

        @Nullable java.lang.String getDestinationDevice()
        Returns:
        java.lang.String destinationDevice, or null if not present
      • getTransportType

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

        @Nullable java.lang.String getTunnelInterfaceName()
        Returns:
        java.lang.String tunnelInterfaceName, or null if not present