We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 50b7256 commit f95ff00Copy full SHA for f95ff00
acl_loader/main.py
@@ -180,11 +180,11 @@ def is_table_valid(self, tname):
180
181
def is_table_mirror(self, tname):
182
"""
183
- Check if ACL table type is ACL_TABLE_TYPE_MIRROR
+ Check if ACL table type is ACL_TABLE_TYPE_MIRROR or ACL_TABLE_TYPE_MIRRORV6
184
:param tname: ACL table name
185
- :return: True if table type is ACL_TABLE_TYPE_MIRROR else False
+ :return: True if table type is MIRROR or MIRRORV6 else False
186
187
- return self.tables_db_info[tname]['type'].upper() == self.ACL_TABLE_TYPE_MIRROR
+ return self.tables_db_info[tname]['type'].upper().startswith(self.ACL_TABLE_TYPE_MIRROR)
188
189
def is_table_control_plane(self, tname):
190
0 commit comments