diff options
author | selias <samelias@cisco.com> | 2017-03-08 10:15:52 +0100 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2017-03-13 13:35:17 +0000 |
commit | 5a6730f9ce36b4d09b121d401209d89288da301b (patch) | |
tree | 6016a30067363f48709738bc926090bbe2407b51 /resources | |
parent | 579c007f959a433607fa3b920e7c7089a9f9ba8d (diff) |
HC Test: add test for vlan sub-interface exact tag match
Change-Id: Ie5feb1ac6c46f447a20d388680fc19854f2c7ef6
Signed-off-by: selias <samelias@cisco.com>
Diffstat (limited to 'resources')
-rw-r--r-- | resources/test_data/honeycomb/sub_interfaces.py | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/resources/test_data/honeycomb/sub_interfaces.py b/resources/test_data/honeycomb/sub_interfaces.py index a8afb22575..98e2b13c2f 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 = { @@ -285,3 +287,9 @@ 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 |