Interface InterfacePhysHoldtimeConfig
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject,org.opendaylight.yangtools.yang.binding.DataContainer,org.opendaylight.yangtools.yang.binding.DataObject
@Generated("mdsal-binding-generator") public interface InterfacePhysHoldtimeConfig extends org.opendaylight.yangtools.yang.binding.DataObject
Configuration data for interface hold-time settings -- applies to physical interfaces.This class represents the following YANG schema fragment defined in module openconfig-interfaces
grouping interface-phys-holdtime-config { leaf up { type uint32; units milliseconds; default 0; } leaf down { type uint32; units milliseconds; default 0; } }
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QNameQNAMEYANG identifier of the statement represented by this class.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description org.opendaylight.yangtools.yang.common.Uint32getDown()Return down, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint32getUp()Return up, ornullif it is not present.Class<? extends InterfacePhysHoldtimeConfig>implementedInterface()default @NonNull org.opendaylight.yangtools.yang.common.Uint32requireDown()Return down, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32requireUp()Return up, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends InterfacePhysHoldtimeConfig> implementedInterface()
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataContainer- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getUp
org.opendaylight.yangtools.yang.common.Uint32 getUp()
Return up, ornullif it is not present.Dampens advertisement when the interface transitions from down to up. A zero value means dampening is turned off, i.e., immediate notification.- Returns:
Uint32up, ornullif it is not present.
-
requireUp
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireUp()
Return up, guaranteed to be non-null.Dampens advertisement when the interface transitions from down to up. A zero value means dampening is turned off, i.e., immediate notification.- Returns:
Uint32up, guaranteed to be non-null.- Throws:
NoSuchElementException- if up is not present
-
getDown
org.opendaylight.yangtools.yang.common.Uint32 getDown()
Return down, ornullif it is not present.Dampens advertisement when the interface transitions from up to down. A zero value means dampening is turned off, i.e., immediate notification.- Returns:
Uint32down, ornullif it is not present.
-
requireDown
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireDown()
Return down, guaranteed to be non-null.Dampens advertisement when the interface transitions from up to down. A zero value means dampening is turned off, i.e., immediate notification.- Returns:
Uint32down, guaranteed to be non-null.- Throws:
NoSuchElementException- if down is not present
-
-