You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi genie team,
There is a mistake in the show access-lists summary parser for NXOS in regular expression genie/libs/parser/nxos/show_acl.py line 366 p1 = re.compile(r'^(?P<type>[A-Z0-9]+) +ACL +(?P<name>\S+)$')
and 389 p = re.compile(r'^(?P<ip>[A-Z0-9]+) +ACL +(?P<name>\S+)\n +Total +ACEs +Configured: +(?P<total_configured>\d+)\n +Configured +on +interfaces:\n(?: +(?P<interface>\S+) +- +(?P<traffic>egress|ingress)( +\((?P<type>[\w\s]+)\))?\n)? +(?P<active>Active) +on +interfaces:(?:\n +(?P<interface2>\S+) +- +(?P<traffic2>egress|ingress)( +\((?P<type2>[\w\s]+)\))?)?')
The parser skips output like in the example:
# show access-lists summary
IPV4 ACL ALLOW-MGT
Total ACEs Configured: 14
Configured on interfaces:
VTY - ingress
Active on interfaces:
VTY - ingress
IPV4 ACL CORP-CCRPRIV-INOUT
Total ACEs Configured: 8
Configured on interfaces:
Vlan2007 - ingress (Router ACL)
Vlan2007 - egress (Router ACL)
Vlan2102 - ingress (Router ACL)
Vlan2102 - egress (Router ACL)
Active on interfaces:
Vlan2007 - ingress (Router ACL)
Vlan2007 - egress (Router ACL)
Vlan2102 - ingress (Router ACL)
Vlan2102 - egress (Router ACL)
IPV4 ACL L3-UPG-MEDIUM-TRUST Statistics enabled
fragments permit-all
Total ACEs Configured: 10
Configured on interfaces:
Vlan2471 - egress (Router ACL)
Vlan2473 - egress (Router ACL)
Active on interfaces:
Vlan2471 - egress (Router ACL)
Vlan2473 - egress (Router ACL)
IPV4 ACL L3-UPG-UPG-HIGH-TRUST Statistics enabled
fragments permit-all
Total ACEs Configured: 10
Configured on interfaces:
Vlan2472 - egress (Router ACL)
Vlan2474 - egress (Router ACL)
Active on interfaces:
Vlan2472 - egress (Router ACL)
Vlan2474 - egress (Router ACL)
Software:
BIOS: version 05.45
NXOS: version 9.3(9)
Hardware
cisco Nexus9000 C9336C-FX2 Chassis
Hi genie team,
There is a mistake in the
show access-lists summary
parser for NXOS in regular expression genie/libs/parser/nxos/show_acl.py line 366p1 = re.compile(r'^(?P<type>[A-Z0-9]+) +ACL +(?P<name>\S+)$')
and 389
p = re.compile(r'^(?P<ip>[A-Z0-9]+) +ACL +(?P<name>\S+)\n +Total +ACEs +Configured: +(?P<total_configured>\d+)\n +Configured +on +interfaces:\n(?: +(?P<interface>\S+) +- +(?P<traffic>egress|ingress)( +\((?P<type>[\w\s]+)\))?\n)? +(?P<active>Active) +on +interfaces:(?:\n +(?P<interface2>\S+) +- +(?P<traffic2>egress|ingress)( +\((?P<type2>[\w\s]+)\))?)?')
The parser skips output like in the example:
Software:
BIOS: version 05.45
NXOS: version 9.3(9)
Hardware
cisco Nexus9000 C9336C-FX2 Chassis
The text was updated successfully, but these errors were encountered: