Class GracefulRestartUtil

java.lang.Object
org.opendaylight.protocol.bgp.rib.impl.config.GracefulRestartUtil

@Deprecated public final class GracefulRestartUtil extends Object
Deprecated.
This class is competing with bgp-parser-api's view of GR and will be renamed and/or eliminated.
Helpers for dealing with Graceful Restart capabilities.
  • Method Details

    • getGracefulCapability

      public static CParameters getGracefulCapability(Map<TablesKey,Boolean> tables, int restartTime, boolean localRestarting)
      Deprecated.
    • getLlGracefulCapability

      public static CParameters getLlGracefulCapability(Map<TablesKey,org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.routing.types.rev171204.Uint24> llGracefulRestarts, Predicate<TablesKey> forwardingPredicate)
      Deprecated.
    • getGracefulBgpParameters

      public static BgpParameters getGracefulBgpParameters(List<OptionalCapabilities> fixedCapabilities, Set<TablesKey> gracefulTables, Set<TablesKey> preservedTables, int gracefulRestartTimer, boolean localRestarting, Map<TablesKey,org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.routing.types.rev171204.Uint24> llGraceful, Predicate<TablesKey> llGracefulForwarding)
      Deprecated.