David Lamparter 
							
						 
					 
					
						
						
						
						
							
						
						
							acddc0ed3c 
							
						 
					 
					
						
						
							
							*: auto-convert to SPDX License IDs  
						
						... 
						
						
						
						Done with a combination of regex'ing and banging my head against a wall.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org> 
						
					 
					
						2023-02-09 14:09:11 +01:00 
						 
				 
			
				
					
						
							
							
								Donald Sharp 
							
						 
					 
					
						
						
						
						
							
						
						
							37076cae05 
							
						 
					 
					
						
						
							
							tests: Fix regex complaints by python3  
						
						... 
						
						
						
						Signed-off-by: Donald Sharp <sharpd@nvidia.com> 
						
					 
					
						2022-06-23 13:58:03 -04:00 
						 
				 
			
				
					
						
							
							
								Igor Ryzhov 
							
						 
					 
					
						
						
						
						
							
						
						
							21b5cd1d16 
							
						 
					 
					
						
						
							
							tests: fix strings with topologies  
						
						... 
						
						
						
						Add `r` prefix to treat backslashes as literals.
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com> 
						
					 
					
						2022-02-08 17:00:44 +03:00 
						 
				 
			
				
					
						
							
							
								Donald Sharp 
							
						 
					 
					
						
						
						
						
							
						
						
							f1f0bd0911 
							
						 
					 
					
						
						
							
							tests: Fix tests using exabgp to explicitly call out which python to use  
						
						... 
						
						
						
						There exist systems that do not explicity have a python soft-link
on their system.  Let's explicity call out which python we want
to be using with exabgp.
Signed-off-by: Donald Sharp <sharpd@nvidia.com> 
						
					 
					
						2021-11-20 19:36:40 -05:00 
						 
				 
			
				
					
						
							
							
								Christian Hopps 
							
						 
					 
					
						
						
						
						
							
						
						
							a53c08bc13 
							
						 
					 
					
						
						
							
							tests: cleanup: rerun changed files through black  
						
						... 
						
						
						
						Signed-off-by: Christian Hopps <chopps@labn.net> 
						
					 
					
						2021-09-04 09:04:47 -04:00 
						 
				 
			
				
					
						
							
							
								Christian Hopps 
							
						 
					 
					
						
						
						
						
							
						
						
							4953ca977f 
							
						 
					 
					
						
						
							
							tests: cleanup - remove unused imports  
						
						... 
						
						
						
						Signed-off-by: Christian Hopps <chopps@labn.net> 
						
					 
					
						2021-09-04 09:04:47 -04:00 
						 
				 
			
				
					
						
							
							
								Christian Hopps 
							
						 
					 
					
						
						
						
						
							
						
						
							f862fe55a4 
							
						 
					 
					
						
						
							
							tests: use common exa-receive.py script  
						
						... 
						
						
						
						New generic script uses a new default node specific log dir to avoid
