Skip to content

Add traffic rules tests#394

Draft
semarie wants to merge 3 commits intomasterfrom
srt/traffic-rules
Draft

Add traffic rules tests#394
semarie wants to merge 3 commits intomasterfrom
srt/traffic-rules

Conversation

@semarie
Copy link
Contributor

@semarie semarie commented Feb 11, 2026

  • proper integration in tests
  • simple rules
  • VM migration (VIF / Network rules FAIL without some patches)
  • tests with VLAN
    • VIF rule
    • Network rule (FAIL without cookie PR)
  • tests with Tunnel (aka 'Private Network' in XO)

@semarie semarie self-assigned this Feb 11, 2026
@semarie semarie force-pushed the srt/traffic-rules branch 11 times, most recently from 136ec08 to fbad09b Compare February 17, 2026 07:48
@semarie semarie force-pushed the srt/traffic-rules branch 5 times, most recently from 4dfc1fd to 118822f Compare February 18, 2026 16:52
- add some tests for Bond
- add new abstractions (Network and Bond) with fixtures

Signed-off-by: Sebastien Marie <semarie@kapouay.eu.org>
Signed-off-by: Sebastien Marie <semarie@kapouay.eu.org>
@semarie semarie force-pushed the srt/traffic-rules branch 8 times, most recently from 38e4a18 to b07bf94 Compare February 20, 2026 07:54
@semarie
Copy link
Contributor Author

semarie commented Feb 20, 2026

- simple VIF rule (add/delete with simple vm.start/destroy cycle)
- simple Network rule (add/delete with simple vm.start/destroy cycle)
- migrate with simple VIF rule
- migrate with Network rule rule
- VLAN with simple VIF rule
- VLAN with simple Network rule
- Tunnel with simple VIF rule
- Tunnel with simple Network rule

fixtures:
- add connected_hosts_with_xo: returns the list of hosts which are already connected to xo-cli
- add Tunnel fixture: returns a configured Tunnel network (Private Network in XO)
- add VLAN fixture: returns a configured VLAN network

lib
- add Tunnel abstraction
- add VLAN abstraction

Signed-off-by: Sebastien Marie <semarie@kapouay.eu.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant