X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Ftest_data%2Fhoneycomb%2Fpersistence.py;h=f4ebdd5f23fe29edc85dd2466fea582dfd9ddb62;hp=f46cfba597c2240e72b1c54a5e9adf24417b0723;hb=82094363f6077e1b28845719db3a6191c0c93a99;hpb=dec1188c7f89f5f8f97085b5f68c6f1d918586b8 diff --git a/resources/test_data/honeycomb/persistence.py b/resources/test_data/honeycomb/persistence.py index f46cfba597..f4ebdd5f23 100644 --- a/resources/test_data/honeycomb/persistence.py +++ b/resources/test_data/honeycomb/persistence.py @@ -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,