Interface InterfacePhysHoldtimeConfig
- All Superinterfaces:
org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>
,org.opendaylight.yangtools.binding.BindingObject
,org.opendaylight.yangtools.binding.DataContainer
,org.opendaylight.yangtools.binding.Grouping
@Generated("mdsal-binding-generator")
public interface InterfacePhysHoldtimeConfig
extends org.opendaylight.yangtools.binding.Grouping
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; } }
-
Method Summary
Modifier and TypeMethodDescriptionorg.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.default @NonNull org.opendaylight.yangtools.yang.common.Uint32
Return down, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32
Return up, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterface
-
Method Details
-
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
-