Interface BgpNeighborAfiSafiState
- All Superinterfaces:
BgpNeighborPrefixCountersState
,org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
NeighborAfiSafiStateAugmentation
,State3
@Generated("mdsal-binding-generator")
public interface BgpNeighborAfiSafiState
extends org.opendaylight.yangtools.yang.binding.DataObject, BgpNeighborPrefixCountersState
Operational state on a per-AFI-SAFI basis for a BGP neighbor
This class represents the following YANG schema fragment defined in module openconfig-bgp-operational
grouping bgp-neighbor-afi-safi_state { leaf active { type boolean; } uses bgp-neighbor-prefix-counters_state; }
-
Field Summary
Modifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QName
YANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionReturn active, ornull
if it is not present.Class<? extends BgpNeighborAfiSafiState>
default @NonNull Boolean
Return active, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yang.gen.v1.http.openconfig.net.yang.bgp.operational.rev151009.BgpNeighborPrefixCountersState
getPrefixes, nonnullPrefixes
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
Class<? extends BgpNeighborAfiSafiState> implementedInterface()- Specified by:
implementedInterface
in interfaceBgpNeighborPrefixCountersState
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getActive
Boolean getActive()Return active, ornull
if it is not present.This value indicates whether a particular AFI-SAFI has been succesfully negotiated with the peer. An AFI-SAFI may be enabled in the current running configuration, but a session restart may be required in order to negotiate the new capability.
- Returns:
Boolean
active, ornull
if it is not present.
-
requireActive
Return active, guaranteed to be non-null.This value indicates whether a particular AFI-SAFI has been succesfully negotiated with the peer. An AFI-SAFI may be enabled in the current running configuration, but a session restart may be required in order to negotiate the new capability.
- Returns:
Boolean
active, guaranteed to be non-null.- Throws:
NoSuchElementException
- if active is not present
-