Interface BgpNeighbors
-
- All Superinterfaces:
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 systemThis 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
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 @Nullable Map<NeighborKey,Neighbor>
getNeighbor()
Return neighbor, ornull
if it is not present.Class<? extends BgpNeighbors>
implementedInterface()
default @NonNull Map<NeighborKey,Neighbor>
nonnullNeighbor()
Return neighbor, or an empty list if it is not present.
-
-
-
Method Detail
-
implementedInterface
Class<? extends BgpNeighbors> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.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
default @NonNull Map<NeighborKey,Neighbor> 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.
-
-