1 # Copyright (c) 2021 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
21 u"locator_name": locator_name,
26 # IPv4 Lisp static mapping configuration
27 dut1_to_dut2_ip4 = u"1.1.1.1"
28 dut2_to_dut1_ip4 = u"1.1.1.2"
29 dut1_to_tg_ip4 = u"10.10.10.1"
30 dut2_to_tg_ip4 = u"20.20.20.1"
32 dut1_ip4_static_adjacency = {
34 u"deid": u"20.20.20.0",
35 u"seid": u"10.10.10.0",
39 dut2_ip4_static_adjacency = {
41 u"deid": u"10.10.10.0",
42 u"seid": u"20.20.20.0",
47 u"locator_name": locator_name,
49 u"eid": u"10.10.10.0",
53 u"locator_name": locator_name,
55 u"eid": u"20.20.20.0",
59 # IPv6 Lisp static mapping configuration
60 dut1_to_dut2_ip6 = u"2001:3::1"
61 dut2_to_dut1_ip6 = u"2001:3::2"
62 dut1_to_tg_ip6 = u"2001:1::1"
63 dut2_to_tg_ip6 = u"2001:2::1"
65 dut1_ip6_static_adjacency = {
67 u"deid": u"2001:2::0",
68 u"seid": u"2001:1::0",
69 u"rloc": u"2001:3::2",
72 dut2_ip6_static_adjacency = {
74 u"deid": u"2001:1::0",
75 u"seid": u"2001:2::0",
76 u"rloc": u"2001:3::1",
80 u"locator_name": locator_name,
86 u"locator_name": locator_name,
92 # IPv4 over IPv6 Lisp static mapping configuration
93 dut1_to_dut2_ip4o6 = u"2001:3::1"
94 dut2_to_dut1_ip4o6 = u"2001:3::2"
95 dut1_to_tg_ip4o6 = u"10.10.10.1"
96 dut2_to_tg_ip4o6 = u"20.20.20.1"
99 dut1_ip4o6_static_adjacency = {
101 u"deid": u"20.20.20.0",
102 u"seid": u"10.10.10.0",
103 u"rloc": u"2001:3::2",
106 dut2_ip4o6_static_adjacency = {
108 u"deid": u"10.10.10.0",
109 u"seid": u"20.20.20.0",
110 u"rloc": u"2001:3::1",
114 u"locator_name": locator_name,
116 u"eid": u"10.10.10.0",
120 u"locator_name": locator_name,
122 u"eid": u"20.20.20.0",
126 # IPv6 over IPv4 Lisp static mapping configuration
127 dut1_to_dut2_ip6o4 = u"1.1.1.1"
128 dut2_to_dut1_ip6o4 = u"1.1.1.2"
129 dut1_to_tg_ip6o4 = u"2001:1::1"
130 dut2_to_tg_ip6o4 = u"2001:2::1"
133 dut1_ip6o4_static_adjacency = {
135 u"deid": u"2001:2::0",
136 u"seid": u"2001:1::0",
140 dut2_ip6o4_static_adjacency = {
142 u"deid": u"2001:1::0",
143 u"seid": u"2001:2::0",
148 u"locator_name": locator_name,
150 u"eid": u"2001:1::0",
154 u"locator_name": locator_name,
156 u"eid": u"2001:2::0",