Tobias Waldekranz
2ec226640e
yanger: Move ietf-{interfaces,routing} implementations to separate modules
...
Should this have been two commits: yes.
Should we spend time on splitting them after the fact because yours
truly dropped the ball: no.
2025-01-10 10:12:22 +01:00
Tobias Waldekranz
a0e4e813dd
yanger: Move ietf-ospf implementation to separate module
2025-01-10 09:57:40 +01:00
Tobias Waldekranz
8812ae7052
yanger: Move ietf-hardware implementation to separate module
2025-01-10 09:57:40 +01:00
Tobias Waldekranz
28bf2d6c3c
yanger: Move infix-containers implementation to separate module
2025-01-09 23:59:20 +01:00
Tobias Waldekranz
dadf0e2d16
yanger: Start the modularization process with ietf-system
...
The yanger source grown significantly, code is disorganized, the
namespace is all over the place, etc.
Take a stab at remedying the situation by splitting out the individual
YANG models in separate Python modules, starting with ietf-system.
2025-01-09 23:59:20 +01:00
Tobias Waldekranz
3ef40031dd
test: bridge_stp_basic: Add
2025-01-08 10:14:46 +01:00
Tobias Waldekranz
44b60956a8
test: upgrade: Add .gitignore for package symlink
2025-01-08 10:14:46 +01:00
Joachim Wiberg and Mattias Walström
c099d887af
Add support for GRE tunnels
...
Basic support GRE and GRETAP tunnels both for IPv4 and IPv6.
Limited support right now, only possible to configure local
ip address and remote ip address.
2025-01-07 15:33:37 +01:00
Ahmed Karic and Mattias Walström
e29a721571
test: move ssh_key_authentication to infix_services
2024-12-19 14:42:17 +01:00
Mattias Walström
389fc96794
test: Verify ssh server config
...
Fixes #441
2024-12-19 14:42:17 +01:00
Mattias Walström
e00737ef78
test: Refactor upgrade test
...
* Use new cleanup in infamy to ensure the boot order gets restored
* Use new boot order in operational and use RPC to set boot order
to remove all SSH commands.
2024-12-19 10:14:15 +01:00
Mattias Walström
ff8669e735
Add support to set configure with RPC and read it from operational datastore
2024-12-18 17:44:40 +01:00
Ahmed Karic
03cab6d1e4
Verify MAC multicast
...
Fixes #649
2024-12-18 14:55:00 +01:00
Mattias Walström
a4ef38fbee
test: upgrade: Add some debug print to see whats happen over time
2024-12-13 20:32:07 +01:00
Mattias Walström
5608e9457d
Move operational data about software state from confd => yanger
...
Statd is now responsible for operational, move last big part
(infix-system-software) to yanger.
2024-12-13 20:32:07 +01:00
Mattias Walström
f023304823
Update upgrade test to not mess up boot order
...
Works on both virtual and physical target
2024-12-05 21:24:52 +01:00
Joachim Wiberg
3576450982
test: verify mDNS allow/deny interfaces
...
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2024-12-04 12:57:04 +01:00
Joachim Wiberg
bb987cfe9e
test: minor, spelling
...
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2024-12-04 12:57:04 +01:00
Mattias Walström
a74eb58000
test: Add unit test for 'show cli'
2024-12-03 16:29:28 +01:00
Mattias Walström
7334d0e54b
test: add test for ntp client
2024-12-03 16:29:28 +01:00
Tobias Waldekranz
784b391467
test: reproducible: Log software versions
...
Make sure that we keep a record of the versions and boot source used
by all devices under test when running the full suite - in case we
ever suspect that there is a mismatch between the intended test image
and the actual one.
Since this test now needs to communicate with the devices, make sure
that we run the wait test first.
2024-12-02 12:42:28 +01:00
Tobias Waldekranz and GitHub
877e3f3d81
Merge pull request #837 from kernelkit/vlan-iface-termination
...
Prevent traffic assigned to locally terminated VLANs from being forwarded
2024-11-28 15:07:22 +01:00
Tobias Waldekranz
ddfdcb40bb
test: vlan_iface_termination: Fix test spec issues
...
- Use standard topology
- Include test case specification in parent README
2024-11-28 14:23:53 +01:00
Joachim Wiberg and Tobias Waldekranz
b6f9b6d967
test: safe setup of Infamy swN bridges
...
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2024-11-28 12:53:19 +01:00
Tobias Waldekranz
6c2ab33028
test: ospf_container: Enable VLAN filtering on br0
...
As it turns out, the setup with a 802.1D bridge in combination with
VLAN uppers stacked on the bridge ports is not possible to support
on mv88e6xxx ports.
Enable VLAN filtering to ensure proper isolation of the locally
terminated VLANs.
2024-11-28 12:52:09 +01:00
Tobias Waldekranz
63e1ff1fe9
test: vlan_iface_termination: Add test
...
This will fail on a system running a vanilla kernel, where the dut's
ports are backed by mv88e6xxx, because:
1. The ports are attached to the same bridge, and are thus in the same
PVT group.
2. Creation of the VLAN uppers causes the DSA layer to add both ports
to the same VTU entry.
As a result, hardware behaves as if both ports had been configured as
tagged members of VLAN 10, instead of just terminating incoming
traffic locally.
Add this test to catch hardware which behaves in this way.
2024-11-28 12:52:09 +01:00
Tobias Waldekranz
0c88c464f1
statd: Support reporting PVID on bridges
...
Now that PVID can be configured on bridges, make sure that we reflect
that in the operational database.
2024-11-28 12:52:09 +01:00
Mattias Walström
591397d3c7
test: ospf: add new test for testing 'default-route-advertise'
2024-11-28 11:13:56 +01:00
Mattias Walström
88ab2a6f43
test: ospf-basic: Test redistribute static as well
2024-11-28 11:13:56 +01:00
Mattias Walström
b36e55e642
test: bridge_vlan_separation: Make test more robust
...
Only check for the broadcast sent.
And add more test specification steps
2024-11-28 10:31:54 +01:00
Ahmed Karic
d9eae887a0
test: Verify routing preference 255 is inactive
...
Fixes #784
2024-11-26 15:29:32 +01:00
Ahmed Karic
e9efd224f7
test: Verify route preference (OSPF vs Static)
2024-11-25 18:05:51 +01:00
Ahmed Karic
e9fc62b365
test: Verify route preference (DHCP vs Static)
2024-11-25 18:05:51 +01:00
Joachim Wiberg and Mattias Walström
866b9de779
test: factor out file server from upgrade test
...
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2024-11-25 14:25:26 +01:00
Joachim Wiberg and Mattias Walström
77df9a327d
test: add drawio original and update images in use-case test
...
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2024-11-25 14:25:26 +01:00
Mattias Walström
1cfbf9bc11
test: case: ospf_container: Update test
...
Add "VLAN switches" between each Router, to only pass the tagged traffic
between the routers.
Add test specification and add to test suite
2024-11-25 14:25:26 +01:00
Mattias Walström
81f80bd307
ospf_containers: Convert to use put_config_dicts
2024-11-25 14:04:07 +01:00
Joachim Wiberg and Mattias Walström
f381977e7b
test/case: minor, grammar and formatting
...
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2024-11-25 14:04:07 +01:00
Joachim Wiberg and Mattias Walström
6d6a788749
test/case: update use-case internal network description
...
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2024-11-25 14:04:07 +01:00
Mattias Walström
7a642f9f8c
test: use_case: Update test with HTTP container and ABR
...
Add ABR configuration and a HTTP Container
2024-11-25 14:04:07 +01:00
Joachim Wiberg and Mattias Walström
c0ee09047b
test/case: add description for ospf container use-case
...
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2024-11-25 14:04:07 +01:00
Mattias Walström
bbc9a55c1e
Add new test: ospf_container
...
Aims to test a complex setup with multiple containers, OSPF and NAT
2024-11-25 14:04:07 +01:00
Ahmed Karic
798194b64a
test: update bridge vlan separation test
...
- Verify that broadcast packets are also properly moved accross the
bridge, i.e. the broadcast packets sent from vlan interface VLAN10
do not reach VLAN20
Fixes #773
2024-11-25 08:46:20 +01:00
Mattias Walström
7e08555013
tests: Convert to put_config_dicts
...
Convert from put_config_dict to put_config_dicts
2024-11-07 10:13:05 +01:00
Mattias Walström
a78fd3da0a
test: ospf_bfd: Wait for correct route before continue
...
This to make the test to be more stable.
2024-11-06 20:23:53 +01:00
Mattias Walström
8721255554
test: ospf_multiarea: Set static router-id
...
This is to workaround #807 . To test automatic router id selection
a new test is required, which sets interfaces and activate ospf in
separete NETCONF/RESTCONF query.
2024-11-06 14:59:00 +01:00
Mattias Walström
5079691201
test: Convert ospf_multiarea to use put_config_dicts
2024-11-06 12:06:19 +01:00
Mattias Walström
a23634dd7e
test: Implement put_config_dicts
...
Add all configuration in one command.
Also update the test igmp_vlan to use
put_config_dicts instead of put_config_dict
2024-11-06 12:06:19 +01:00
Tobias Waldekranz
96d200fe70
test: vlan_ping: Improve test step description and structure
...
Initially done as a workaround for the MACVLAN create/remove race. But
even though the old version of this test now works, this refactor
provides better test step descriptions, making it easier to follow for
anyone looking to manually verify the functionality.
2024-11-04 14:42:31 +01:00
Tobias Waldekranz
7f2f3768db
test: ospf_bfd: Verify fast fail-over using BFD
2024-11-04 14:42:31 +01:00