Igor Ryzhov
4df3e31c3d
bfdd: separate echo rx/tx timers
...
Currently there is a single interval for both RX and TX echo functions.
This commit introduces separate RX and TX timers for echo packets.
The main advantage is to be able to set the receive interval to zero
when we don't want to receive echo packets from the remote system.
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2021-03-16 22:14:57 +03:00
Donald Sharp
5ad1fd54a8
tests: Add some pytest.mark.bgpd
...
Add some pytest.mark.bgpd. This is about all I could stomach doing
in one patch. I'll do another pass at another time.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
2021-03-01 09:11:38 -05:00
Donald Sharp
6907ac7e2c
tests: Fixup to use the new pytestmark =
syntax
...
Go through all the current tests and convert over to correct syntax
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
2021-02-04 18:20:31 -05:00
Donald Sharp
1d0c76b74d
tests: Add pytest.mark.bfd
...
Add a mark to topotests that mark bfd tests.
`pytest -k bfd`
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
2021-01-15 08:58:24 -05: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
Mark Stapp
e5f0ed147b
tests: use .items instead of .iteritems in topotests
...
Avoid py2-only .iteritems() api.
Signed-off-by: Mark Stapp <mjs@voltanet.io>
2020-09-18 15:55:23 -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
Rafael Zalamena
65e3e8484b
topotests: bump BFD test convergence time
...
Lets make the test more resilient to failures.
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
2020-06-18 08:42:11 -03:00
Rafael Zalamena
0a901ebcb6
topotests: remove old FRR version support
...
Removes a few lines of code.
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
2020-06-18 08:02:34 -03:00
Donald Sharp
62282e8379
bgpd,tests: Modify import-check to require underlying prefixes to exist
...
Modify the import-check command to require the underlying prefix
to exist in the rib. General consensus is that this is the correct
behavior.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2020-04-28 15:57:53 -04:00
Donald Sharp
8b1e4f30ba
Merge pull request #6164 from ton31337/feature/rfc8212_enabled_traditional_profile
...
bgpd: Enable rfc8212 by default except datacenter profile
2020-04-18 15:06:04 -04: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
Rafael Zalamena
9532601587
topotest: enable bfd debugs on all BFD tests
...
Lets attempt to get the most out of the debug messages.
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
2020-04-14 09:35:08 -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
Donatas Abraitis
0a9fe278f6
tests: Remove/change JSON attributes for show bgp ... json
...
This is related to some attributes changes: aspath, med, localPref.
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
2020-04-01 23:59:45 +03:00
Philippe Guibert
0e6c4a0e81
bfd-vrf_topo1: add bfd test on a vrf netns
...
some testing is available on testing bfd feature based on a bgp vrf
instance.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
2019-05-07 15:54:30 +02:00