[BGPCEP-842] Graceful-restart failure scenarios Created: 07/Nov/18 Updated: 26/Nov/18 Resolved: 26/Nov/18 |
|
| Status: | Verified |
| Project: | bgpcep |
| Component/s: | BGP |
| Affects Version/s: | Neon |
| Fix Version/s: | Neon |
| Type: | Bug | Priority: | Medium |
| Reporter: | Tomas Markovic | Assignee: | Matej Perina |
| Resolution: | Done | Votes: | 0 |
| Labels: | bgp | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Description |
|
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 ./start_play4.sh We expect peer to reconnect however connection is Ceased |