Class BgpPeerUtil

java.lang.Object
org.opendaylight.protocol.bgp.rib.impl.BgpPeerUtil

public final class BgpPeerUtil extends Object
  • Method Details

    • createEndOfRib

      public static Update createEndOfRib(TablesKey key)
      Creates UPDATE message that contains EOR marker for specified address family.
      Parameters:
      key - of family for which we need EOR
      Returns:
      UPDATE message with EOR marker
    • isEndOfRib

      public static boolean isEndOfRib(UpdateMessage msg)
      Verify presence of EOR marker in UPDATE message.
      Parameters:
      msg - UPDATE message to be checked
      Returns:
      True if message contains EOR marker, otherwise return False