aboutsummaryrefslogtreecommitdiffstats
path: root/resources/test_data/honeycomb
diff options
context:
space:
mode:
authorselias <samelias@cisco.com>2016-10-24 18:15:52 +0200
committerPeter Mikus <pmikus@cisco.com>2016-11-04 08:50:25 +0000
commit6bfae6634aa26c2e88dddf49d91245d880b0222b (patch)
treefb554021ff68a8d862b5252583f296e681525863 /resources/test_data/honeycomb
parentb8fe6e5a6c0dc1f9972b7f3919041dedb1427cfd (diff)
CSIT-457: Address Honeycomb test failures
- tag all not-implemented features with EXPECTED_FAILING - add workarounds for known issues with VAT dump commands - replace hardcoded test data with parametrized - separate IP neighbor and IP address into two test cases - support unordered lists with compare_data_structures keyword Change-Id: I2c683162325cee720ba496489787fa50e9c72b8c Signed-off-by: selias <samelias@cisco.com>
Diffstat (limited to 'resources/test_data/honeycomb')
-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
}
- }
+ },
]
}