Class BGPOperationalStateUtils
java.lang.Object
org.opendaylight.protocol.bgp.cli.utils.BGPOperationalStateUtils
BGPOperationalStateUtils reads Operational state from DS and prints to stream.
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
displayBgpOperationalState
(@NonNull org.opendaylight.mdsal.binding.api.DataBroker dataBroker, @NonNull PrintStream stream, @NonNull String ribId, @Nullable String group, @Nullable String neighbor) Display to stream operational state, rib Id is mandatory.
-
Method Details
-
displayBgpOperationalState
public static void displayBgpOperationalState(@NonNull org.opendaylight.mdsal.binding.api.DataBroker dataBroker, @NonNull PrintStream stream, @NonNull String ribId, @Nullable String group, @Nullable String neighbor) Display to stream operational state, rib Id is mandatory.- Parameters:
dataBroker
- data brokerstream
- where to printribId
- mandatory, Operational State per given RIB Group will be printed if no other parameter is passedgroup
- if provided, Operational State per given Neighbor Group will be printedneighbor
- if provided, Operational State per given Neighbor will be printed
-