Interface ItmConfigData

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.DataRoot

    @Generated("mdsal-binding-generator")
    public interface ItmConfigData
    extends org.opendaylight.yangtools.yang.binding.DataRoot
    This YANG module defines automatic tunnel configuration.

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

     module itm-config {
       namespace urn:opendaylight:genius:itm:config;
       prefix itm-config;
       import odl-interface {
         prefix odlif;
       }
       revision 2016-04-06;
       container tunnel-monitor-params {
         leaf enabled {
           type boolean;
           default false;
         }
         leaf monitor-protocol {
           type identityref {
             base tunnel-monitoring-type-base;
           }
           default odlif:tunnel-monitoring-type-bfd;
         }
       }
       container tunnel-monitor-interval {
         leaf interval {
           type uint16 {
             range 1000..30000;
           }
         }
       }
       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;
         }
       }
     }
     
    • Method Detail

      • getTunnelMonitorParams

        TunnelMonitorParams getTunnelMonitorParams()
        Return tunnelMonitorParams, or null if it is not present.
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.genius.itm.config.rev160406.TunnelMonitorParams tunnelMonitorParams, or null if it is not present.
      • getTunnelMonitorInterval

        TunnelMonitorInterval getTunnelMonitorInterval()
        Return tunnelMonitorInterval, or null if it is not present.
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.genius.itm.config.rev160406.TunnelMonitorInterval tunnelMonitorInterval, or null if it is not present.
      • getItmConfig

        ItmConfig getItmConfig()
        Return itmConfig, or null if it is not present.
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.genius.itm.config.rev160406.ItmConfig itmConfig, or null if it is not present.