Interface BgpNeighbors
- 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
- All Known Subinterfaces:
Neighbors
@Generated("mdsal-binding-generator")
public interface BgpNeighbors
extends org.opendaylight.yangtools.binding.Grouping
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; } }
-
Method Summary
Modifier and TypeMethodDescription@Nullable Map
<NeighborKey, Neighbor> Return neighbor, ornull
if it is not present.default @NonNull Map
<NeighborKey, Neighbor> Return neighbor, or an empty list if it is not present.Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterface
-
Method Details
-
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.
-