collisions when running in parallel.
Signed-off-by: Christian Hopps <chopps@labn.net> 
						
					 
					
						2021-09-04 09:04:47 -04:00 
						 
				 
			
				
					
						
							
							
								Martin Winter 
							
						 
					 
					
						
						
						
						
							
						
						
							62c608a9fb 
							
						 
					 
					
						
						
							
							tests: Make bgp_multiview_topo1 predictable  
						
						... 
						
						
						
						Signed-off-by: Martin Winter <mwinter@opensourcerouting.org> 
						
					 
					
						2021-09-04 09:04:47 -04:00 
						 
				 
			
				
					
						
							
							
								Christian Hopps 
							
						 
					 
					
						
						
						
						
							
						
						
							e82b531df9 
							
						 
					 
					
						
						
							
							tests: remove legacy Topo class (fixes many pylint errors)  
						
						... 
						
						
						
						Signed-off-by: Christian Hopps <chopps@labn.net> 
						
					 
					
						2021-09-04 09:04:46 -04:00 
						 
				 
			
				
					
						
							
							
								Christian Hopps 
							
						 
					 
					
						
						
						
						
							
						
						
							8db751b853 
							
						 
					 
					
						
						
							
							tests: micronet: adapt tests  
						
						... 
						
						
						
						Signed-off-by: Christian Hopps <chopps@labn.net> 
						
					 
					
						2021-09-04 09:04:46 -04:00 
						 
				 
			
				
					
						
							
							
								Martin Winter 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							6ca120470d 
							
						 
					 
					
						
						
							
							tests: Change bgp_multiview_topo1 to json output  
						
						... 
						
						
						
						Signed-off-by: Martin Winter <mwinter@opensourcerouting.org> 
						
					 
					
						2021-08-20 18:26:40 +02:00 
						 
				 
			
				
					
						
							
							
								Martin Winter 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							5b78215b28 
							
						 
					 
					
						
						
							
							tests: Make bgp_multiview_topo1 predictable  
						
						... 
						
						
						
						Signed-off-by: Martin Winter <mwinter@opensourcerouting.org> 
						
					 
					
						2021-08-19 00:01:04 +02:00 
						 
				 
			
				
					
						
							
							
								Donald Sharp 
							
						 
					 
					
						
						
						
						
							
						
						
							bf3a0a9a4b 
							
						 
					 
					
						
						
							
							tests: Add pytest.mark.bgpd for tests missing this mark  
						
						... 
						
						
						
						Signed-off-by: Donald Sharp <sharpd@nvidia.com> 
						
					 
					
						2021-07-28 09:45:38 -04:00 
						 
				 
			
				
					
						
							
							
								Donatas Abraitis 
							
						 
					 
					
						
						
						
						
							
						
						
							d89b48fe28 
							
						 
					 
					
						
						
							
							tests: Add BGP RPKI show header to outputs  
						
						... 
						
						
						
						Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com> 
						
					 
					
						2021-04-12 10:34:52 +03:00 
						 
				 
			
				
					
						
							
							
								Philippe Guibert 
							
						 
					 
					
						
						
						
						
							
						
						
							aa72bd7e7f 
							
						 
					 
					
						
						
							
							bgpd: add peer description for each afi/safi line in show summary  
						
						... 
						
						
						
						For each afi/safi of 'show bgp summary', display the peer description
each time needed. This information is useful, for instance in the case
of a device connected with multiple peers.
The topotest all_protocol_startup is changed accordingly.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com> 
						
					 
					
						2020-12-01 08:06:37 +00:00 
						 
				 
			
				
					
						
							
							
								Philippe Guibert 
							
						 
					 
					
						
						
						
						
							
						
						
							e7294b3200 
							
						 
					 
					
						
						
							
							topotests: python3, rename iterkey() with key() for dictionary usage  
						
						... 
						
						
						
						dictionary method iterkey() is not used in python3 and is replaced with
key() method.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com> 
						
					 
					
						2020-11-25 16:31:45 +00:00 
						 
				 
			
				
					
						
							
							
								Mark Stapp 
							
						 
					 
					
						
						
						
						
							
						
						
							11761ab0f4 
							
						 
					 
					
						
						
							
							tests: python3 compat fixes for topotests: tabs and misc  
						
						... 
						
						
						
						Use only spaces in python files; no tabs; also a couple of small
api fixes.
Signed-off-by: Mark Stapp <mjs@voltanet.io> 
						
					 
					
						2020-09-26 15:40:00 -04:00 
						 
				 
			
				
					
						
							
							
								Donald Sharp 
							
						 
					 
					
						
						
						
						
							
						
						
							622c4996ef 
							
						 
					 
					
						
						
							
							tests: Our tests are for FRR  
						
						... 
						
						
						
						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-22 10:11:58 -04:00 
						 
				 
			
				
					
						
							
							
								Donald Sharp 
							
						 
					 
					
						
						
						
						
							
						
						
							6a8a0f159a 
							
						 
					 
					
						
						
							
							tests: Modify bgpd.conf to have faster keepalive/hold timers  
						
						... 
						
						
						
						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-08 12:58:26 -04:00 
						 
				 
			
				
					
						
							
							
								Donatas Abraitis 
							
						 
					 
					
						
						
						
						
							
						
						
							9188c32faa 
							
						 
					 
					
						
						
							
							tests: Adopt some tests to PfxSnt counter  
						
						... 
						
						
						
						Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com> 
						
					 
					
						2020-04-24 15:35:24 +03:00 
						 
				 
			
				
					
						
							
							
								Donatas Abraitis 
							
						 
					 
					
						
						
						
						
							
						
						
							3525e23388 
							
						 
					 
					
						
						
							
							Revert "tests: Adopt some tests to PfxSnt counter"  
						
						... 
						
						
						
						This reverts commit 6e0f90413e 
						
					 
					
						2020-04-24 10:00:17 +03:00 
						 
				 
			
				
					
						
							
							
								Donatas Abraitis 
							
						 
					 
					
						
						
						
						
							
						
						
							6e0f90413e 
							
						 
					 
					
						
						
							
							tests: Adopt some tests to PfxSnt counter  
						
						... 
						
						
						
						Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com> 
						
					 
					
						2020-04-23 13:35:26 +03:00 
						 
				 
			
				
					
						
							
							
								Donatas Abraitis 
							
						 
					 
					
						
						
						
						
							
						
						
							c7688a6943 
							
						 
					 
					
						
						
							
							tests: Enable rfc8212 by default except datacenter profile  
						
						... 
						
						
						
						Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com> 
						
					 
					
						2020-04-14 16:01:46 +03:00 
						 
				 
			
				
					
						
							
							
								reformat 
							
						 
					 
					
						
						
						
						
							
						
						
							787e762445 
							
						 
					 
					
						
						
							
							tests: Run python formatter (black) for topotests  
						
						... 
						
						
						
						Mostly ' => ", whitespace changes.
