Uploaded image for project: 'bgpcep'
  1. bgpcep
  2. BGPCEP-842

Graceful-restart failure scenarios

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • Neon
    • Neon
    • BGP

      First scenario: Configure ODL with GR (graceful-restart), connect peer and send route, kill peer and wait 10sec based on reset-timer for routes to diseappear.

      Steps to reproduce:

      Prerequisites: Odl running with features:

      feature:install odl-restconf odl-bgpcep-bgp odl-bgpcep-bgp-config-example
      

      1. Configure peers

       ./configure.py
      

      2. start play.py

      ./start_play1.py
      

      3. Kill play.py with

      Ctrl+C
      

      4. Wait for rroutes to diseapper for RIB, we can check with simple request (Requires jq > sudo apt-get install jq)

      curl -H "Accept: application/json" -u admin:admin "http://localhost:8181/restconf/operational/bgp-rib:bgp-rib/rib/example-bgp-rib" | jq "."
      

      Second scenario: Reconnecting after graceful restart (ODL is Listener)

      1. Repeat first 2 steps from First scenario
      2. Start second play.py

      ./start_play4.sh
      

      We expect peer to reconnect however connection is Ceased
      At this point we can watch karaf logs, and/or wireshark results

        1. configure.py
          4 kB
        2. play.py
          94 kB
        3. play2.py
          93 kB
        4. start_play1.sh
          0.2 kB
        5. start_play4.sh
          0.2 kB

            matej.perina Matej Perina
            tomas.markovic Tomas Markovic
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: