No overlapping subnets between DUT/TG and DUT/VM
[csit.git] / resources / test_data / lisp / ipv4_lispgpe_ipv6 / ipv4_lispgpe_ipsec_ipv6.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-ip6 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_ip6 = '2001:cdba:3::1'
26 dut2_to_dut1_ip6 = '2001:cdba: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 prefix6 = 64
33 vhost_ip = '6.6.1.3'
34 lisp_gpe_int = 'lisp_gpe0'
35
36 dut1_to_dut2_ip_static_adjacency = {'vni': 0,
37                                     'deid': '6.0.2.0',
38                                     'seid': '6.0.1.0',
39                                     'rloc': dut2_to_dut1_ip6,
40                                     'prefix': 24}
41 dut2_to_dut1_ip_static_adjacency = {'vni': 0,
42                                     'deid': '6.0.1.0',
43                                     'seid': '6.0.2.0',
44                                     'rloc': dut1_to_dut2_ip6,
45                                     'prefix': 24}
46
47 dut1_ip4_eid = {'locator_name': locator_name,
48                 'vni': 0,
49                 'eid': '6.0.1.0',
50                 'prefix': 24}
51 dut2_ip4_eid = {'locator_name': locator_name,
52                 'vni': 0,
53                 'eid': '6.0.2.0',
54                 'prefix': 24}
55
56 dut1_fib_table = '1'
57 dut2_fib_table = '2'
58
59 dut2_spi = 1000
60 dut1_spi = 1001
61 ESP_PROTO = 50
62 sock1 = '/tmp/sock1'
63 sock2 = '/tmp/sock2'
64 bid = 10