1 # Copyright (c) 2016 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:
6 # http://www.apache.org/licenses/LICENSE-2.0
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.
14 """Test variables for Honeycomb VxLAN GPE management test suite."""
16 # The first VxLAN GPE Interface used in tests.
17 vxlan_gpe_if1 = 'vxlan_gpe_tunnel0'
18 vxlan_gpe_base_settings = {
19 'name': vxlan_gpe_if1,
20 'description': 'for testing purposes',
22 'link-up-down-trap-enable': 'enabled'
24 vxlan_gpe_settings = {
25 'local': '192.168.50.76',
26 'remote': '192.168.50.71',
28 'next-protocol': 'ipv4',
33 # The values of parameters of disabled VxLAN GPE interface.
34 vxlan_gpe_disabled_base_settings = {
35 'name': vxlan_gpe_if1,
36 'description': 'for testing purposes',
40 # Wrong interface type.
41 vxlan_gpe_if2 = 'vxlan_gpe_tunnel1'
42 vxlan_gpe_wrong_type_base_settings = {
43 'name': vxlan_gpe_if2,
44 'type': 'iana-if-type:ethernetCsmacd',
45 'description': 'for testing purposes',
47 'link-up-down-trap-enable': 'enabled'
50 # Wrong next-protocol value.
51 vxlan_gpe_if3 = 'vxlan_gpe_tunnel1'
52 vxlan_gpe_wrong_protocol_base_settings = {
53 'name': vxlan_gpe_if3,
54 'description': 'for testing purposes',
56 'link-up-down-trap-enable': 'enabled'
58 vxlan_gpe_wrong_protocol_settings = {
59 'local': '192.168.50.77',
60 'remote': '192.168.50.72',
62 'next-protocol': 'wrong_ipv4',
67 # The first IPv6 VxLAN GPE interface.
68 vxlan_gpe_if5 = 'vxlan_gpe_tunnel0'
69 vxlan_gpe_base_ipv6_settings = {
70 'name': vxlan_gpe_if5,
71 'description': 'for testing purposes',
73 'link-up-down-trap-enable': 'enabled'
75 vxlan_gpe_ipv6_settings = {
76 'local': '10:10:10:10:10:10:10:10',
77 'remote': '10:10:10:10:10:10:10:11',
79 'next-protocol':'ipv4',
84 # The second IPv6 VxLAN GPE interface.
85 vxlan_gpe_if6 = 'vxlan_gpe_tunnel1'
86 vxlan_gpe_base_ipv6_settings2 = {
87 'name': vxlan_gpe_if6,
88 'description': 'for testing purposes',
90 'link-up-down-trap-enable': 'enabled'
92 vxlan_gpe_ipv6_settings2 = {
93 'local': '10:10:10:10:10:10:10:20',
94 'remote': '10:10:10:10:10:10:10:21',
96 'next-protocol': 'ipv4',