Interface BgpNeighborState
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
NeighborStateAugmentation
,State8
public interface BgpNeighborState extends org.opendaylight.yangtools.yang.binding.DataObject
Grouping containing operational state variables relating to a BGP neighborThis class represents the following YANG schema fragment defined in module openconfig-bgp-operational
grouping bgp-neighbor_state { leaf session-state { type enumeration { enum IDLE { } enum CONNECT { } enum ACTIVE { } enum OPENSENT { } enum OPENCONFIRM { } enum ESTABLISHED { } } } leaf-list supported-capabilities { type identityref { base bgp-capability; } } }
The schema path to identify an instance is openconfig-bgp-operational/bgp-neighbor_state
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
BgpNeighborState.SessionState
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BgpNeighborState.SessionState
getSessionState()
Operational state of the BGP peer@Nullable List<Class<? extends BgpCapability>>
getSupportedCapabilities()
BGP capabilities negotiated as supported with the peerClass<? extends BgpNeighborState>
implementedInterface()
-
-
-
Method Detail
-
implementedInterface
Class<? extends BgpNeighborState> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getSessionState
BgpNeighborState.SessionState getSessionState()
Operational state of the BGP peer- Returns:
org.opendaylight.yang.gen.v1.http.openconfig.net.yang.bgp.operational.rev151009.BgpNeighborState.SessionState
sessionState
, ornull
if not present
-
getSupportedCapabilities
@Nullable List<Class<? extends BgpCapability>> getSupportedCapabilities()
BGP capabilities negotiated as supported with the peer- Returns:
java.util.List
supportedCapabilities
, ornull
if not present
-
-