CSIT-768: Refactor Python container libraries
[csit.git] / resources / test_data / honeycomb / slaac_variables.py
1 # Copyright (c) 2017 Cisco and/or its affiliates.
2 # Licensed under the Apache License, Version 2.0 (the "License");
3 # you may not use this file except in compliance with the License.
4 # You may obtain a copy of the License at:
5 #
6 #     http://www.apache.org/licenses/LICENSE-2.0
7 #
8 # Unless required by applicable law or agreed to in writing, software
9 # distributed under the License is distributed on an "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 # See the License for the specific language governing permissions and
12 # limitations under the License.
13
14 """Test variables for SLAAC test suite."""
15
16
17 def get_variables():
18     """Create and return a dictionary of test variables for the specified
19     test case.
20
21     :returns: Dictionary of test variables - settings for Honeycomb's SLAAC.
22     :rtype: dict
23     """
24     slaac_data = {
25         "address": "10::10",
26         "prefix": 64,
27         "slaac_data": {
28             "send-advertisements": "True",
29             "min-rtr-adv-interval": "15",
30             "max-rtr-adv-interval": "100",
31             "default-lifetime": "601",
32             "vpp-routing-ra:suppress-link-layer": "False",
33             "vpp-routing-ra:initial-count": "3",
34             "vpp-routing-ra:initial-interval": "5"
35         },
36         "slaac_data_01": {
37             "send-advertisements": "True",
38             "min-rtr-adv-interval": "3",
39             "max-rtr-adv-interval": "4",
40             "default-lifetime": "8",
41             "vpp-routing-ra:suppress-link-layer": "True",
42             "vpp-routing-ra:initial-count": "1",
43             "vpp-routing-ra:initial-interval": "1"
44         },
45         "slaac_data_02": {
46             "send-advertisements": "False",
47             "min-rtr-adv-interval": "3",
48             "max-rtr-adv-interval": "4",
49             "default-lifetime": "5",
50             "vpp-routing-ra:suppress-link-layer": "False",
51             "vpp-routing-ra:initial-count": "1",
52             "vpp-routing-ra:initial-interval": "1"
53         },
54         "slaac_data_03": {
55             "send-advertisements": "False",
56             "min-rtr-adv-interval": "1350",
57             "max-rtr-adv-interval": "1800",
58             "default-lifetime": "9000",
59             "vpp-routing-ra:suppress-link-layer": "True",
60             "vpp-routing-ra:initial-count": "3",
61             "vpp-routing-ra:initial-interval": "16"
62         },
63     }
64     return slaac_data