mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-31 04:53:01 +02:00
test: firewall: ipv6-zone-migration: Adapt to yanger behaviour changes
This commit is contained in:
@@ -203,9 +203,17 @@ with infamy.Test() as test:
|
||||
}
|
||||
})
|
||||
|
||||
# Wait for the migration to actually land in operational.
|
||||
# Both zones were already action 'accept' before the move,
|
||||
# so waiting on action alone returns immediately; wait on
|
||||
# the interface reassignment (and service) that changed.
|
||||
infamy.Firewall.wait_for_operational(target, {
|
||||
"untrusted": {"action": "accept"},
|
||||
"trusted": {"action": "accept"}
|
||||
"trusted": {
|
||||
"action": "accept",
|
||||
"interface": [data1_if, data2_if],
|
||||
"service": ["myapp"],
|
||||
},
|
||||
})
|
||||
|
||||
with test.step("Verify connectivity after zone migration"):
|
||||
|
||||
Reference in New Issue
Block a user