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 API test suite."""
16 # Lisp status example test data.
17 lisp_status = [{"gpe_status":"disabled",
18 "feature_status":"disabled"},
19 {"gpe_status":"enabled",
20 "feature_status":"enabled"}]
22 # Example lisp local eid we want set to VPP
23 # and then check if it is set correctly.
24 eid_table = [{'eid': '192.168.0.0',
31 {'eid': '192.168.1.0',
38 {'eid': '192.168.2.0',
45 {'eid': '192.168.3.0',
74 # Expected data from VPP via VAT
79 "eid": "192.168.0.0/24",
87 "eid": "192.168.1.0/24",
95 "eid": "192.168.2.0/24",
103 "eid": "192.168.3.0/24",
134 # Example lisp map resolvers data we want set to VPP
135 # and then check if it is set correctly.
136 map_resolver = [{'map resolver': '192.169.0.1'},
137 {'map resolver': '192.169.1.1'},
138 {'map resolver': '192.169.2.1'},
139 {'map resolver': '12:1::1'},
140 {'map resolver': '12:2::1'}]