summaryrefslogtreecommitdiff
path: root/tests/topotests/bgp_rfapi_basic_sanity
AgeCommit message (Collapse)Author
2020-11-25topotests: precise importation folderPhilippe Guibert
the topolog importation folder must be precised. otherwise following error message appears: root@dut-vm:~/topotests/bgp_flowspec# python3 test_bgp_flowspec_topo.py Traceback (most recent call last): File "test_bgp_flowspec_topo.py", line 96, in <module> from lib.lutil import lUtil File "/root/topotests/bgp_flowspec/../lib/lutil.py", line 25, in <module> from topolog import logger ImportError: No module named 'topolog' root@dut-vm:~/topotests/bgp_flowspec# The same error occurs with lutil and bgprib which are 2 libraries located under lib/ folder. Some precisions are added too. PR=71290 Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
2020-09-22tests: Our tests are for FRRDonald Sharp
These tests at this point only work for FRR. Let's cut to the chase and admit it. Signed-off-by: Donald Sharp <sharpd@nvidia.com>`
2020-09-08tests: Modify bgpd.conf to have faster keepalive/hold timersDonald Sharp
Modify bgpd.conf in all easily accessible topotests to use 3 10 as their timers du jour. This will allow the tests to converge faster. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
2020-09-03tests: Speedup bgp_rfapi_basic_sanity runDonald Sharp
Decrease run time from ~70 seconds to ~41 seconds by reducing hello/dead interval timers in ospf Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2020-07-27tests: Remove 'log monitor' from testsDonald Sharp
The `log monitor' command is a no-op and actually outputs a `this doesn't do anything` warning. Let's remove this cli line from our tests as that don't do anything and people will look at these configs for guidance. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2020-04-14tests: Remove extra empty vertical spacesDonatas Abraitis
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
2020-04-14tests: Enable rfc8212 by default except datacenter profileDonatas Abraitis
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
2020-04-03tests: Run python formatter (black) for topotestsreformat
Mostly ' => ", whitespace changes. Using https://github.com/psf/black Signed-off-by: reformat <reformat@nobody.nobody>
2019-08-29tests: Ensure topotests are actually waiting appropriately for peers to come upDonald Sharp
The FRR bgp topotests are employing a luCommand that looks for bgp peering to be up on the first router with a `wait` sub-command. Please note that a variety of tests are using this. This wait command has a variety of time outs being used `30`, `90`, and `300`. BGP peering with how we compile it have very long timers and 30( and possibly 90) seconds is clearly not enough when we are waiting, given the nature of our test beds. Additionally we were employing a model where once the first summary command succeeded we automatically assumed that all subsuquent summary commands( to look at other routers ) would not need to possibly wait. This is insufficient in that if I have multiple peerings in multiple vrf's there is no guarantee that one router peers being up will be sufficient information to know that all the other routers peers are up. Modify the test cases to be a bit more conformant about this and to allow peer checks to actually wait a reasonable amount of time for all peers to have a chance to come up. Signed-off-by: Donald Sharp <sharpdc@cumulusnetworks.com>
2019-05-01topotests/bgp_rfapi_basic_sanity: cleanup rfapi using non-debug commandLou Berger
Signed-off-by: Lou Berger <lberger@labn.net>
2019-01-07bgp_rfapi_basic_sanity: delayed timeouts not supported without VNC attrLou Berger
Signed-off-by: Lou Berger <lberger@labn.net>
2018-11-27bgp_rfapi_basic_sanity_config2: allow for slow CILou Berger
Signed-off-by: Lou Berger <lberger@labn.net>
2018-11-27bgp_rfapi_basic_sanity: added query only NVELou Berger
Signed-off-by: Lou Berger <lberger@labn.net>
2018-11-27bgp_rfapi_basic_sanity: added multi-path to timeout testLou Berger
Signed-off-by: Lou Berger <lberger@labn.net>
2018-11-27bgp_rfapi_basic_sanity: added cost to 2nd MP routeLou Berger
Signed-off-by: Lou Berger <lberger@labn.net>
2018-11-27bgp_rfapi_basic_sanity: added multi-path and updated responsesLou Berger
Signed-off-by: Lou Berger <lberger@labn.net>
2018-11-27bgp_rfapi_basic_sanity: wait for clean exitLou Berger
Signed-off-by: Lou Berger <lberger@labn.net>
2018-11-27bgp_rfapi_basic_sanity: added check_timeout (uses FRR PR#2934)Lou Berger
Signed-off-by: Lou Berger <lberger@labn.net>
2018-11-27bgp_rfapi_basic_sanity: added close checkLou Berger
Signed-off-by: Lou Berger <lberger@labn.net>
2018-11-27bgp_rfapi_basic_sanity: address PR comments (copyright, switch)Lou Berger
Signed-off-by: Lou Berger <lberger@labn.net>
2018-11-27bgp_rfapi_basic_sanity: added basic rfapi sanity topotestLou Berger
Signed-off-by: Lou Berger <lberger@labn.net>