b3af598d58b5d3fed4b39a68cfe5437198b11aa3
[csit.git] / resources / test_data / lisp / static_adjacency / lisp_static_adjacency.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 Lisp remote static mapping test suite."""
15
16 # Lisp default global value
17 locator_name = 'ls1'
18
19 # Lisp default locator_set value
20 duts_locator_set = {'locator_name': locator_name,
21                     'priority': 1,
22                     'weight': 1}
23
24 # IPv4 Lisp static mapping configuration
25 dut1_to_dut2_ip4 = '6.0.3.1'
26 dut2_to_dut1_ip4 = '6.0.3.2'
27 dut1_to_tg_ip4 = '6.0.1.1'
28 dut2_to_tg_ip4 = '6.0.2.1'
29 tg1_ip4 = '6.0.1.2'
30 tg2_ip4 = '6.0.2.2'
31 prefix4 = 24
32 dut1_to_dut2_ip4_static_adjacency = {'vni': 0,
33                                      'deid': '6.0.2.0',
34                                      'seid': '6.0.1.0',
35                                      'rloc': '6.0.3.2',
36                                      'prefix': 24}
37 dut2_to_dut1_ip4_static_adjacency = {'vni': 0,
38                                      'deid': '6.0.1.0',
39                                      'seid': '6.0.2.0',
40                                      'rloc': '6.0.3.1',
41                                      'prefix': 24}
42 dut1_ip4_eid = {'locator_name': locator_name,
43                 'vni': 0,
44                 'eid': '6.0.1.0',
45                 'prefix': 24}
46 dut2_ip4_eid = {'locator_name': locator_name,
47                 'vni': 0,
48                 'eid': '6.0.2.0',
49                 'prefix': 24}
50 dut2_to_dut1_ip4_reconf= '6.0.3.20'
51 dut1_to_dut2_ip4_static_adjacency_reconf = {'vni': 0,
52                                             'deid': '6.0.2.0',
53                                             'seid': '6.0.1.0',
54                                             'rloc': '6.0.3.20',
55                                             'prefix': 24}
56
57 # IPv6 Lisp static mapping configuration
58 dut1_to_dut2_ip6 = '6:0:3::1'
59 dut2_to_dut1_ip6 = '6:0:3::2'
60 dut1_to_tg_ip6 = '6:0:1::1'
61 dut2_to_tg_ip6 = '6:0:2::1'
62 tg1_ip6 = '6:0:1::2'
63 tg2_ip6 = '6:0:2::2'
64 prefix6 = 64
65 dut1_to_dut2_ip6_static_adjacency = {'vni': 0,
66                                      'deid': '6:0:2::0',
67                                      'seid': '6:0:1::0',
68                                      'rloc': '6:0:3::2',
69                                      'prefix': 64}
70 dut2_to_dut1_ip6_static_adjacency = {'vni': 0,
71                                      'deid': '6:0:1::0',
72                                      'seid': '6:0:2::0',
73                                      'rloc': '6:0:3::1',
74                                      'prefix': 64}
75 dut1_ip6_eid = {'locator_name': locator_name,
76                 'vni': 0,
77                 'eid': '6:0:1::0',
78                 'prefix': 64}
79 dut2_ip6_eid = {'locator_name': locator_name,
80                 'vni': 0,
81                 'eid': '6:0:2::0',
82                 'prefix': 64}
83 dut2_to_dut1_ip6_reconf= '6:0:3::20'
84 dut1_to_dut2_ip6_static_adjacency_reconf = {'vni': 0,
85                                             'deid': '6:0:2::0',
86                                             'seid': '6:0:1::0',
87                                             'rloc': '6:0:3::20',
88                                             'prefix': 64}
89
90 # IPv4 over IPv6 Lisp static mapping configuration
91 dut1_to_dut2_ip4o6 = '6:0:3::1'
92 dut2_to_dut1_ip4o6 = '6:0:3::2'
93 dut1_to_tg_ip4o6 = '6.0.1.1'
94 dut2_to_tg_ip4o6 = '6.0.2.1'
95 tg1_ip4o6 = '6.0.1.2'
96 tg2_ip4o6 = '6.0.2.2'
97 tg_prefix4o6 = 24
98 dut_prefix4o6 = 64
99 dut1_ip4o6_static_adjacency = {'vni': 0,
100                                'deid': '6.0.2.0',
101                                'seid': '6.0.1.0',
102                                'rloc': '6:0:3::2',
103                                'prefix': 24}
104 dut2_ip4o6_static_adjacency = {'vni': 0,
105                                'deid': '6.0.1.0',
106                                'seid': '6.0.2.0',
107                                'rloc': '6:0:3::1',
108                                'prefix': 24}
109 dut1_ip4o6_eid = {'locator_name': locator_name,
110                   'vni': 0,
111                   'eid': '6.0.1.0',
112                   'prefix': 24}
113 dut2_ip4o6_eid = {'locator_name': locator_name,
114                   'vni': 0,
115                   'eid': '6.0.2.0',
116                   'prefix': 24}
117 dut2_to_dut1_ip4o6_reconf= '6:0:3::20'
118 dut1_ip4o6_static_adjacency_reconf = {'vni': 0,
119                                       'deid': '6.0.2.0',
120                                       'seid': '6.0.1.0',
121                                       'rloc': '6:0:3::20',
122                                       'prefix': 24}
123
124 # IPv6 over IPv4 Lisp static mapping configuration
125 dut1_to_dut2_ip6o4 = '6.0.3.1'
126 dut2_to_dut1_ip6o4 = '6.0.3.2'
127 dut1_to_tg_ip6o4 = '6:0:1::1'
128 dut2_to_tg_ip6o4 = '6:0:2::1'
129 tg1_ip6o4 = '6:0:1::2'
130 tg2_ip6o4 = '6:0:2::2'
131 tg_prefix6o4 = 64
132 dut_prefix6o4 = 24
133 dut1_ip6o4_static_adjacency = {'vni': 0,
134                                'deid': '6:0:2::0',
135                                'seid': '6:0:1::0',
136                                'rloc': '6.0.3.2',
137                                'prefix': 64}
138 dut2_ip6o4_static_adjacency = {'vni': 0,
139                                'deid': '6:0:1::0',
140                                'seid': '6:0:2::0',
141                                'rloc': '6.0.3.1',
142                                'prefix': 64}
143 dut1_ip6o4_eid = {'locator_name': locator_name,
144                   'vni': 0,
145                   'eid': '6:0:1::0',
146                   'prefix': 64}
147 dut2_ip6o4_eid = {'locator_name': locator_name,
148                   'vni': 0,
149                   'eid': '6:0:2::0',
150                   'prefix': 64}
151 dut2_to_dut1_ip6o4_reconf= '6.0.3.20'
152 dut1_ip6o4_static_adjacency_reconf = {'vni': 0,
153                                       'deid': '6:0:2::0',
154                                       'seid': '6:0:1::0',
155                                       'rloc': '6.0.3.20',
156                                       'prefix': 64}