1 # Copyright (c) 2019 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 of lisp and lispgpe (ip4/ip6) encapsulation test suite."""
16 # Lisp default global value
17 locator_name = b"tst_locator"
19 # Test configuration data
20 tg_if1_ip4= u"6.0.0.2"
21 tg_if2_ip4= u"6.0.1.2"
22 dut_if1_ip4= u"6.0.0.1"
23 dut_if2_ip4= u"6.0.1.1"
24 tg_if2_ip6= u"6:0:1::2"
25 dut_if2_ip6= u"6:0:1::1"
29 src_rloc4= dut_if2_ip4
31 src_rloc6= dut_if2_ip6
34 #IP6 over IP4 LISP configuration data
36 dut_if1_ip6= u"6:0:0::1"
41 # Lisp default locator_set value
43 u"locator_name": locator_name,
48 # IPv4 Lisp static mapping configuration
50 dut1_to_tg_ip4_static_adjacency = {
59 u"locator_name": locator_name,
65 # IPv6 Lisp static mapping configuration
67 dut1_to_tg_ip6_static_adjacency = {
76 u"locator_name": locator_name,
83 #IPv6 over IPv4 LISP mapping
84 dut1_ip6o4_static_adjacency = {
92 u"locator_name": locator_name,
98 #IPv4 over IPv6 LISP mapping
99 dut1_ip4o6_static_adjacency = {
103 u"rloc": u"6:0:1::2",
107 u"locator_name": locator_name,