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 test suite."""
21 "md-type": "md-type1",
22 "next-protocol": "ethernet",
37 "md-type": "vpp-nsh:md-type1",
38 "next-protocol": "vpp-nsh:ethernet",
53 "md-type": "md-type1",
54 "next-protocol": "ethernet",
69 "md-type": "vpp-nsh:md-type1",
70 "next-protocol": "vpp-nsh:ethernet",
80 # Settings for VxLAN GPE interfaces, needed to configure NSH maps
81 vxlan_gpe_if1 = 'vxlan_gpe_test1'
82 vxlan_gpe_base_settings1 = {
83 'name': vxlan_gpe_if1,
84 'description': 'for testing NSH',
86 'link-up-down-trap-enable': 'enabled'
88 vxlan_gpe_settings1 = {
89 'local': '192.168.0.1',
90 'remote': '192.168.0.2',
92 'next-protocol': 'ethernet',
97 vxlan_gpe_if2 = 'vxlan_gpe_test2'
98 vxlan_gpe_base_settings2 = {
99 'name': vxlan_gpe_if2,
100 'description': 'for testing NSH',
102 'link-up-down-trap-enable': 'enabled'
104 vxlan_gpe_settings2 = {
105 'local': '192.168.1.1',
106 'remote': '192.168.1.2',
108 'next-protocol': 'ethernet',
121 "nsh-action": "push",
122 "encap-type": "vxlan-gpe",
123 "encap-if-name": vxlan_gpe_if1
134 "nsh-action": "vpp-nsh:push",
135 "encap-type": "vpp-nsh:vxlan-gpe",
136 "encap-if-name": vxlan_gpe_if1
147 "nsh-action": "push",
148 "encap-type": "vxlan-gpe",
149 "encap-if-name": vxlan_gpe_if1
153 nsh_map1_edit_oper = {
160 "nsh-action": "vpp-nsh:push",
161 "encap-type": "vpp-nsh:vxlan-gpe",
162 "encap-if-name": vxlan_gpe_if1
173 "nsh-action": "vpp-nsh:push",
174 "encap-type": "vpp-nsh:vxlan-gpe",
175 "encap-if-name": vxlan_gpe_if2
186 "nsh-action": "vpp-nsh:push",
187 "encap-type": "vpp-nsh:vxlan-gpe",
188 "encap-if-name": vxlan_gpe_if2