]> git.proxmox.com Git - mirror_frr.git/commit
tests: add OSPF graceful restart topotest
authorRenato Westphal <renato@opensourcerouting.org>
Mon, 31 May 2021 13:27:51 +0000 (10:27 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Mon, 5 Jul 2021 14:43:02 +0000 (11:43 -0300)
commitb2a2107adee0062a422f60d9c2dc9b5888c2978f
treedf515bea0b182623613bad92b8c23163fbbd9691
parent5957a1a11ff748f357bd87ab401f228ea0f36391
tests: add OSPF graceful restart topotest

Add a new topotest that features a topology with seven routers spread
across four OSPF areas:
* 1 backbone area;
* 1 regular non-backbone area (0.0.0.1);
* 1 stub area (0.0.0.2);
* 1 NSSA area (0.0.0.3).

All routers have both GR and GR helper functionality enabled in
the configuration. The test consists of restarting each router,
one at time, and checking that all forwarding planes (and LSDBs)
are kept intact during those restarts.

A successful run takes about three minutes to finish.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
44 files changed:
tests/topotests/ospf_gr_topo1/__init__.py [new file with mode: 0644]
tests/topotests/ospf_gr_topo1/rt1/ospfd.conf [new file with mode: 0644]
tests/topotests/ospf_gr_topo1/rt1/show_ip_ospf_database.json [new file with mode: 0644]
tests/topotests/ospf_gr_topo1/rt1/show_ip_ospf_neighbor.json [new file with mode: 0644]
tests/topotests/ospf_gr_topo1/rt1/show_ip_ospf_route.json [new file with mode: 0644]
tests/topotests/ospf_gr_topo1/rt1/show_ip_route.json [new file with mode: 0644]
tests/topotests/ospf_gr_topo1/rt1/zebra.conf [new file with mode: 0644]
tests/topotests/ospf_gr_topo1/rt2/ospfd.conf [new file with mode: 0644]
tests/topotests/ospf_gr_topo1/rt2/show_ip_ospf_database.json [new file with mode: 0644]
tests/topotests/ospf_gr_topo1/rt2/show_ip_ospf_neighbor.json [new file with mode: 0644]
tests/topotests/ospf_gr_topo1/rt2/show_ip_ospf_route.json [new file with mode: 0644]
tests/topotests/ospf_gr_topo1/rt2/show_ip_route.json [new file with mode: 0644]
tests/topotests/ospf_gr_topo1/rt2/zebra.conf [new file with mode: 0644]
tests/topotests/ospf_gr_topo1/rt3/ospfd.conf [new file with mode: 0644]
tests/topotests/ospf_gr_topo1/rt3/show_ip_ospf_database.json [new file with mode: 0644]
tests/topotests/ospf_gr_topo1/rt3/show_ip_ospf_neighbor.json [new file with mode: 0644]
tests/topotests/ospf_gr_topo1/rt3/show_ip_ospf_route.json [new file with mode: 0644]
tests/topotests/ospf_gr_topo1/rt3/show_ip_route.json [new file with mode: 0644]
tests/topotests/ospf_gr_topo1/rt3/zebra.conf [new file with mode: 0644]
tests/topotests/ospf_gr_topo1/rt4/ospfd.conf [new file with mode: 0644]
tests/topotests/ospf_gr_topo1/rt4/show_ip_ospf_database.json [new file with mode: 0644]
tests/topotests/ospf_gr_topo1/rt4/show_ip_ospf_neighbor.json [new file with mode: 0644]
tests/topotests/ospf_gr_topo1/rt4/show_ip_ospf_route.json [new file with mode: 0644]
tests/topotests/ospf_gr_topo1/rt4/show_ip_route.json [new file with mode: 0644]
tests/topotests/ospf_gr_topo1/rt4/zebra.conf [new file with mode: 0644]
tests/topotests/ospf_gr_topo1/rt5/ospfd.conf [new file with mode: 0644]
tests/topotests/ospf_gr_topo1/rt5/show_ip_ospf_database.json [new file with mode: 0644]
tests/topotests/ospf_gr_topo1/rt5/show_ip_ospf_neighbor.json [new file with mode: 0644]
tests/topotests/ospf_gr_topo1/rt5/show_ip_ospf_route.json [new file with mode: 0644]
tests/topotests/ospf_gr_topo1/rt5/show_ip_route.json [new file with mode: 0644]
tests/topotests/ospf_gr_topo1/rt5/zebra.conf [new file with mode: 0644]
tests/topotests/ospf_gr_topo1/rt6/ospfd.conf [new file with mode: 0644]
tests/topotests/ospf_gr_topo1/rt6/show_ip_ospf_database.json [new file with mode: 0644]
tests/topotests/ospf_gr_topo1/rt6/show_ip_ospf_neighbor.json [new file with mode: 0644]
tests/topotests/ospf_gr_topo1/rt6/show_ip_ospf_route.json [new file with mode: 0644]
tests/topotests/ospf_gr_topo1/rt6/show_ip_route.json [new file with mode: 0644]
tests/topotests/ospf_gr_topo1/rt6/zebra.conf [new file with mode: 0644]
tests/topotests/ospf_gr_topo1/rt7/ospfd.conf [new file with mode: 0644]
tests/topotests/ospf_gr_topo1/rt7/show_ip_ospf_database.json [new file with mode: 0644]
tests/topotests/ospf_gr_topo1/rt7/show_ip_ospf_neighbor.json [new file with mode: 0644]
tests/topotests/ospf_gr_topo1/rt7/show_ip_ospf_route.json [new file with mode: 0644]
tests/topotests/ospf_gr_topo1/rt7/show_ip_route.json [new file with mode: 0644]
tests/topotests/ospf_gr_topo1/rt7/zebra.conf [new file with mode: 0644]
tests/topotests/ospf_gr_topo1/test_ospf_gr_topo1.py [new file with mode: 0755]