HC Tests: adapt sub-interface tests to recent api changes (HC2VPP-289)
[csit.git] / resources / test_data / honeycomb / persistence.py
index 216d4fa..88d2137 100644 (file)
@@ -58,7 +58,7 @@ def get_variables(interface):
         'sub_if_name': sub_if_name,
         'sub_if_1_settings': {
             "identifier": sub_if_id,
-            "vlan-type": "802dot1q",
+            "vlan-type": "_802dot1q",
             "enabled": "false"
             },
         'sub_if_1_tags': [
@@ -95,14 +95,14 @@ def get_variables(interface):
                         "index": 0,
                         "dot1q-tag": {
                             "tag-type": "dot1q-types:s-vlan",
-                            "vlan-id": "100"
+                            "vlan-id": 100
                         }
                     }
                 ]
             },
             "match": {
                 "vlan-tagged": {
-                    "match-exact-tags": False
+                    "match-exact-tags": True
                 }
             }
         },
@@ -116,14 +116,14 @@ def get_variables(interface):
         },
 
         'tag_rewrite_pop_1_oper': {
-            "vlan-type": "vpp-vlan:802dot1ad",
+            "vlan-type": "vpp-vlan:_802dot1ad",
             "pop-tags": 1
         },
 
         'tag_rewrite_pop_1_VAT': {
             'sub_default': 0,
             'sub_dot1ad': 0,
-            'sub_exact_match': 0,
+            'sub_exact_match': 1,
             'sub_inner_vlan_id': 0,
             'sub_inner_vlan_id_any': 1,
             'sub_number_of_tags': 2,