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

Fixes #773 CiscoASA-show_vpn-sessiondb_SW_update #845

Conversation

diepes
Copy link
Contributor

@diepes diepes commented Dec 12, 2020

output changes capture into List, not just specific tunnel types.

ISSUE TYPE
COMPONENT

cisco_asa_show_vpn-sessiondb

SUMMARY

The new output provided has all new vpn session names.
Breaking change, capture the names and table into List.
This makes the template a lot more generic and it should hopefully cope with new VPN types by just capturing the name into the list.

before tests/cisco_asa/show_vpn-sessiondb/cisco_asa_show_vpn-sessiondb.yml

---
parsed_sample:
  - anyconnect_client_active: "38"
    anyconnect_client_cumulative: "330351"
    anyconnect_client_inactive: "0"
    anyconnect_client_peak_concurrent: "442"
    ssl_tls_dtls_active: "38"
    ssl_tls_dtls_cumulative: "330351"
    ssl_tls_dtls_peak_concurrent: "442"
    ssl_tls_dtls_peak_inactive: "0"
    clientless_vpn_active: "0"
    clientless_vpn_cumulative: "1040"
    clientless_vpn_peak_concurrent: "9"
    vpn_browswer_active: "0"
    vpn_browswer_cumulative: "1040"
    vpn_browswer_peak_concurrent: "9"
    total_active_and_inactive: "38"
    total_cumulative: "331391"
    device_total_vpn_capacity: "5000"
    device_load_percent: "1"
    tunnels_summary_clientless_active: "0"
    tunnels_summary_clientless_cumulative: "1040"
    tunnels_summary_clientless_peak_concurrent: "9"
    tunnels_summary_anyconnect_parent_active: "38"
    tunnels_summary_anyconnect_parent_cumulative: "330351"
    tunnels_summary_anyconnect_parent_peak_conc: "442"
    tunnels_summary_ssltunnel_active: "38"
    tunnels_summary_ssltunnel_cumulative: "985244"
    tunnels_summary_ssltunnel_peak_concurrent: "392"
    tunnels_summary_dtlstunnel_active: "37"
    tunnels_summary_dtlstunnel_cumulative: "2227003"
    tunnels_summary_dtlstunnel_peak_concurrent: "386"
    totals_active: "113"
    totals_cumulative: "3543638"

after

---
parsed_sample:
  - vpn_session_name:
      - "AnyConnect Client"
      - "SSL/TLS/DTLS"
      - "Clientless VPN"
      - "Browser"
    vpn_session_active:
      - "38"
      - "38"
      - "0"
      - "0"
    vpn_session_cumulative:
      - "330351"
      - "330351"
      - "1040"
      - "1040"
    vpn_session_peak_concurrent:
      - "442"
      - "442"
      - "9"
      - "9"
    vpn_session_inactive:
      - "0"
      - "0"
      - "None"
      - "None"
    total_active_and_inactive: "38"
    total_cumulative: "331391"
    device_total_vpn_capacity: "5000"
    device_load_percent: "1"
    tunnels_summary_name:
      - "Clientless"
      - "AnyConnect-Parent"
      - "SSL-Tunnel"
      - "DTLS-Tunnel"
    tunnels_summary_active:
      - "0"
      - "38"
      - "38"
      - "37"
    tunnels_summary_cumulative:
      - "1040"
      - "330351"
      - "985244"
      - "2227003"
    tunnels_summary_peak_concurrent:
      - "9"
      - "442"
      - "392"
      - "386"
    totals_active: "113"
    totals_cumulative: "3543638"

output changes capture into List, not just specific tunnel types.
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.

2 participants