Skip to content

Commit

Permalink
NXOS SHOW L2RIB INTERNAL PERMANENTLY-FROZEN-LIST: Add new template (#320
Browse files Browse the repository at this point in the history
)
  • Loading branch information
vaneuk authored and jmcgill298 committed Jan 20, 2019
1 parent 66eb002 commit 9670ee7
Show file tree
Hide file tree
Showing 4 changed files with 117 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Value Required TOPOLOGY (\d+)
Value Required MAC (\S+\.\S+\.\S+)
Value Required FROZEN_TIME (.*\S)

Start
^${TOPOLOGY}\s+${MAC}\s+${FROZEN_TIME} -> Record
^Topology\s+Mac Address\s+Frozen time
^-+
^\s*$$
^.* -> Error "LINE NOT FOUND"
1 change: 1 addition & 0 deletions templates/index
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,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_l2rib_internal_permanently-frozen-list.template, .*, cisco_nxos, sh[[ow]] l2ri[[b]] i[[nternal]] pe[[rmanently-frozen-list]]
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_environment_temperature.template, .*, cisco_nxos, sh[[ow]] env[[ironment]] t[[emperature]]
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
---
parsed_sample:

- frozen_time: Sat Jan 27 08:46:01.447 UTC
mac: 0050.5699.7898
topology: '190'
- frozen_time: Sat Jan 27 08:47:39.818 UTC
mac: 0050.5699.8ec0
topology: '190'
- frozen_time: Sat Jan 27 08:47:49.970 UTC
mac: 0050.5699.d709
topology: '190'
- frozen_time: Sat Jan 27 08:40:15.482 UTC
mac: 0050.56b5.1419
topology: '190'
- frozen_time: Sat Jan 27 08:48:00.545 UTC
mac: 0050.56b5.1bca
topology: '190'
- frozen_time: Sat Jan 27 08:42:26.149 UTC
mac: 000c.29d4.ee30
topology: '192'
- frozen_time: Sat Jan 27 08:57:48.481 UTC
mac: 0012.3fff.e687
topology: '192'
- frozen_time: Sat Jan 27 08:53:13.686 UTC
mac: 0050.5699.1684
topology: '192'
- frozen_time: Sat Jan 27 08:37:59.468 UTC
mac: 0050.5699.1b56
topology: '192'
- frozen_time: Sat Jan 27 08:53:08.098 UTC
mac: 0050.5699.2199
topology: '192'
- frozen_time: Sat Jan 27 08:52:44.355 UTC
mac: 0050.5699.249d
topology: '192'
- frozen_time: Sat Jan 27 08:45:45.772 UTC
mac: 0050.5699.25bf
topology: '192'
- frozen_time: Sat Jan 27 08:49:48.131 UTC
mac: 0050.5699.27b2
topology: '192'
- frozen_time: Sat Jan 27 08:49:48.310 UTC
mac: 0050.5699.3c5a
topology: '192'
- frozen_time: Sat Jan 27 08:51:56.147 UTC
mac: 0050.5699.410a
topology: '192'
- frozen_time: Sat Jan 27 08:52:28.534 UTC
mac: 0050.5699.4241
topology: '192'
- frozen_time: Sat Jan 27 08:52:50.603 UTC
mac: 0050.5699.449f
topology: '192'
- frozen_time: Sat Jan 27 08:55:45.974 UTC
mac: 0050.5699.4826
topology: '192'
- frozen_time: Sat Jan 27 08:56:50.314 UTC
mac: 0050.5699.4a94
topology: '192'
- frozen_time: Sat Jan 27 08:48:56.964 UTC
mac: 0050.5699.4dd2
topology: '192'
- frozen_time: Sat Jan 27 08:55:23.553 UTC
mac: 0050.5699.5044
topology: '192'
- frozen_time: Sat Jan 27 08:52:46.601 UTC
mac: 0050.5699.50ab
topology: '192'
- frozen_time: Sat Jan 27 08:58:09.431 UTC
mac: 0050.5699.5705
topology: '192'
- frozen_time: Sat Jan 27 08:51:55.528 UTC
mac: 0050.5699.57ec
topology: '192'
- frozen_time: Sat Jan 27 08:52:46.851 UTC
mac: 0050.5699.6083
topology: '192'
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@

Topology Mac Address Frozen time
----------- -------------- ---------------------------
190 0050.5699.7898 Sat Jan 27 08:46:01.447 UTC
190 0050.5699.8ec0 Sat Jan 27 08:47:39.818 UTC
190 0050.5699.d709 Sat Jan 27 08:47:49.970 UTC
190 0050.56b5.1419 Sat Jan 27 08:40:15.482 UTC
190 0050.56b5.1bca Sat Jan 27 08:48:00.545 UTC
192 000c.29d4.ee30 Sat Jan 27 08:42:26.149 UTC
192 0012.3fff.e687 Sat Jan 27 08:57:48.481 UTC
192 0050.5699.1684 Sat Jan 27 08:53:13.686 UTC
192 0050.5699.1b56 Sat Jan 27 08:37:59.468 UTC
192 0050.5699.2199 Sat Jan 27 08:53:08.098 UTC
192 0050.5699.249d Sat Jan 27 08:52:44.355 UTC
192 0050.5699.25bf Sat Jan 27 08:45:45.772 UTC
192 0050.5699.27b2 Sat Jan 27 08:49:48.131 UTC
192 0050.5699.3c5a Sat Jan 27 08:49:48.310 UTC
192 0050.5699.410a Sat Jan 27 08:51:56.147 UTC
192 0050.5699.4241 Sat Jan 27 08:52:28.534 UTC
192 0050.5699.449f Sat Jan 27 08:52:50.603 UTC
192 0050.5699.4826 Sat Jan 27 08:55:45.974 UTC
192 0050.5699.4a94 Sat Jan 27 08:56:50.314 UTC
192 0050.5699.4dd2 Sat Jan 27 08:48:56.964 UTC
192 0050.5699.5044 Sat Jan 27 08:55:23.553 UTC
192 0050.5699.50ab Sat Jan 27 08:52:46.601 UTC
192 0050.5699.5705 Sat Jan 27 08:58:09.431 UTC
192 0050.5699.57ec Sat Jan 27 08:51:55.528 UTC
192 0050.5699.6083 Sat Jan 27 08:52:46.851 UTC

0 comments on commit 9670ee7

Please sign in to comment.