CSIT-200: Lisp performance test
[csit.git] / resources / test_data / lisp / performance / 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 = '1.1.1.1'
26 dut2_to_dut1_ip4 = '1.1.1.2'
27 dut1_to_tg_ip4 = '10.10.10.1'
28 dut2_to_tg_ip4 = '20.20.20.1'
29 prefix4 = 24
30 dut1_ip4_static_adjacency = {'vni': 0,
31                              'deid': '20.20.20.0',
32                              'seid': '10.10.10.0',
33                              'rloc': '1.1.1.2',
34                            'prefix': 24}
35 dut2_ip4_static_adjacency = {'vni': 0,
36                              'deid': '10.10.10.0',
37                              'seid': '20.20.20.0',
38                              'rloc': '1.1.1.1',
39                              'prefix': 24}
40 dut1_ip4_eid = {'locator_name': locator_name,
41                 'vni': 0,
42                 'eid': '10.10.10.0',
43                 'prefix': 24}
44 dut2_ip4_eid = {'locator_name': locator_name,
45                 'vni': 0,
46                 'eid': '20.20.20.0',
47                 'prefix': 24}
48
49 # IPv6 Lisp static mapping configuration
50 dut1_to_dut2_ip6 = '2001:3::1'
51 dut2_to_dut1_ip6 = '2001:3::2'
52 dut1_to_tg_ip6 = '2001:1::1'
53 dut2_to_tg_ip6 = '2001:2::1'
54 prefix6 = 64
55 dut1_ip6_static_adjacency = {'vni': 0,
56                              'deid': '2001:2::0',
57                              'seid': '2001:1::0',
58                              'rloc': '2001:3::2',
59                              'prefix': 64}
60 dut2_ip6_static_adjacency = {'vni': 0,
61                              'deid': '2001:1::0',
62                              'seid': '2001:2::0',
63                              'rloc': '2001:3::1',
64                              'prefix': 64}
65 dut1_ip6_eid = {'locator_name': locator_name,
66                 'vni': 0,
67                 'eid': '2001:1::0',
68                 'prefix': 64}
69 dut2_ip6_eid = {'locator_name': locator_name,
70                 'vni': 0,
71                 'eid': '2001:2::0',
72                 'prefix': 64}
73
74 # IPv4 over IPv6 Lisp static mapping configuration
75 dut1_to_dut2_ip4o6 = '2001:3::1'
76 dut2_to_dut1_ip4o6 = '2001:3::2'
77 dut1_to_tg_ip4o6 = '10.10.10.1'
78 dut2_to_tg_ip4o6 = '20.20.20.1'
79 tg_prefix4o6 = 24
80 dut_prefix4o6 = 64
81 dut1_ip4o6_static_adjacency = {'vni': 0,
82                                'deid': '20.20.20.0',
83                                'seid': '10.10.10.0',
84                                'rloc': '2001:3::2',
85                                'prefix': 24}
86 dut2_ip4o6_static_adjacency = {'vni': 0,
87                                'deid': '10.10.10.0',
88                                'seid': '20.20.20.0',
89                                'rloc': '2001:3::1',
90                                'prefix': 24}
91 dut1_ip4o6_eid = {'locator_name': locator_name,
92                   'vni': 0,
93                   'eid': '10.10.10.0',
94                   'prefix': 24}
95 dut2_ip4o6_eid = {'locator_name': locator_name,
96                   'vni': 0,
97                   'eid': '20.20.20.0',
98                   'prefix': 24}
99
100 # IPv6 over IPv4 Lisp static mapping configuration
101 dut1_to_dut2_ip6o4 = '1.1.1.1'
102 dut2_to_dut1_ip6o4 = '1.1.1.2'
103 dut1_to_tg_ip6o4 = '2001:1::1'
104 dut2_to_tg_ip6o4 = '2001:2::1'
105 tg_prefix6o4 = 64
106 dut_prefix6o4 = 24
107 dut1_ip6o4_static_adjacency = {'vni': 0,
108                                'deid': '2001:2::0',
109                                'seid': '2001:1::0',
110                                'rloc': '1.1.1.2',
111                                'prefix': 64}
112 dut2_ip6o4_static_adjacency = {'vni': 0,
113                                'deid': '2001:1::0',
114                                'seid': '2001:2::0',
115                                'rloc': '1.1.1.1',
116                                'prefix': 64}
117 dut1_ip6o4_eid = {'locator_name': locator_name,
118                   'vni': 0,
119                   'eid': '2001:1::0',
120                   'prefix': 64}
121 dut2_ip6o4_eid = {'locator_name': locator_name,
122                   'vni': 0,
123                   'eid': '2001:2::0',
124                   'prefix': 64}