CSIT-577 HC Test: Scripts for test jobs using ODL client
[csit.git] / resources / test_data / honeycomb / vxlan_gpe.py
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:
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 Honeycomb VxLAN GPE management test suite."""
15
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',
21     'enabled': True,
22     'link-up-down-trap-enable': 'enabled'
23 }
24 vxlan_gpe_settings = {
25     'local': '192.168.50.76',
26     'remote': '192.168.50.71',
27     'vni': 9,
28     'next-protocol': 'ipv4',
29     'encap-vrf-id': 0,
30     'decap-vrf-id': 0
31 }
32
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',
37     'enabled': 'false'
38 }
39
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',
46     'enabled': True,
47     'link-up-down-trap-enable': 'enabled'
48 }
49
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',
55     'enabled': 'true',
56     'link-up-down-trap-enable': 'enabled'
57 }
58 vxlan_gpe_wrong_protocol_settings = {
59     'local': '192.168.50.77',
60     'remote': '192.168.50.72',
61     'vni': 9,
62     'next-protocol': 'wrong_ipv4',
63     'encap-vrf-id': 0,
64     'decap-vrf-id': 0
65 }
66
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',
72     'enabled': True,
73     'link-up-down-trap-enable': 'enabled'
74 }
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',
78     'vni': 9,
79     'next-protocol':'ipv4',
80     'encap-vrf-id': 0,
81     'decap-vrf-id': 0
82 }
83
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',
89     'enabled': True,
90     'link-up-down-trap-enable': 'enabled'
91 }
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',
95     'vni': 9,
96     'next-protocol': 'ipv4',
97     'encap-vrf-id': 0,
98     'decap-vrf-id': 0
99 }