Tobias Waldekranz
9e7e30ccb0
test: Run negative ping tests in parallel
...
Rather than having to wait for each timeout sequentially, run each
test in parallel.
2024-05-17 23:14:42 +02:00
Tobias Waldekranz
605d28a0da
test: Whitespace cleanup
2024-05-17 23:14:42 +02:00
Joachim Wiberg and Tobias Waldekranz
db628ee3f3
test: revert back to tcpdump output format when reading pcap
...
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2024-04-30 15:51:17 +02:00
Joachim Wiberg
c3900ec710
confd: allow VLAN interfaces as bridge ports
...
Fixes #406
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2024-04-25 09:20:32 +02:00
Mattias Walström and Joachim Wiberg
c72bc34df1
test: Add test for static multicast filters
2024-04-05 15:34:21 +02:00
Mattias Walström
81745a1625
Add configuration of static multicast entries
...
Both L2 and L3 is supported.
With VLAN-filtering:
admin@infix-00-00-00:/config/interface/br0/> set bridge vlans vlan 1 multicast-filter 224.1.3.4 ports e0
Without VLAN-filtering:
admin@infix-00-00-00:/config/interface/br0/> set bridge multicast-filter 224.1.2.3 ports e0
2024-04-04 17:27:11 +02:00
Mattias Walström
89bcf7346f
test: igmp_basic: Speed up test and some renaming
...
Rename to more distinct names for netns and hostports
2024-03-07 12:45:55 +01:00
Mattias Walström
f91d36b8d1
test: igmp_vlan: Speed up test significantly
...
Remove a lot of extra sleeps.
2024-03-07 12:45:55 +01:00
Mattias Walström
400ae6ce1c
test: Add new test igmp_vlan and add igmp tests to suite
2024-03-07 12:45:55 +01:00
Mattias Walström
43d67044d0
test: igmp_basic: speed up test, remove unnecessary long timeout
...
And cleanup ASCII picture
2024-03-07 12:45:55 +01:00
Mattias Walström
c21f37c241
test: add new test igmp_basic
...
Simple test that tests (without VLAN):
* Multicast flooding works
* Join works as expected
2024-03-07 12:45:55 +01:00
Mattias Walström and Joachim Wiberg
2bf6ec7d1a
test: ipv4_autoconf: Fix racecondition on slow test-PCs
...
Refactor test, remove fragile solution with tcpdump started AFTER
the linklocal was activated, this opened for a race condition since
it was listening for a message sent once.
Now wait for the linklocal address instead.
2024-02-28 18:25:43 +01:00
Richard Alpe and Joachim Wiberg
d73d5440c5
test: remove hardcoded interface type
...
This can now a days be inferred and isn't needed. Also, the interface
type in virtual testing is now etherlike not ethernet.
Signed-off-by: Richard Alpe <richard@bit42.se >
2024-02-05 18:01:30 +01:00
Mattias Walström and Joachim Wiberg
941fc31581
infix-vlan: Create a custom vlan model
...
This implements the new model infix-if-vlan.
The new CLI is:
root@infix-00-00-00:/config/interfaces/interface/vlan10/> set vlan id 10 lower-layer-if eth0
with an possible extra option for tag-type, default tag-type is c-vlan.
2023-10-27 10:53:55 +02:00
Joachim Wiberg and Tobias Waldekranz
fcb629f08f
test: update cases to use new infix-if-types
...
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2023-08-22 13:32:47 +02:00
Ahmed Karic and Tobias Waldekranz
7432ff10aa
test/case: add bridge forwarding tests (single-DUT, dual-DUT, VLAN separation)
2023-08-16 13:51:00 +02:00
Joachim Wiberg and Tobias Waldekranz
fcf3605e12
test/case: new regression test for IPv4 autoconf
...
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2023-06-30 14:13:09 +02:00
Joachim Wiberg and Tobias Waldekranz
aea74842e0
test/case: new test, basic bridge vlan filtering
...
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2023-06-22 13:55:16 +02:00
Joachim Wiberg and Tobias Waldekranz
1c6b06d3ac
test/case: minor, fix copy-paste in step description
...
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2023-06-22 00:12:43 +02:00
Joachim Wiberg and Tobias Waldekranz
d4014816d9
test: fix copy-paste from other test
...
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2023-06-20 11:11:52 +02:00
Joachim Wiberg and Tobias Waldekranz
c832a906fd
test/case: split bridge-basic test in three
...
A basic test should be just that, very basic test of a feature. So we
split out the more advanced ones, building up to the dual-bridge.
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2023-06-20 11:11:52 +02:00
Joachim Wiberg and Tobias Waldekranz
812ee32029
test: add basic pc --> bridge-veth-bridge test
...
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2023-06-20 11:11:52 +02:00