Tolerate failures when setting MTU
[csit.git] / resources / test_data / honeycomb / persistence.py
index f46cfba..f4ebdd5 100644 (file)
@@ -44,21 +44,35 @@ def get_variables(interface):
                         },
         # tap interface settings
         'tap_interface': 'tap_test',
-        'tap_settings': {'tap-name': 'tap_test',
+        'tap_interface_vat': 'tap0',
+        'tap_settings': {'host-interface-name': 'tap_test',
                          'mac': '08:00:27:c0:5d:37',
-                         'device-instance': 1
+                         'id': 1
                          },
+        'tap_settings_oper': {'host-interface-name': 'tap_test',
+                              'device-name': 'tap0',
+                              'tx-ring-size': 256,
+                              'rx-ring-size': 256,
+                              'mac': '08:00:27:c0:5d:37',
+                              'id': 1
+                              },
+        'tap_settings_vat': {'dev_name': 'tap0',
+                             'tx_ring_sz': 256,
+                             'rx_ring_sz': 256,
+                             'mac': '08:00:27:c0:5d:37',
+                             'id': 1
+                             },
         # vhost-user interface settings
         'vhost_interface': 'test_vhost',
-        'vhost_user_server': {'socket': 'soc1',
-                              'role': 'server'
+        'vhost_user_client': {'socket': 'soc1',
+                              'role': 'client'
                               },
         # Vlan subinterface settings
         'sub_if_id': sub_if_id,
         '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 +109,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 +130,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,