forked from networktocode/ntc-templates
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New Template: cisco_wlc_ssh_show_time.textfsm (networktocode#853)
- Loading branch information
Showing
4 changed files
with
68 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
Value Filldown TIME (.+) | ||
Value Filldown TZ_DELTA (\S+) | ||
Value Filldown TIMEZONE (.+) | ||
Value Filldown TZ_NAME (.+) | ||
Value Filldown NTP_VERSION (\d) | ||
Value Filldown NTP_POLLING_INTERVAL (\d+) | ||
Value Required INDEX (\d+) | ||
Value NTP_KEY_INDEX (\d+) | ||
Value NTP_SERVER (\S+) | ||
Value STATUS (\S+\s?\S+) | ||
Value NTP_MSG_AUTH_STATUS (\S+\s?\S+) | ||
|
||
Start | ||
^\s*Time\s*\.+\s+${TIME}\s*$$ | ||
^\s*Timezone [dD]elta\s*\.+\s+${TZ_DELTA}\s*$$ | ||
^\s*Timezone [lL]ocation\s*\.+\s+\(${TIMEZONE}\)\s+${TZ_NAME}\s*$$ | ||
^\s*NTP [sS]ervers\s*$$ | ||
^\s*NTP [vV]ersion\s*\.+\s+${NTP_VERSION}\s*$$ | ||
^\s*NTP [pP]olling [iI]nterval\s*\.+\s+${NTP_POLLING_INTERVAL}\s*$$ | ||
# | ||
# NTP Server Table | ||
^\s+Index\s+NTP Key Index\s+NTP Server\s+Status\s+NTP Msg Auth Status\s*$$ -> NTP_Servers | ||
^\s*$$ | ||
|
||
NTP_Servers | ||
^\s+${INDEX}\s+${NTP_KEY_INDEX}\s+${NTP_SERVER}\s+${STATUS}\s+${NTP_MSG_AUTH_STATUS}\s*$$ -> Record | ||
^\s+[-\s]+$$ | ||
^\s*$$ | ||
^. -> Error |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
|
||
Time............................................. Tue Dec 22 11:02:42 2020 | ||
|
||
Timezone delta................................... 0:0 | ||
Timezone location................................ (GMT -5:00) Eastern Time (US and Canada) | ||
|
||
NTP Servers | ||
NTP Version.................................. 3 | ||
NTP Polling Interval......................... 72000 | ||
|
||
Index NTP Key Index NTP Server Status NTP Msg Auth Status | ||
------- --------------------------------------------------------------------- | ||
1 0 1.1.1.1 In Sync AUTH DISABLED | ||
2 0 128.138.141.172 Not Tried AUTH DISABLED |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
parsed_sample: | ||
- time: "Tue Dec 22 11:02:42 2020" | ||
tz_delta: "0:0" | ||
timezone: "GMT -5:00" | ||
tz_name: "Eastern Time (US and Canada)" | ||
ntp_version: "3" | ||
ntp_polling_interval: "72000" | ||
index: "1" | ||
ntp_key_index: "0" | ||
ntp_server: "1.1.1.1" | ||
status: "In Sync" | ||
ntp_msg_auth_status: "AUTH DISABLED" | ||
- time: "Tue Dec 22 11:02:42 2020" | ||
tz_delta: "0:0" | ||
timezone: "GMT -5:00" | ||
tz_name: "Eastern Time (US and Canada)" | ||
ntp_version: "3" | ||
ntp_polling_interval: "72000" | ||
index: "2" | ||
ntp_key_index: "0" | ||
ntp_server: "128.138.141.172" | ||
status: "Not Tried" | ||
ntp_msg_auth_status: "AUTH DISABLED" |