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 is set correct."""
24 eid_table = [{'eid address': '192.168.0.1',
26 'locator-set': 'ls1'},
27 {'eid address': '192.168.1.1',
29 'locator-set': 'ls1'},
30 {'eid address': '192.168.2.1',
32 'locator-set': 'ls1'},
33 {'eid address': '192.168.3.1',
35 'locator-set': 'ls1'},
36 {'eid address': '10:1::1',
38 'locator-set': 'ls1'},
39 {'eid address': '10:2::1',
41 'locator-set': 'ls1'},
42 {'eid address': '10:3::1',
44 'locator-set': 'ls1'}]
46 """Example lisp map resolvers data we want set to VPP
47 and then check if is set correct."""
48 map_resolver = [{'map resolver': '192.169.0.1'},
49 {'map resolver': '192.169.1.1'},
50 {'map resolver': '192.169.2.1'},
51 {'map resolver': '12:1::1'},
52 {'map resolver': '12:2::1'}]