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.QName
QNAME
YANG 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.Uint32
getDown()
Return down, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint32
getUp()
Return up, ornull
if it is not present.Class<? extends InterfacePhysHoldtimeConfig>
implementedInterface()
default @NonNull org.opendaylight.yangtools.yang.common.Uint32
requireDown()
Return down, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32
requireUp()
Return up, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends InterfacePhysHoldtimeConfig> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getUp
org.opendaylight.yangtools.yang.common.Uint32 getUp()
Return up, ornull
if 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:
Uint32
up, ornull
if 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:
Uint32
up, guaranteed to be non-null.- Throws:
NoSuchElementException
- if up is not present
-
getDown
org.opendaylight.yangtools.yang.common.Uint32 getDown()
Return down, ornull
if 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:
Uint32
down, ornull
if 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:
Uint32
down, guaranteed to be non-null.- Throws:
NoSuchElementException
- if down is not present
-
-