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

added show config sess summ #160

Merged
merged 3 commits into from
May 20, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Value SESSION_NAME (\S+)
Value SESSION_OWNER (\S+)
Value CREATION_TIME (\S+\s\S+\s\S+\s\S+\s\S+)

Start
^Name -> Session

Session
^Number
^${SESSION_NAME}\s+${SESSION_OWNER}\s+${CREATION_TIME} -> Record

1 change: 1 addition & 0 deletions templates/index
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ cisco_ios_show_vlan.template, .*, cisco_ios, sh[[ow]] vlan
cisco_ios_show_vrf.template, .*, cisco_ios, sh[[ow]] vrf
cisco_ios_dir.template, .*, cisco_ios, dir

cisco_nxos_show_configuration_session_summary.template, .*, cisco_nxos, sh[[ow]] configu[[ration]] s[[ession]] su[[mmary]]
cisco_nxos_show_interface_transceiver_details.template, .*, cisco_nxos, sh[[ow]] int[[erface]] tra[[nsceiver]] de[[tails]]
cisco_nxos_show_ip_dhcp_relay_address.template, .*, cisco_nxos, sh[[ow]] ip dh[[cp]] r[[elay]] a[[ddress]]
cisco_nxos_show_lldp_neighbors_detail.template, .*, cisco_nxos, sh[[ow]] ll[[dp]] nei[[ghbors]] d[[etail]]
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
parsed_sample:
- session_name: ACL-SESSION1
session_owner: ntc
creation_time: 02:37:14 UTC Oct 28 2017

- session_name: ACL-SESS22
session_owner: ntc
creation_time: 02:37:55 UTC Oct 28 2017
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Session Manager Database:
--------------------------------------------------------------------
Name Session Owner Creation Time
--------------------------------------------------------------------
ACL-SESSION1 ntc 02:37:14 UTC Oct 28 2017
ACL-SESS22 ntc 02:37:55 UTC Oct 28 2017

Number of active configuration sessions = 2