X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Ftest_data%2Fhoneycomb%2Fsub_interfaces.py;h=3955089b5602a3e0fe8149969e0a1a3d6b1236d0;hb=526856e4018d53146bbd777671d63146eebb1e7a;hp=a8afb2257583f4c519532ad8ebec8bb90b1a1778;hpb=6bfae6634aa26c2e88dddf49d91245d880b0222b;p=csit.git diff --git a/resources/test_data/honeycomb/sub_interfaces.py b/resources/test_data/honeycomb/sub_interfaces.py index a8afb22575..3955089b56 100644 --- a/resources/test_data/honeycomb/sub_interfaces.py +++ b/resources/test_data/honeycomb/sub_interfaces.py @@ -13,6 +13,8 @@ """Test variables for Honeycomb sub-interface test suite.""" +from copy import deepcopy + # Sub-interface 1 and its settings: sub_if_1_settings = { "identifier": "1", @@ -37,7 +39,7 @@ sub_if_1_tags = [ } ] -sub_if_1_match = "vlan-tagged-exact-match" +sub_if_1_match = "vlan-tagged" # Expected operational data: sub-interface. sub_if_1_oper = { @@ -50,7 +52,7 @@ sub_if_1_oper = { "index": 0, "dot1q-tag": { "tag-type": "dot1q-types:s-vlan", - "vlan-id": "100" + "vlan-id": 100 } }, { @@ -285,3 +287,16 @@ ipv4_2 = { "address": "192.168.0.5", "netmask": "255.255.0.0", "prefix-length": 16} + +sub_if_2_settings = sub_if_1_settings +sub_if_2_tags = sub_if_1_tags +sub_if_2_match = "vlan-tagged-exact-match" +sub_if_2_oper = deepcopy(sub_if_1_oper) +sub_if_2_oper["match"]["vlan-tagged"]["match-exact-tags"] = True + +ipv6 = { + "address": "10::10", + "prefix-length": 24} +ipv6_2 = { + "address": "10::11", + "prefix-length": 16}