From 6bfae6634aa26c2e88dddf49d91245d880b0222b Mon Sep 17 00:00:00 2001 From: selias Date: Mon, 24 Oct 2016 18:15:52 +0200 Subject: 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 --- resources/test_data/honeycomb/sub_interfaces.py | 42 ++++++++++++------------- 1 file changed, 21 insertions(+), 21 deletions(-) (limited to 'resources/test_data') 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 } - } + }, ] } -- cgit 1.2.3-korg