Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cisco_ios_show_ip_access-lists: Adds parsing of log tags #970

Merged
merged 1 commit into from
Aug 27, 2021

Conversation

joewesch
Copy link
Contributor

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT

cisco_ios_show_ip_access-lists, cisco_ios, show ip access-lists

SUMMARY

Fixes #969

Adds parsing of log tags. Previously it would cause a parsing error.

Before:

Error: "Could not parse line:"

After:

  - acl_name: "Log_Tags_Test"
    acl_type: "Extended"
    action: "permit"
    dst_any: ""
    dst_host: ""
    dst_network: "169.254.3.4"
    dst_port: ""
    dst_port_match: ""
    dst_port_range_end: ""
    dst_port_range_start: ""
    dst_wildcard: "0.0.0.1"
    flags_match: ""
    icmp_type: ""
    line_num: "30"
    log: "log"
    log_tag: "tag_name"
    matches: ""
    protocol: "tcp"
    src_any: ""
    src_host: "169.254.3.3"
    src_network: ""
    src_port: "1023"
    src_port_match: "gt"
    src_port_range_end: ""
    src_port_range_start: ""
    src_wildcard: ""
    state: ""
    tcp_flag: "established"
    time: ""

@FragmentedPacket FragmentedPacket merged commit 298d901 into networktocode:master Aug 27, 2021
@joewesch joewesch deleted the 969-log-tags branch September 12, 2022 01:48
cppmonkey pushed a commit to cppmonkey/ntc-templates that referenced this pull request Oct 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cisco_ios_show_ip_access-lists is not accounting for log tags
2 participants