aboutsummaryrefslogtreecommitdiffstats
path: root/resources/test_data/honeycomb/sub_interfaces.py
diff options
context:
space:
mode:
Diffstat (limited to 'resources/test_data/honeycomb/sub_interfaces.py')
-rw-r--r--resources/test_data/honeycomb/sub_interfaces.py42
1 files changed, 21 insertions, 21 deletions
diff --git a/resources/test_data/honeycomb/sub_interfaces.py b/resources/test_data/honeycomb/sub_interfaces.py
index 6904b48015..a8afb22575 100644
--- a/resources/test_data/honeycomb/sub_interfaces.py
+++ b/resources/test_data/honeycomb/sub_interfaces.py
@@ -47,19 +47,19 @@ sub_if_1_oper = {
"tags": {
"tag": [
{
- "index": 1,
+ "index": 0,
"dot1q-tag": {
- "tag-type": "dot1q-types:c-vlan",
- "vlan-id": "any"
+ "tag-type": "dot1q-types:s-vlan",
+ "vlan-id": "100"
}
},
{
- "index": 0,
+ "index": 1,
"dot1q-tag": {
- "tag-type": "dot1q-types:s-vlan",
- "vlan-id": "100"
+ "tag-type": "dot1q-types:c-vlan",
+ "vlan-id": "any"
}
- }
+ },
]
},
"match": {
@@ -97,7 +97,7 @@ tag_rewrite_push = {
"index": 0,
"dot1q-tag": {
"tag-type": "dot1q-types:s-vlan",
- "vlan-id":123
+ "vlan-id": 123
}
},
{
@@ -115,17 +115,17 @@ tag_rewrite_push_oper = {
"vlan-type": "vpp-vlan:802dot1q",
"push-tags": [
{
- "index": 1,
+ "index": 0,
"dot1q-tag": {
- "tag-type": "dot1q-types:c-vlan",
- "vlan-id": 456
+ "tag-type": "dot1q-types:s-vlan",
+ "vlan-id": 123
}
},
{
- "index": 0,
+ "index": 1,
"dot1q-tag": {
- "tag-type": "dot1q-types:s-vlan",
- "vlan-id": 123
+ "tag-type": "dot1q-types:c-vlan",
+ "vlan-id": 456
}
}
]
@@ -202,19 +202,19 @@ tag_rewrite_translate_1_2_oper = {
"pop-tags": 1,
"push-tags": [
{
- "index": 1,
+ "index": 0,
"dot1q-tag": {
- "tag-type": "dot1q-types:c-vlan",
- "vlan-id": 222
+ "tag-type": "dot1q-types:s-vlan",
+ "vlan-id": 111
}
},
{
- "index": 0,
+ "index": 1,
"dot1q-tag": {
- "tag-type": "dot1q-types:s-vlan",
- "vlan-id": 111
+ "tag-type": "dot1q-types:c-vlan",
+ "vlan-id": 222
}
- }
+ },
]
}