e3206c2bc96a5be1bd8ea1e87e795d66b22730be
[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 dut1_to_dut2_ip6_static_adjacency = {'vni': 0,
34                                      'deid': '2001:cdba:2::0',
35                                      'rloc': '2001:cdba:3::2',
36                                      'seid': '2001:cdba:1::0',
37                                      'prefix': 64}
38 dut2_to_dut1_ip6_static_adjacency = {'vni': 0,
39                                      'deid': '2001:cdba:1::0',
40                                      'seid': '2001:cdba:2::0',
41                                      'rloc': '2001:cdba:3::1',
42                                      'prefix': 64}
43
44 dut1_ip6_eid = {'locator_name': locator_name,
45                 'vni': 0,
46                 'eid': '2001:cdba:1::0',
47                 'prefix': 64}
48 dut2_ip6_eid = {'locator_name': locator_name,
49                 'vni': 0,
50                 'eid': '2001:cdba:2::0',
51                 'prefix': 64}
52
53 dut1_fib_table = '1'
54 dut2_fib_table = '2'
55
56 sock1 = "/tmp/sock1"
57 sock2 = "/tmp/sock2"
58 bid = 10