From e9e4c3c9092fdb447f13573f176b1c337f8efc4f Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Thu, 1 Apr 2021 16:08:46 +0200 Subject: tests: add 8021.AD vlan test cases Check nft doesn't remove the explicit '8021ad' type check and that the expected dependency chains are generated. Signed-off-by: Florian Westphal --- tests/py/bridge/vlan.t | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests/py/bridge/vlan.t') diff --git a/tests/py/bridge/vlan.t b/tests/py/bridge/vlan.t index 7a52a502..8553ba56 100644 --- a/tests/py/bridge/vlan.t +++ b/tests/py/bridge/vlan.t @@ -34,6 +34,11 @@ vlan id { 1, 2, 4, 100, 4096 };fail ether type vlan ip protocol 1 accept;ok +# IEEE 802.1AD +ether type 8021ad vlan id 1 ip protocol 6 accept;ok +ether type 8021ad vlan id 1 vlan type vlan vlan id 2 vlan type ip counter;ok +ether type 8021ad vlan id 1 vlan type vlan vlan id 2 vlan type ip ip protocol 6;ok;ether type 8021ad vlan id 1 vlan type vlan vlan id 2 ip protocol 6 + # illegal dependencies ether type ip vlan id 1;fail ether type ip vlan id 1 ip saddr 10.0.0.1;fail -- cgit v1.2.3