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 access control list test suite."""
16 # settings for acl tables
18 "name": "acl_table_test",
21 "miss_next": "permit",
22 "mask": "00:00:00:00:00:00:ff:ff:ff:ff:ff:ff:00:00:00:00"
26 "name": "acl_table_test2",
29 "next_table": "acl_table_test",
31 "mask": "ff:ff:ff:00:00:00:ff:ff:ff:ff:ff:ff:00:00:00:00"
33 # representation of table settings in VAT
36 "nbuckets": hc_acl_table['nbuckets'],
41 "mask": hc_acl_table['mask'].replace(":", ""),
45 "nbuckets": hc_acl_table2['nbuckets'],
49 "nexttbl": table_index,
50 "mask": hc_acl_table2['mask'].replace(":", ""),
52 # setting for acl sessions
54 "match": "00:00:00:00:00:00:01:02:03:04:05:06:00:00:00:00",
61 "match": "00:00:00:00:00:00:06:05:04:03:02:01:00:00:00:00",
66 # representation of session settings in VAT
69 "match": hc_acl_session['match'].replace(":", ""),
70 "advance": hc_acl_session['advance'],
76 "match": hc_acl_session2['match'].replace(":", ""),
77 "advance": hc_acl_session2['advance'],
79 "next_index": session_index