Interface BgpPeerGroup
- 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:
PeerGroups
@Generated("mdsal-binding-generator")
public interface BgpPeerGroup
extends org.opendaylight.yangtools.binding.Grouping
BGP peer-groups configured on the local system
This class represents the following YANG schema fragment defined in module openconfig-bgp
grouping bgp-peer-group { list peer-group { key peer-group-name; leaf peer-group-name { type string; } uses bgp-neighbor-group; } }
-
Method Summary
Modifier and TypeMethodDescription@Nullable Map
<PeerGroupKey, PeerGroup> Return peerGroup, ornull
if it is not present.default @NonNull Map
<PeerGroupKey, PeerGroup> Return peerGroup, or an empty list if it is not present.Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterface
-
Method Details
-
getPeerGroup
@Nullable Map<PeerGroupKey,PeerGroup> getPeerGroup()Return peerGroup, ornull
if it is not present.List of BGP peer-groups configured on the local system - uniquely identified by peer-group name
- Returns:
Map<PeerGroupKey, PeerGroup>
peerGroup, ornull
if it is not present.
-
nonnullPeerGroup
Return peerGroup, or an empty list if it is not present.- Returns:
Map<PeerGroupKey, PeerGroup>
peerGroup, or an empty list if it is not present.
-