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