| Age | Commit message (Collapse) | Author |
|
test: add snmp skip test
|
|
tests: Standardized Topotest PyTest Markers
|
|
Since SNMP is a pain to install add a check which will be used
in all SNMP tests in future to silently skip SNMP tests if SNMP
has not been installed on the base system.
Signed-off-by: Pat Ruddy <pat@voltanet.io>
|
|
tests : Adding 3 ospf chaos testcases.
|
|
Signed-off-by: David Schweizer <dschweizer@opensourcerouting.org>
|
|
Signed-off-by: David Schweizer <dschweizer@opensourcerouting.org>
|
|
tests: Add new scenarios to test multicast-pim-sm
|
|
This script involves Restart ospfd,
restart frr with ospf enabled,
staticd with redistribution inside ospf is enabled
Signed-off-by: nguggarigoud <nguggarigoud@vmware.com>
|
|
Snmp test infra
|
|
Route map optimizations
|
|
tests: Introduce BFD OSPFv2/v3 topotests
|
|
Add new scenarios to test multicast-pim-sm(different topology)
Signed-off-by: kuldeepkash <kashyapk@vmware.com>
|
|
1. Add/enhance framework for multicast-pim-sm automation
Signed-off-by: kuldeepkash <kashyapk@vmware.com>
|
|
1, Added new scenarios to test multicast-pim-sm
Signed-off-by: kuldeepkash <kashyapk@vmware.com>
|
|
More pytest mark
|
|
Tests were timing out in our test system due to lost packets and
flakiness of the lower end systems. Just set the timers to 3/10
and give them plenty of time to converge.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
|
|
New test does this:
a) Ensures that we run the correct number of times given two
`ip protocol X` commands( ie we do not run the route-map application
against all routes, only those affected )
b) Ensure that when we modify the route-map the state ends up sane
this includes making a static route depend on a sharp route that
gets removed from the change of the sharp route-map
c) Ensure that the kernel routes are correct.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
|
|
Add a mark to topotests that mark pbr tests
`pytest -k pbr`
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
|
|
Add a mark to topotests that mark isis tests
`pytest -k isis`
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
|
|
Add a mark to topotests that mark bfd tests.
`pytest -k bfd`
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
|
|
tests: Start the ability to mark tests
|
|
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
|
|
Add the ability for our topotests to take advantage of pytest `mark`ing.
This effectively allows you to tell pytest to run against certain sets
of tests. For a demonstration purpose I've added in marks for:
babel
eigrp
ldp
ospf
pim
rip
And setup tests to run against those tests that only test those protocols.
You can run against eigrp tests by running `pytest -k eigrp`
Other combinations are also available based upon simple boolean logic.
Just read the pytest.mark documentation.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
|
|
tests: fix redistribute key in ospf tests
|
|
tests: Static route cases with admin dist and tag.
|
|
BGP daemon listen for connections on multiple addresses
|
|
Simple test which creates a router running snmp and bgpd and
checks we can read the correct bgpVersion using snmp.
Signed-off-by: Pat Ruddy <pat@voltanet.io>
|
|
isisd, ldpd: add Remote LFA support
|
|
bgpd: BGP route-flap dampening profiles for peers and peer groups
|
|
tests: Adding ospf p2mp basic test.
|
|
1. Adding api to verify ip nht command.
2. 5 cases of static routes with admin dist and tag
3. Run time = 89Secs
Signed-off-by: nguggarigoud <nguggarigoud@vmware.com>
|
|
Signed-off-by: ckishimo <carles.kishimoto@gmail.com>
|
|
Signed-off-by: ckishimo <carles.kishimoto@gmail.com>
|
|
Signed-off-by: ckishimo <carles.kishimoto@gmail.com>
|
|
Signed-off-by: ckishimo <carles.kishimoto@gmail.com>
|
|
Signed-off-by: ckishimo <carles.kishimoto@gmail.com>
|
|
This test verifies basic p2mp test
Signed-off-by: nguggarigoud <nguggarigoud@vmware.com>
|
|
Add initial 'walk' and 'get' test APIs for SNMP
Signed-off-by: Babis Chalios <babis@voltanet.io>
Signed-off-by: Pat Ruddy <pat@voltanet.io>
|
|
Prepare the infrastructure to allow configuring and launching an SNMP
daemon as part of testing scenario.
Signed-off-by: Babis Chalios <babis@voltanet.io>
Signed-off-by: Pat Ruddy Chalios <pat@voltanet.io>
|
|
* If pathd binary is not found, skip the SR-TE topotests.
* Fix some compilation warnings when pathd is not built.
Signed-off-by: Sebastien Merle <sebastien@netdef.org>
|
|
* Added a new topotest to test bgpd listening on multiple addresses.
* Updated the existing bgpd tests according to the parameter added to
bgp_master_init.
Signed-off-by: "Adriano Marto Reis" <adrianomarto@gmail.com>
|
|
Bgplu fixes
|
|
In test_bgp_mutli_vrf_topo2.py it's clear that we remove then
re-add the vrf interfaces. Then the test was immediately
checking to ensure that the routes were available.
BGP needs time to reconverge. Let's ensure that first.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
|
|
Add new RLFA topotest that tests all RLFA configuration knobs and
how isisd and ldpd react to various configuration changes that can
occur in the network.
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
|
|
Extend the existing SPF unit testing infrastructure so that it can
test RLFA as well.
These new unit tests are useful to test the RLFA PQ node
computation on several different network topologies in a timely
manner. Artificial LDP labels (starting from 50000) are used to
activate the computed RLFAs.
It's worth mentioning that the computed backup routing tables
contain both local LFAs and remote LFAs, as running RLFA separately
isn't possible.
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
|
|
Revert labelmanager statics
|
|
The bgp_gr_functionality_topo1 test was shutting down an
interface on r2 and then trying to bring it up on r1.
Hijinx ensued.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
|
|
bgpd: reject malformed large-communities
|
|
tests: [topojson]Add/Enhance framework to support PIM automation
|
|
`lcommunity_gettoken` expects a space-delimeted list of 0 or more large
communities. `lcommunity_list_valid` can perform this check.
`lcommunity_list_valid` now validates large community lists more
accurately based on the following condition: Each quantity in a standard bgp
large community must:
1. Contain at least one digit
2. Fit within 4 octets
3. Contain only digits unless the lcommunity is "expanded"
4. Contain a valid regex if the lcommunity is "expanded"
Moreover we validate that each large community list contains exactly 3
such values separated by a single colon each.
One quirk of our validation which is worth documenting is:
```
bgp large-community-list standard test2 permit 1:c:3
bgp large-community-list expanded test1 permit 1:c:3
```
The first line will throw an error complaining about a "malformed community-list
value". The second line will be accepted because the each value is each treated as
a regex when matching large communities, it simply will never match anything so
it's rather useless.
Signed-off-by: Wesley Coakley <wcoakley@nvidia.com>
|