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.1',
27 'locator-set': 'ls1'},
28 {'eid': '192.168.1.1',
31 'locator-set': 'ls1'},
32 {'eid': '192.168.2.1',
35 'locator-set': 'ls1'},
36 {'eid': '192.168.3.1',
39 'locator-set': 'ls1'},
43 'locator-set': 'ls1'},
47 'locator-set': 'ls1'},
51 'locator-set': 'ls1'}]
53 # Example lisp map resolvers data we want set to VPP
54 # and then check if it is set correctly.
55 map_resolver = [{'map resolver': '192.169.0.1'},
56 {'map resolver': '192.169.1.1'},
57 {'map resolver': '192.169.2.1'},
58 {'map resolver': '12:1::1'},
59 {'map resolver': '12:2::1'}]