Interface ItmConfig

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

    public interface ItmConfig
    extends org.opendaylight.yangtools.yang.binding.ChildOf<ItmConfigData>, org.opendaylight.yangtools.yang.binding.Augmentable<ItmConfig>

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

     container itm-config {
       leaf def-tz-enabled {
         type boolean;
         default false;
       }
       leaf def-tz-tunnel-type {
         type string;
         default vxlan;
       }
       list tunnel-aggregation {
         key tunnel-type;
         leaf tunnel-type {
           type string;
         }
         leaf enabled {
           type boolean;
           default false;
         }
       }
       leaf default-tunnel-tos {
         type string {
           length 1..8;
         }
         default 0;
       }
       leaf gpe-extension-enabled {
         type boolean;
         default false;
       }
       leaf use-of-tunnels {
         type boolean;
         default false;
       }
       leaf vlan-id {
         type uint16 {
           range 0..4094;
         }
       }
       leaf portname {
         type string;
       }
       leaf batch-interval {
         type uint16;
       }
       leaf batch-size {
         type uint16;
       }
     }
     
    The schema path to identify an instance is itm-config/itm-config

    To create instances of this class use ItmConfigBuilder.

    See Also:
    ItmConfigBuilder
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        @Nullable java.lang.Boolean isDefTzEnabled()
        Returns:
        java.lang.Boolean defTzEnabled, or null if not present
      • getDefTzTunnelType

        @Nullable java.lang.String getDefTzTunnelType()
        Returns:
        java.lang.String defTzTunnelType, or null if not present
      • getTunnelAggregation

        @Nullable java.util.List<TunnelAggregation> getTunnelAggregation()
        Returns:
        java.util.List tunnelAggregation, or null if not present
      • nonnullTunnelAggregation

        default @NonNull java.util.List<TunnelAggregation> nonnullTunnelAggregation()
        Returns:
        java.util.List tunnelAggregation, or an empty list if it is not present
      • getDefaultTunnelTos

        @Nullable java.lang.String getDefaultTunnelTos()
        Default value of ToS bits to be set on the encapsulating packet. The value of 'inherit' will copy the DSCP value from inner IPv4 or IPv6 packets. When ToS is given as a numberic value, the least significant two bits will be ignored.
        Returns:
        java.lang.String defaultTunnelTos, or null if not present
      • isGpeExtensionEnabled

        @Nullable java.lang.Boolean isGpeExtensionEnabled()
        Enable the GPE extension for VXLAN tunnel interfaces configured through ITM.
        Returns:
        java.lang.Boolean gpeExtensionEnabled, or null if not present
      • isUseOfTunnels

        @Nullable java.lang.Boolean isUseOfTunnels()
        Enable OF tunnels on ITM Direct Tunnel.
        Returns:
        java.lang.Boolean useOfTunnels, or null if not present
      • getVlanId

        @Nullable org.opendaylight.yangtools.yang.common.Uint16 getVlanId()
        Returns:
        org.opendaylight.yangtools.yang.common.Uint16 vlanId, or null if not present
      • getPortname

        @Nullable java.lang.String getPortname()
        Returns:
        java.lang.String portname, or null if not present
      • getBatchInterval

        @Nullable org.opendaylight.yangtools.yang.common.Uint16 getBatchInterval()
        Returns:
        org.opendaylight.yangtools.yang.common.Uint16 batchInterval, or null if not present
      • getBatchSize

        @Nullable org.opendaylight.yangtools.yang.common.Uint16 getBatchSize()
        Returns:
        org.opendaylight.yangtools.yang.common.Uint16 batchSize, or null if not present