Interface TunnelOptionalParams

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

    @Generated("mdsal-binding-generator")
    public interface TunnelOptionalParams
    extends org.opendaylight.yangtools.yang.binding.DataObject

    This class represents the following YANG schema fragment defined in module odl-interface

     grouping tunnel-optional-params {
       leaf tunnel-source-ip-flow {
         type boolean;
         default false;
       }
       leaf tunnel-remote-ip-flow {
         type boolean;
         default false;
       }
       leaf weight {
         type uint16;
         default 1;
       }
       list tunnel-options {
         key tunnel-option;
         leaf tunnel-option {
           type string;
         }
         leaf value {
           type string;
         }
       }
     }
     
    The schema path to identify an instance is odl-interface/tunnel-optional-params
    • Field Detail

      • QNAME

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

      • implementedInterface

        java.lang.Class<? extends TunnelOptionalParams> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getTunnelSourceIpFlow

        java.lang.Boolean getTunnelSourceIpFlow()
        Return tunnelSourceIpFlow, or null if it is not present.
             
                 Use local_ip=flow for this tunnel
             
         
        Returns:
        java.lang.Boolean tunnelSourceIpFlow, or null if it is not present.
      • isTunnelSourceIpFlow

        @Deprecated(forRemoval=true)
        default java.lang.Boolean isTunnelSourceIpFlow()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • getTunnelRemoteIpFlow

        java.lang.Boolean getTunnelRemoteIpFlow()
        Return tunnelRemoteIpFlow, or null if it is not present.
             
                 Use remote_ip=flow for this tunnel
             
         
        Returns:
        java.lang.Boolean tunnelRemoteIpFlow, or null if it is not present.
      • isTunnelRemoteIpFlow

        @Deprecated(forRemoval=true)
        default java.lang.Boolean isTunnelRemoteIpFlow()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • getWeight

        org.opendaylight.yangtools.yang.common.Uint16 getWeight()
        Return weight, or null if it is not present.
             
                 Bucket weight if tunnel belongs to OF select group
             
         
        Returns:
        org.opendaylight.yangtools.yang.common.Uint16 weight, or null if it is not present.
      • getTunnelOptions

        @Nullable java.util.Map<TunnelOptionsKey,​TunnelOptions> getTunnelOptions()
        Return tunnelOptions, or null if it is not present.
        Returns:
        java.util.Map tunnelOptions, or null if it is not present.
      • nonnullTunnelOptions

        default @NonNull java.util.Map<TunnelOptionsKey,​TunnelOptions> nonnullTunnelOptions()
        Return tunnelOptions, or an empty list if it is not present.
        Returns:
        java.util.Map tunnelOptions, or an empty list if it is not present.