Interface ElanConfig

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

    @Generated("mdsal-binding-generator")
    public interface ElanConfig
    extends org.opendaylight.yangtools.yang.binding.ChildOf<ElanConfigData>, org.opendaylight.yangtools.yang.binding.Augmentable<ElanConfig>

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

     container elan-config {
       leaf auto-create-bridge {
         type boolean;
         default true;
       }
       leaf int-bridge-gen-mac {
         type boolean;
         default true;
       }
       leaf controller-max-backoff {
         type uint32 {
           range 1000..max;
         }
       }
       leaf controller-inactivity-probe {
         type uint32;
       }
       leaf temp-smac-learn-timeout {
         type uint16;
         default 10;
       }
       leaf arp-punt-timeout {
         type uint32;
         default 5;
       }
       leaf punt-lldp-to-controller {
         type boolean;
         default false;
       }
       leaf auto-config-transport-zones {
         type boolean;
         default false;
       }
       leaf use-of-tunnels {
         type boolean;
         default false;
       }
       leaf openstack-vni-semantics-enforced {
         type boolean;
         default true;
       }
       leaf l2gw-stale-vlan-cleanup-delay-secs {
         type uint16;
         default 900;
       }
       leaf l2gw-logical-switch-delay-secs {
         type uint16;
         default 20;
       }
       leaf l2gw-stale-localucastmacs-cleanup-delay-secs {
         type uint16;
         default 600;
       }
     }
     
    The schema path to identify an instance is elan-config/elan-config

    To create instances of this class use ElanConfigBuilder.

    See Also:
    ElanConfigBuilder
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static @NonNull org.opendaylight.yangtools.yang.common.QName QNAME  
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        static int bindingHashCode​(@NonNull ElanConfig obj)
        Default implementation of Object.hashCode() contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent hashing results across all implementations.
        Parameters:
        obj - Object for which to generate hashCode() result.
        Returns:
        Hash code value of data modeled by this interface.
        Throws:
        java.lang.NullPointerException - if obj is null
      • bindingEquals

        static boolean bindingEquals​(@NonNull ElanConfig thisObj,
                                     java.lang.Object obj)
        Default implementation of Object.equals(Object) contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent equality results across all implementations.
        Parameters:
        thisObj - Object acting as the receiver of equals invocation
        obj - Object acting as argument to equals invocation
        Returns:
        True if thisObj and obj are considered equal
        Throws:
        java.lang.NullPointerException - if thisObj is null
      • bindingToString

        static java.lang.String bindingToString​(@NonNull ElanConfig obj)
        Default implementation of Object.toString() contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent string representations across all implementations.
        Parameters:
        obj - Object for which to generate toString() result.
        Returns:
        String value of data modeled by this interface.
        Throws:
        java.lang.NullPointerException - if obj is null
      • getAutoCreateBridge

        java.lang.Boolean getAutoCreateBridge()
        Return autoCreateBridge, or null if it is not present.
             
                 If true, auto-create default bridge
             
         
        Returns:
        java.lang.Boolean autoCreateBridge, or null if it is not present.
      • isAutoCreateBridge

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

        java.lang.Boolean getIntBridgeGenMac()
        Return intBridgeGenMac, or null if it is not present.
             
                 If true, generate a mac, else use the bridge generated mac
             
         
        Returns:
        java.lang.Boolean intBridgeGenMac, or null if it is not present.
      • isIntBridgeGenMac

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

        org.opendaylight.yangtools.yang.common.Uint32 getControllerMaxBackoff()
        Return controllerMaxBackoff, or null if it is not present.
             
                 max_backoff in milliseconds for controller configured on OVS Bridge. A null
                 value means use switch default
             
         
        Returns:
        org.opendaylight.yangtools.yang.common.Uint32 controllerMaxBackoff, or null if it is not present.
      • getControllerInactivityProbe

        org.opendaylight.yangtools.yang.common.Uint32 getControllerInactivityProbe()
        Return controllerInactivityProbe, or null if it is not present.
             
                 inactivity_probe timeout in milliseconds for controller configured on OVS
                 Bridge. null - Use switch default 0 - Disable inactivity probes
             
         
        Returns:
        org.opendaylight.yangtools.yang.common.Uint32 controllerInactivityProbe, or null if it is not present.
      • getTempSmacLearnTimeout

        org.opendaylight.yangtools.yang.common.Uint16 getTempSmacLearnTimeout()
        Return tempSmacLearnTimeout, or null if it is not present.
             
                 Temporary source MAC learning timeout
             
         
        Returns:
        org.opendaylight.yangtools.yang.common.Uint16 tempSmacLearnTimeout, or null if it is not present.
      • getArpPuntTimeout

        org.opendaylight.yangtools.yang.common.Uint32 getArpPuntTimeout()
        Return arpPuntTimeout, or null if it is not present.
             
                 hard timeout value for learnt flows for arp punts (unit - seconds). To turn off
                 the rate limiting and installation of learnt flows, it should be set to 0
             
         
        Returns:
        org.opendaylight.yangtools.yang.common.Uint32 arpPuntTimeout, or null if it is not present.
      • getPuntLldpToController

        java.lang.Boolean getPuntLldpToController()
        Return puntLldpToController, or null if it is not present.
             
                 Determines whether LLDP are punt to controller or dropped
             
         
        Returns:
        java.lang.Boolean puntLldpToController, or null if it is not present.
      • isPuntLldpToController

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

        java.lang.Boolean getAutoConfigTransportZones()
        Return autoConfigTransportZones, or null if it is not present.
             
                 Determines whether transport zones should be automatically created/updated
             
         
        Returns:
        java.lang.Boolean autoConfigTransportZones, or null if it is not present.
      • isAutoConfigTransportZones

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

        java.lang.Boolean getUseOfTunnels()
        Return useOfTunnels, or null if it is not present.
        Returns:
        java.lang.Boolean useOfTunnels, or null if it is not present.
      • isUseOfTunnels

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

        java.lang.Boolean getOpenstackVniSemanticsEnforced()
        Return openstackVniSemanticsEnforced, or null if it is not present.
        Returns:
        java.lang.Boolean openstackVniSemanticsEnforced, or null if it is not present.
      • isOpenstackVniSemanticsEnforced

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

        org.opendaylight.yangtools.yang.common.Uint16 getL2gwStaleVlanCleanupDelaySecs()
        Return l2gwStaleVlanCleanupDelaySecs, or null if it is not present.
             
                 Stale vlan bindings cleanup delay after the southbound node is disconnected
             
         
        Returns:
        org.opendaylight.yangtools.yang.common.Uint16 l2gwStaleVlanCleanupDelaySecs, or null if it is not present.
      • getL2gwLogicalSwitchDelaySecs

        org.opendaylight.yangtools.yang.common.Uint16 getL2gwLogicalSwitchDelaySecs()
        Return l2gwLogicalSwitchDelaySecs, or null if it is not present.
             
                 The delay after which logical switch is deleted after the l2gw connection is
                 deleted
             
         
        Returns:
        org.opendaylight.yangtools.yang.common.Uint16 l2gwLogicalSwitchDelaySecs, or null if it is not present.
      • getL2gwStaleLocalucastmacsCleanupDelaySecs

        org.opendaylight.yangtools.yang.common.Uint16 getL2gwStaleLocalucastmacsCleanupDelaySecs()
        Return l2gwStaleLocalucastmacsCleanupDelaySecs, or null if it is not present.
             
                 The delay after which Stale Local Ucast MAcs is deleted after hwvteps are
                 connected
             
         
        Returns:
        org.opendaylight.yangtools.yang.common.Uint16 l2gwStaleLocalucastmacsCleanupDelaySecs, or null if it is not present.