Using https://github.com/psf/black 
Signed-off-by: reformat <reformat@nobody.nobody> 
						
					 
					
						2020-04-03 19:41:28 +03:00 
						 
				 
			
				
					
						
							
							
								Lou Berger 
							
						 
					 
					
						
						
						
						
							
						
						
							8678d6387c 
							
						 
					 
					
						
						
							
							*: use the current project name (FRRouting)  
						
						... 
						
						
						
						Signed-off-by: Lou Berger <lberger@labn.net> 
						
					 
					
						2020-03-25 17:38:56 -04:00 
						 
				 
			
				
					
						
							
							
								Donald Sharp 
							
						 
					 
					
						
						
						
						
							
						
						
							12a939b7e7 
							
						 
					 
					
						
						
							
							tests: bgp_multiview_topo1 was taking too long  
						
						... 
						
						
						
						The bgp_multiview_topo1 test had two issues
a) An abbundance of sleeps that are not necessary
b) The convergence time was too short.
The upshoot of this is that the test goes from 72 -> 33 seconds
run time on my machine.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com> 
						
					 
					
						2020-02-19 15:07:02 -05:00 
						 
				 
			
				
					
						
							
							
								David Lamparter 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1df0492687 
							
						 
					 
					
						
						
							
							Run-time log filtering via vtysh commands ( #4524 )  
						
						... 
						
						
						
						Run-time log filtering via vtysh commands 
						
					 
					
						2019-07-03 14:39:59 +02:00 
						 
				 
			
				
					
						
							
							
								Stephen Worley 
							
						 
					 
					
						
						
						
						
							
						
						
							4aaea8fb49 
							
						 
					 
					
						
						
							
							tests: Make checkRouterRunning() show logging  
						
						... 
						
						
						
						Adding in the command `show log-filter` made `show log`
ambiguous. Change the checkRouterRunning() test to do
full `show logging` so it works again.
Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com> 
						
					 
					
						2019-06-19 17:20:24 -04:00 
						 
				 
			
				
					
						
							
							
								Donald Sharp 
							
						 
					 
					
						
						
						
						
							
						
						
							0c38bc3257 
							
						 
					 
					
						
						
							
							tests: Remove bgp multiple-instance command from topotests  
						
						... 
						
						
						
						The `bgp multiple-instance` command has been deprecated and
removed.  Finish off this by removing it from topotests too.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com> 
						
					 
					
						2019-06-18 09:32:18 -04:00 
						 
				 
			
				
					
						
							
							
								Ameya Dharkar 
							
						 
					 
					
						
						
						
						
							
						
						
							436df704e4 
							
						 
					 
					
						
						
							
							bgp: new topotest BGP templates to display default local preference and local-AS in BGP commands  
						
						... 
						
						
						
						This commit adds a template for "show bgp ipv4/ipv6" display to include default local preference and local-AS O/P.
Signed-off-by: Ameya Dharkar <adharkar@vmware.com> 
						
					 
					
						2018-12-05 11:45:31 -08:00 
						 
				 
			
				
					
						
							
							
								Lou Berger 
							
						 
					 
					
						
						
						
						
							
						
						
							2b0e32967c 
							
						 
					 
					
						
						
							
							*: convert startup logs to use per node directories also have startup and running log files match  
						
						... 
						
						
						
						Signed-off-by: Lou Berger <lberger@labn.net> 
						
					 
					
						2018-11-27 20:22:14 -05:00 
						 
				 
			
				
					
						
							
							
								G. Paul Ziemba 
							
						 
					 
					
						
						
						
						
							
						
						
							3675bf4222 
							
						 
					 
					
						
						
							
							bgp_multiview_topo1: more fixes for header changes of PR 2045  
						
						... 
						
						
						
						For this test, vrf id in headers is unset
Signed-off-by: G. Paul Ziemba <paulz@labn.net> 
						
					 
					
						2018-11-27 20:22:14 -05:00 
						 
				 
			
				
					
						
							
							
								G. Paul Ziemba 
							
						 
					 
					
						
						
						
						
							
						
						
							6a57e10314 
							
						 
					 
					
						
						
							
							bgp: tolerate route-table-show header changes of PR 2045  
						
						... 
						
						
						
						The table header has changed slightly for "bgp show" commands. Change
all-protocol-startup (test_bgp_ipv4() and test_bgp_ipv6()) and
bgp_multiview_topo1 (test_bgp_routingTable())  to run diffs against multiple
templates (representing the various valid outputs for different versions
of the FRR code) and mark the test "passed" if any one template matches.
Signed-off-by: G. Paul Ziemba <paulz@labn.net> 
						
					 
					
						2018-11-27 20:22:13 -05:00 
						 
				 
			
				
					
						
							
							
								Martin Winter 
							
						 
					 
					
						
						
						
						
							
						
						
							8e957dbb04 
							
						 
					 
					
						
						
							
							multiple_topos: Don't report about StdErr Output if there is no output  
						
						... 
						
						
						
						Signed-off-by: Martin Winter <mwinter@opensourcerouting.org> 
						
					 
					
						2018-11-27 20:22:12 -05:00 
						 
				 
			
				
					
						
							
							
								Rafael Zalamena 
							
						 
					 
					
						
						
						
						
							
						
						
							28c15fe7b8 
							
						 
					 
					
						
						
							
							bgp_multiview_topo1: fix exabgp configuration  
						
						... 
						
						
						
						Allow exabgp to run on my Ubuntu 16.04 by specifying the complete path
instead of relative. 
						
					 
					
						2018-11-27 20:22:12 -05:00 
						 
				 
			
				
					
						
							
							
								Martin Winter 
							
						 
					 
					
						
						
						
						
							
						
						
							17070436a3 
							
						 
					 
					
						
						
							
							lib: cleanup diff text output formatting issue and move to library  
						
						... 
						
						
						
						Signed-off-by: Martin Winter <mwinter@opensourcerouting.org> 
						
					 
					
						2018-11-27 20:22:11 -05:00 
						 
				 
			
				
					
						
							
							
								Martin Winter 
							
						 
					 
					
						
						
						
						
							
						
						
							7e7fc73b49 
							
						 
					 
					
						
						
							
							(all tests): Add extra check to make sure daemons are still running after each essential stage.  
						
						... 
						
						
						
						If daemon crashed at a later stage (not startup), then the test scripts didn't properly detect it and report unpredictable errors. This will properly log the daemon crashes
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org> 
						
					 
					
						2018-11-27 20:22:11 -05:00 
						 
				 
			
				
					
						
							
							
								Martin Winter 
							
						 
					 
					
						
						
						
						
							
						
						
							50c40bdebb 
							
						 
					 
					
						
						
							
							Fix memory leak detection and reporting which accidentally was dropped a month ago  
						
						... 
						
						
						
						Signed-off-by: Martin Winter <mwinter@opensourcerouting.org> 
						
					 
					
						2018-11-27 20:22:11 -05:00 
						 
				 
			
				
					
						
							
							
								Donald Sharp 
							
						 
					 
					
						
						
						
						
							
						
						
							b2764f904e 
							
						 
					 
					
						
						
							
							Spell Verifying correctly  
						
						... 
						
						
						
						Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com> 
						
					 
					
						2018-11-27 20:22:11 -05:00 
						 
				 
			
				
					
						
							
							
								Martin Winter 
							
						 
					 
					
						
						
						
						
							
						
						
							5b7a4ad33a 
							
						 
					 
					
						
						
							
							bgp_multiview_topo1: Fix case of tests hanging if convergence is not successful.  
						
						... 
						
						
						
						- Part of a command was missing which caused a hang in cases when BGP didn't converge
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org> 
						
					 
					
						2018-11-27 20:22:11 -05:00 
						 
				 
			
				
					
						
							
							
								Martin Winter 
							
						 
					 
					
						
						
						
						
							
						
						
							33ae1f751e 
							
						 
					 
					
						
						
							
							Update Readme to reflect FreeRangeRouting name  
						
						... 
						
						
						
						Signed-off-by: Martin Winter <mwinter@opensourcerouting.org> 
						
					 
					
						2018-11-27 20:22:11 -05:00 
						 
				 
			
				
					
						
							
							
								Martin Winter 
							
						 
					 
					
						
						
						
						
							
						
						
							d98b7d6359 
							
						 
					 
					
						
						
							
							bgp_multiview_topo1: Mask out BGP Table version in comparison  
						
						... 
						
						
						
						Signed-off-by: Martin Winter <mwinter@opensourcerouting.org> 
						
					 
					
						2018-11-27 20:22:11 -05:00 
						 
				 
			
				
					
						
							
							
								Martin Winter 
							
						 
					 
					
						
						
						
						
							
						
						
							99561211e1 
							
						 
					 
					
						
						
							
							Added optional output for memleaks at the end of test. Enable them by setting the environment variable TOPOTESTS_CHECK_STDERR to some value  
						
						... 
						
						
						
						Signed-off-by: Martin Winter <mwinter@opensourcerouting.org> 
						
					 
					
						2018-11-27 20:22:11 -05:00 
						 
				 
			
				
					
						
							
							
								Martin Winter 
							
						 
					 
					
						
						
						
						
							
						
						
							594b1259f9 
							
						 
					 
					
						
						
							
							Move common function and class to topotest library  
						
						... 
						
						
						
						Signed-off-by: Martin Winter <mwinter@opensourcerouting.org> 
						
					 
					
						2018-11-27 20:22:11 -05:00 
						 
				 
			
				
					
						
							
							
								Martin Winter 
							
						 
					 
					
						
						
						
						
							
						
						
							e631b5186f 
							
						 
					 
					
						
						
							
							bgp_multiview_topo1: Fix bad check for running daemons  
						
						... 
						
						
						
						Only one ruter running in the setup 
						
					 
					
						2018-11-27 20:22:11 -05:00 
						 
				 
			
				
					
						
							
							
								Martin Winter 
							
						 
					 
					
						
						
						
						
							
						
						
							b36d3e1c85 
							
						 
					 
					
						
						
							
							Add support for FRR in addition to Quagga  
						
						
						
					 
					
						2018-11-27 20:22:11 -05:00 
						 
				 
			
				
					
						
							
							
								Martin Winter 
							
						 
					 
					
						
						
						
						
							
						
						
							593335d02d 
							
						 
					 
					
						
						
							
							change in checkRunning: Check all daemons on all nodes before aborting with an assert  
						
						
						
					 
					
						2018-11-27 20:22:11 -05:00 
						 
				 
			
				
					
						
							
							
								Martin Winter 
							
						 
					 
					
						
						
						
						
							
						
						
							6d9d0176e4 
							
						 
					 
					
						
						
							
							bgp_multiview_topo1: Rename test_description.md to README.md for automatic rendering in online git  
						
						
						
					 
					
						2018-11-27 20:22:11 -05:00 
						 
				 
			
				
					
						
							
							
								Martin Winter 
							
						 
					 
					
						
						
						
						
							
						
						
							d71f367580 
							
						 
					 
					
						
						
							
							bgp_multiview_topo1: Add Markdown doc for test  
						
						
						
					 
					
						2018-11-27 20:22:11 -05:00 
						 
				 
			
				
					
						
							
							
								Martin Winter 
							
						 
					 
					
						
						
						
						
							
						
						
							3b6bac2adf 
							
						 
					 
					
						
						
							
							bgp_multiview_topo1: Change from unified to context diff for better readability  
						
						
						
					 
					
						2018-11-27 20:22:11 -05:00