Python3: PIP requirement
[csit.git] / resources / test_data / lisp / l2 / l2_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 Eth-IPv4-ICMPv4-LISPGpe-IP4 encapsulation test suite."""
15
16 # Lisp default global value
17 locator_name = 'tst_locator'
18
19 # Lisp default locator_set value
20 lisp_dut_settings = {'locator_name': locator_name,
21                      'priority': 1,
22                      'weight': 1,
23                      'bd': 10,
24                      'vni': 5}
25
26 # IPv4 Lisp static mapping configuration
27 dut1_to_dut2_ip4 = '10.0.3.1'
28 dut2_to_dut1_ip4 = '10.0.3.2'
29 dut1_to_tg_ip4 = '10.0.1.1'
30 dut2_to_tg_ip4 = '10.0.2.1'
31 tg1_ip4 = '10.0.1.2'
32 tg2_ip4 = '10.0.2.2'
33 prefix4 = 24
34 vpp_bd_id = 10
35 tg_if1_mac = '08:22:22:22:22:11'
36 tg_if2_mac = '08:22:22:22:22:22'
37
38 dut1_to_dut2_ip4_static_adjacency = {'eid': tg_if2_mac,
39                                      'seid': tg_if1_mac,
40                                      'rloc': dut2_to_dut1_ip4,
41                                      'int': 'dut1_to_dut2',
42                                      'map_res': '10.0.0.2'}
43 dut2_to_dut1_ip4_static_adjacency = {'eid': tg_if1_mac,
44                                      'seid': tg_if2_mac,
45                                      'rloc': dut1_to_dut2_ip4,
46                                      'map_res': '10.0.0.1',
47                                      'int': 'dut2_to_dut1'}