Class BGPOperationalStateUtils

java.lang.Object
org.opendaylight.protocol.bgp.cli.utils.BGPOperationalStateUtils

public final class BGPOperationalStateUtils extends Object
BGPOperationalStateUtils reads Operational state from DS and prints to stream.
  • 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 broker
      stream - where to print
      ribId - mandatory, Operational State per given RIB Group will be printed if no other parameter is passed
      group - if provided, Operational State per given Neighbor Group will be printed
      neighbor - if provided, Operational State per given Neighbor will be printed