schylar
ab9939f217
ripd: Fix spelling errors
...
Signed-off-by: schylar <schylarutley@hotmail.com>
2021-09-07 08:30:42 -05:00
Donald Sharp
a76cd3242a
Merge pull request #9569 from LabNConsulting/chopps/parallel-config-nonjson
...
tests: refactor parallel reset/load config for non-json
2021-09-06 18:20:57 -04:00
Donald Sharp
3702e8577f
Merge pull request #9563 from opensourcerouting/build-strict-prototypes
...
build: `-Wstrict-prototypes` (+ BSD `sed`)
2021-09-06 12:28:33 -04:00
Christian Hopps
0254774578
tests: refactor parallel reset/load config for non-json
...
Refactor the bgp_auth test to create common_config code to allow
non-json based tests to reset routers and load configs in parallel.
Signed-off-by: Christian Hopps <chopps@labn.net>
2021-09-06 11:18:48 -04:00
Donatas Abraitis
331442ef9c
Merge pull request #9550 from donaldsharp/better_fails
...
bgpd: Add `PEER_DOWN_SOCKET_ERROR` to the list of peer failure modes
2021-09-06 12:42:15 +03:00
Donatas Abraitis
53ca9cc9d9
Merge pull request #9561 from idryzhov/bgp-no-router-vrf-default
...
bgpd: fix "no router bgp X vrf default"
2021-09-06 12:41:20 +03:00
Donatas Abraitis
121a6f0977
Merge pull request #9564 from qlyoung/debian-update-proto-list
...
debian: update list of protos in pkg desc
2021-09-06 12:37:31 +03:00
Igor Ryzhov
0f90ef494a
Merge pull request #9521 from opensourcerouting/ospf6d-gr-fixes
...
ospf6d: minor GR fixes
2021-09-06 12:36:54 +03:00
Igor Ryzhov
5c2ef87104
Merge pull request #9547 from ton31337/fix/addpath_non_json_broken
...
bgpd: Drop afi/safi duplicate string notation for AddPath capability
2021-09-06 12:33:01 +03:00
Donald Sharp
89084fc30f
Merge pull request #9567 from LabNConsulting/chopps/bgp-auth-speedup
...
tests: speed up bgp_auth test (24m -> 12m)
2021-09-05 10:09:34 -04:00
Christian Hopps
b668944766
tests: speed up bgp_auth test (24m -> 12m)
...
- Reduce OSPF timers to 1 and 4
- Reduce BGP connect timer to 5
- Apply configs in parallel as single file
- Remove the switches as all links are p2p, perhaps this will help with
reliability?
Signed-off-by: Christian Hopps <chopps@labn.net>
2021-09-05 05:41:04 -04:00
Quentin Young
eadc947e63
debian: update list of protos in pkg desc
...
Signed-off-by: Quentin Young <qlyoung@nvidia.com>
2021-09-04 12:53:23 -04:00
Quentin Young
5653bb515c
Merge pull request #9199 from LabNConsulting/chopps/micronet-prime
2021-09-04 12:20:00 -04: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
57f774f56d
tests: Disable test which fails under micronet
...
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
Christian Hopps
2905398814
tests: add generic exa-receive.py script
...
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
0ce28e746e
tests: remove unneeded mcast group kernel routes and sysctl
...
- The PIM tests do not need kernel routes to help them bind joins and
sources to specific interfaces. They should do that themselves directly.
Also do not change system wide "rp_filter" sysctl away from the value
required by everyone else.
Signed-off-by: Christian Hopps <chopps@labn.net>
2021-09-04 09:04:47 -04:00
Christian Hopps
784ad2307e
tests: add back a 10 second delay to see if this fixes the failures
...
Signed-off-by: Christian Hopps <chopps@labn.net>
2021-09-04 09:04:47 -04:00
Christian Hopps
77a7a87cdd
tools: move frr-reload.py to python3 explicitly
...
We already, reasonably, require python3 elsewhere. Do so here, and reap some
benefit.
Signed-off-by: Christian Hopps <chopps@labn.net>
2021-09-04 09:04:47 -04:00
Christian Hopps
04464749b6
tests: keep revisions of configs
...
Signed-off-by: Christian Hopps <chopps@labn.net>
2021-09-04 09:04:47 -04:00
Christian Hopps
1973df1d39
tests: use new helper object for mcast-tester and iperf
...
- Decrease igmp query interval to fix pim test run times
Signed-off-by: Christian Hopps <chopps@labn.net>
2021-09-04 09:04:47 -04:00
Christian Hopps
a5124c49d3
tests: add helper object for mcast-tester and iperf tool.
...
Signed-off-by: Christian Hopps <chopps@labn.net>
2021-09-04 09:04:47 -04:00
Christian Hopps
86dc61d1b2
tests: remove legacy Topo class from micronet
...
Signed-off-by: Christian Hopps <chopps@labn.net>
2021-09-04 09:04:47 -04:00
Christian Hopps
fe50239bc6
tests: remove legacy Topo class from infra
...
Signed-off-by: Christian Hopps <chopps@labn.net>
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
d7d21c3a19
tests: fix pylint test errors
...
Signed-off-by: Christian Hopps <chopps@labn.net>
2021-09-04 09:04:46 -04:00
Christian Hopps
c8e5983d8e
tests: fix pylint infra errors
...
Signed-off-by: Christian Hopps <chopps@labn.net>
2021-09-04 09:04:46 -04:00
Christian Hopps
a3cecfb608
docker: update with micronet changes
...
Signed-off-by: Christian Hopps <chopps@labn.net>
2021-09-04 09:04:46 -04:00
Christian Hopps
77f3acb45e
doc: minor update based on mininet removal
...
Signed-off-by: Christian Hopps <chopps@labn.net>
2021-09-04 09:04:46 -04:00
Christian Hopps
351bc82cac
tests: micronet: update defaults for results+logging
...
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
Christian Hopps
4958158787
tests: micronet: update infra
...
Signed-off-by: Christian Hopps <chopps@labn.net>
2021-09-04 09:04:46 -04:00
Christian Hopps
6a5433ef0b
tests: NEW micronet replacement for mininet
...
Signed-off-by: Christian Hopps <chopps@labn.net>
2021-09-04 09:04:21 -04:00
David Lamparter
3b934c4006
Merge pull request #9541 from donaldsharp/evpn_cleanup
...
typedef cleanup to proper usage of `enum X` or `struct X`
2021-09-04 12:08:38 +02:00
Christian Hopps
bc51ce6810
tests: improve vxlan test determinism
...
Signed-off-by: Christian Hopps <chopps@labn.net>
2021-09-04 04:47:20 -04:00
Christian Hopps
49549fe2d7
tests: summarize XML test results
...
Signed-off-by: Christian Hopps <chopps@labn.net>
2021-09-04 04:47:20 -04:00
Igor Ryzhov
1ca42c8d84
bgpd: fix "no router bgp X vrf default"
...
Currently, "vrf default" modifier is not processed correctly and we get
the `% Can't find BGP instance` error.
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2021-09-03 19:39:53 +03:00
Mark Stapp
4250098311
Merge pull request #9545 from ton31337/feature/disable-addpath-rx
...
bgpd: Add disable-addpath-rx knob
2021-09-03 11:52:57 -04:00
Donald Sharp
53b08a373d
Merge pull request #9542 from pguibert6WIND/ssh_rpki_source
...
bgpd: add rpki source address configuration
2021-09-03 10:35:47 -04:00
Igor Ryzhov
038307d88d
Merge pull request #9549 from mobash-rasool/ospfv2-bug-fixes-02
...
ospfd: Memory Leak seen at show_ip_ospf_neighbor_all_common.
2021-09-03 17:28:59 +03:00
Donald Sharp
3513c6b146
Merge pull request #9077 from idryzhov/ospf-memory-alloc
...
ospfd: remove unnecessary memory allocation
2021-09-03 10:14:44 -04:00
Donatas Abraitis
7cb0494d54
doc: Add neighbor PEER disable-addpath-rx
command
...
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
2021-09-03 15:05:03 +03:00
Donatas Abraitis
cb747ed90b
tests: Check if disable-addpath-rx
knob works
...
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
2021-09-03 15:05:03 +03:00
Donatas Abraitis
7c0e43123d
bgpd: Add disable-addpath-rx
knob
...
The idea is to disable addpath-rx capability to avoid unnecessary additional
routes installed.
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
2021-09-03 15:05:02 +03:00
Donald Sharp
c5fe9095fe
bgpd: Add PEER_DOWN_SOCKET_ERROR
to the list of peer failure modes
...
BGP can experience a bunch of errors associated with sockets
being manipulated which would prevent the peer from coming up.
Let's add some additional debug information here so that
our operators can do a bit more for themselves.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
2021-09-03 07:56:35 -04:00
Mobashshera Rasool
6f3e19b736
ospfd: Memory Leak seen at show_ip_ospf_neighbor_all_common.
...
Problem Statement:
==================
Memory Leak seen at show_ip_ospf_neighbor_all_common (ospf_vty.c:4635)
RCA:
=================
In function show_ip_ospf_neighbor_all_common, one child json object is not
added to the parent child object when there is no nbma neighbor. Hence
the memory leak.
Fix:
=================
Add the child object to the parent json object.
Fixes : #9548
Signed-off-by: Mobashshera Rasool <mrasool@vmware.com>
2021-09-03 04:06:15 -07:00
Donatas Abraitis
34c71a4da8
bgpd: Drop afi/safi duplicate string notation for AddPath capability
...
Before:
```
AddPath:
IPv4 Unicast: TX advertised IPv4 Unicast and received
IPv4 Unicast: RX advertised IPv4 Unicast and received
IPv6 Unicast: TX advertised IPv6 Unicast
IPv6 Unicast: RX advertised IPv6 Unicast
```
After:
```
AddPath:
IPv4 Unicast: TX advertised and received
IPv4 Unicast: RX advertised and received
IPv6 Unicast: TX advertised
IPv6 Unicast: RX advertised
```
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
2021-09-03 14:01:44 +03:00