Interface BgpNeighbors
- All Superinterfaces:
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:
Neighbors
@Generated("mdsal-binding-generator")
public interface BgpNeighbors
extends org.opendaylight.yangtools.yang.binding.DataObject
BGP neighbors configured on the local system
This class represents the following YANG schema fragment defined in module openconfig-bgp
grouping bgp-neighbors { list neighbor { key neighbor-address; leaf neighbor-address { type inet:ip-address; } uses bgp-neighbor-group; } }
-
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 TypeMethodDescription@Nullable Map<NeighborKey,
Neighbor> Return neighbor, ornull
if it is not present.Class<? extends BgpNeighbors>
default @NonNull Map<NeighborKey,
Neighbor> Return neighbor, or an empty list if it is not present.
-
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 BgpNeighbors> implementedInterface()- 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
-
getNeighbor
@Nullable Map<NeighborKey,Neighbor> getNeighbor()Return neighbor, ornull
if it is not present.List of BGP neighbors configured on the local system, uniquely identified by peer IPv[46] address
- Returns:
Map<NeighborKey, Neighbor>
neighbor, ornull
if it is not present.
-
nonnullNeighbor
Return neighbor, or an empty list if it is not present.- Returns:
Map<NeighborKey, Neighbor>
neighbor, or an empty list if it is not present.
-