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:
6 # http://www.apache.org/licenses/LICENSE-2.0
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.
14 """Test variables for Lisp remote static mapping test suite."""
16 # Lisp default global value
19 # Lisp default locator_set value
20 duts_locator_set = {'locator_name': locator_name,
24 # IPv4 Lisp static mapping configuration
25 dut1_to_dut2_ip4 = '6.0.3.1'
26 dut2_to_dut1_ip4 = '6.0.3.2'
27 dut1_to_tg_ip4 = '6.0.1.1'
28 dut2_to_tg_ip4 = '6.0.2.1'
32 dut1_to_dut2_ip4_static_adjacency = {'vni': 0,
37 dut2_to_dut1_ip4_static_adjacency = {'vni': 0,
42 dut1_ip4_eid = {'locator_name': locator_name,
46 dut2_ip4_eid = {'locator_name': locator_name,
51 # IPv6 Lisp static mapping configuration
52 dut1_to_dut2_ip6 = '6:0:3::1'
53 dut2_to_dut1_ip6 = '6:0:3::2'
54 dut1_to_tg_ip6 = '6:0:1::1'
55 dut2_to_tg_ip6 = '6:0:2::1'
59 dut1_to_dut2_ip6_static_adjacency = {'vni': 0,
64 dut2_to_dut1_ip6_static_adjacency = {'vni': 0,
69 dut1_ip6_eid = {'locator_name': locator_name,
73 dut2_ip6_eid = {'locator_name': locator_name,
78 # IPv4 over IPv6 Lisp static mapping configuration
79 dut1_to_dut2_ip4o6 = '6:0:3::1'
80 dut2_to_dut1_ip4o6 = '6:0:3::2'
81 dut1_to_tg_ip4o6 = '6.0.1.1'
82 dut2_to_tg_ip4o6 = '6.0.2.1'
87 dut1_ip4o6_static_adjacency = {'vni': 0,
92 dut2_ip4o6_static_adjacency = {'vni': 0,
97 dut1_ip4o6_eid = {'locator_name': locator_name,
101 dut2_ip4o6_eid = {'locator_name': locator_name,
106 # IPv6 over IPv4 Lisp static mapping configuration
107 dut1_to_dut2_ip6o4 = '6.0.3.1'
108 dut2_to_dut1_ip6o4 = '6.0.3.2'
109 dut1_to_tg_ip6o4 = '6:0:1::1'
110 dut2_to_tg_ip6o4 = '6:0:2::1'
111 tg1_ip6o4 = '6:0:1::2'
112 tg2_ip6o4 = '6:0:2::2'
115 dut1_ip6o4_static_adjacency = {'vni': 0,
120 dut2_ip6o4_static_adjacency = {'vni': 0,
125 dut1_ip6o4_eid = {'locator_name': locator_name,
129 dut2_ip6o4_eid = {'locator_name': locator_name,