No overlapping subnets between DUT/TG and DUT/VM
[csit.git] / resources / test_data / lisp / ipv6_lispgpe_ipv6 / ipv6_lispgpe_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 ip6-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_ip6 = '2001:cdba:1::1'
28 dut2_to_tg_ip6 = '2001:cdba:2::1'
29 tg1_ip6 = '2001:cdba:1::2'
30 tg2_ip6 = '2001:cdba:2::2'
31 prefix6 = 64
32
33 vhost_ip = '2001:cdba:6::9'
34
35 dut1_to_dut2_ip6_static_adjacency = {'vni': 0,
36                                      'deid': '2001:cdba:2::0',
37                                      'rloc': '2001:cdba:3::2',
38                                      'seid': '2001:cdba:1::0',
39                                      'prefix': 64}
40 dut2_to_dut1_ip6_static_adjacency = {'vni': 0,
41                                      'deid': '2001:cdba:1::0',
42                                      'seid': '2001:cdba:2::0',
43                                      'rloc': '2001:cdba:3::1',
44                                      'prefix': 64}
45
46 dut1_ip6_eid = {'locator_name': locator_name,
47                 'vni': 0,
48                 'eid': '2001:cdba:1::0',
49                 'prefix': 64}
50 dut2_ip6_eid = {'locator_name': locator_name,
51                 'vni': 0,
52                 'eid': '2001:cdba:2::0',
53                 'prefix': 64}
54
55 fib_table_1 = 1
56 dut1_dut2_vni = 1
57
58 sock1 = "/tmp/sock1"
59 sock2 = "/tmp/sock2"
60 bid = 10