public final class PeerGroupUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static @Nullable PeerGroups |
buildPeerGroups(@NonNull List<BGPPeerState> bgpStateConsumer)
Build Openconfig PeerGroups containing Peer group stats from a list of BGPPeerGroupState.
|
static @NonNull PeerGroup |
buildPeerGroupState(@NonNull String groupId,
@NonNull List<BGPPeerState> groups)
Build Openconfig PeerGroup containing Peer group stats from BGPPeerGroupState.
|
public static @Nullable PeerGroups buildPeerGroups(@NonNull List<BGPPeerState> bgpStateConsumer)
bgpStateConsumer - providing BGPPeerGroupStatepublic static @NonNull PeerGroup buildPeerGroupState(@NonNull String groupId, @NonNull List<BGPPeerState> groups)
groupId - Peer group Idgroups - providing state of the groupCopyright © 2020 OpenDaylight. All rights reserved.