244f042f036e4ea33a116f293e9fb692a5d62421
[csit.git] / resources / test_data / lisp / ipv4_ipsec_lispgpe_ipv4 / ipv4_ipsec_lispgpe_ipv4.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 ip4-lispgpe-ip4 encapsulation test suite."""
15
16 # Lisp default global value
17 locator_name = 'tst_locator'
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.6.3.1'
26 dut2_to_dut1_ip4 = '6.6.3.2'
27 dut1_to_tg_ip4 = '6.6.1.1'
28 dut2_to_tg_ip4 = '6.6.2.1'
29 tg1_ip4 = '6.6.1.2'
30 tg2_ip4 = '6.6.2.2'
31 prefix4 = 24
32
33 dut1_to_dut2_ip4_static_adjacency = {'vni': 0,
34                                      'deid': '6.6.2.0',
35                                      'rloc': '6.6.3.2',
36                                      'seid': '6.6.1.0',
37                                      'prefix': 24}
38 dut2_to_dut1_ip4_static_adjacency = {'vni': 0,
39                                      'deid': '6.6.1.0',
40                                      'seid': '6.6.2.0',
41                                      'rloc': '6.6.3.1',
42                                      'prefix': 24}
43
44 dut1_ip4_eid = {'locator_name': locator_name,
45                 'vni': 0,
46                 'eid': '6.6.1.0',
47                 'prefix': 24}
48 dut2_ip4_eid = {'locator_name': locator_name,
49                 'vni': 0,
50                 'eid': '6.6.2.0',
51                 'prefix': 24}
52
53 dut1_fib_table = '1'
54 dut2_fib_table = '2'
55
56 dut2_spi = 1000
57 dut1_spi = 1001
58 ESP_PROTO = 50