use of org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.openconfig.extensions.rev180329.network.instance.protocol.PeerGroupStateAugmentation in project bgpcep by opendaylight.
the class PeerGroupStateCliUtils method displayState.
private static void displayState(final PeerGroup group, final ShellTable table) {
addHeader(table, "Peer Group state");
table.addRow().addContent("Peer Group Name", group.getPeerGroupName());
final State state = group.getState();
if (state == null) {
return;
}
final PeerGroupStateAugmentation aug = state.augmentation(PeerGroupStateAugmentation.class);
table.addRow().addContent("Total Prefixes", aug.getTotalPrefixes());
}
Aggregations