summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEli Britstein <elibr@mellanox.com>2019-05-12 05:50:59 +0000
committerBen Pfaff <blp@ovn.org>2019-05-24 11:22:10 -0700
commit88f52d7fabb0d22296223b97d51747f696c87d45 (patch)
tree87488add22d1f838d85cb077c82806f22fae39d1 /tests
parentb530bfcba0e34b85f82135348ad5207419f36a3d (diff)
downloadopenvswitch-88f52d7fabb0d22296223b97d51747f696c87d45.tar.gz
ofproto-dpif-xlate: Change priority tags from boolean to enum
Priority tags is a port configuration to determine how the port treats priority tags, e.g. zero VLAN ID. Change the type from boolean to enum as a pre-step towards introducing additional modes. The new options are "never", equivalent to previously "false", and "if-nonzero", equivalent to previously "true". "true" is still supported for backwards compatibility. Signed-off-by: Eli Britstein <elibr@mellanox.com> Reviewed-by: Roi Dayan <roid@mellanox.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/ofproto-dpif.at6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/ofproto-dpif.at b/tests/ofproto-dpif.at
index 9b0231b88..9640d1cb9 100644
--- a/tests/ofproto-dpif.at
+++ b/tests/ofproto-dpif.at
@@ -3467,18 +3467,18 @@ OVS_VSWITCHD_START(
add-port br0 p1 trunks=10,12 -- \
add-port br0 p2 tag=10 -- \
add-port br0 p3 tag=12 \
- other-config:priority-tags=true -- \
+ other-config:priority-tags=if-nonzero -- \
add-port br0 p4 tag=12 -- \
add-port br0 p5 vlan_mode=native-tagged tag=10 -- \
add-port br0 p6 vlan_mode=native-tagged tag=10 trunks=10,12 -- \
add-port br0 p7 vlan_mode=native-untagged tag=12 -- \
add-port br0 p8 vlan_mode=native-untagged tag=12 trunks=10,12 \
- other-config:priority-tags=true -- \
+ other-config:priority-tags=if-nonzero -- \
add-port br0 p9 vlan_mode=dot1q-tunnel tag=10 other-config:qinq-ethtype=802.1q -- \
add-port br0 p10 vlan_mode=dot1q-tunnel tag=10 cvlans=10,12 other-config:qinq-ethtype=802.1q -- \
add-port br0 p11 vlan_mode=dot1q-tunnel tag=12 other-config:qinq-ethtype=802.1q -- \
add-port br0 p12 vlan_mode=dot1q-tunnel tag=12 other-config:qinq-ethtype=802.1q \
- other-config:priority-tags=true -- \
+ other-config:priority-tags=if-nonzero -- \
set Interface p1 type=dummy -- \
set Interface p2 type=dummy -- \
set Interface p3 type=dummy -- \