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.
Enhancement: cisco_ios_show_redundancy - Add New fields (networktocod…
- Loading branch information
1 parent
cdeb26a
commit 891e952
Showing
6 changed files
with
193 additions
and
28 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
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
39 changes: 39 additions & 0 deletions
39
tests/cisco_ios/show_redundancy/cisco_ios_show_redundancy2.raw
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,39 @@ | ||
Redundant System Information : | ||
------------------------------ | ||
Available system uptime = 1 hour, 22 minutes | ||
Switchovers system experienced = 0 | ||
Standby failures = 0 | ||
Last switchover reason = none | ||
Hardware Mode = Duplex | ||
Configured Redundancy Mode = sso | ||
Operating Redundancy Mode = sso | ||
Maintenance Mode = Disabled | ||
Communications = Up | ||
|
||
Current Processor Information : | ||
------------------------------- | ||
Active Location = slot 1/5 | ||
Current Software state = ACTIVE | ||
Uptime in current state = 1 hour, 22 minutes | ||
Image Version = Cisco IOS Software, s2t54 Software (s2t54-ADVENTERPRISEK9-M), Version 15.5(1)SY4, RELEASE SOFTWARE (fc4) | ||
Technical Support: http://www.cisco.com/techsupport | ||
Copyright (c) 1986-2019 by Cisco Systems, Inc. | ||
Compiled Mon 02-Sep-19 07:17 by prod_rel_team | ||
BOOT = bootdisk:s2t54-adventerprisek9-mz.SPA.155-1.SY4.bin,1; | ||
CONFIG_FILE = | ||
BOOTLDR = | ||
Configuration register = 0x2102 | ||
|
||
Peer Processor Information : | ||
---------------------------- | ||
Standby Location = slot 2/5 | ||
Current Software state = STANDBY HOT | ||
Uptime in current state = 19 minutes | ||
Image Version = Cisco IOS Software, s2t54 Software (s2t54-ADVENTERPRISEK9-M), Version 15.5(1)SY4, RELEASE SOFTWARE (fc4) | ||
Technical Support: http://www.cisco.com/techsupport | ||
Copyright (c) 1986-2019 by Cisco Systems, Inc. | ||
Compiled Mon 02-Sep-19 07:17 by prod_rel_team | ||
BOOT = bootdisk:s2t54-adventerprisek9-mz.SPA.155-1.SY4.bin,1; | ||
CONFIG_FILE = | ||
BOOTLDR = | ||
Configuration register = 0x2102 |
42 changes: 42 additions & 0 deletions
42
tests/cisco_ios/show_redundancy/cisco_ios_show_redundancy2.yml
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,42 @@ | ||
--- | ||
parsed_sample: | ||
- system_uptime_years: "" | ||
system_uptime_weeks: "" | ||
system_uptime_days: "" | ||
system_uptime_hours: "1" | ||
system_uptime_minutes: "22" | ||
switchovers: "0" | ||
standby_failures: "0" | ||
last_switchover_reason: "none" | ||
hardware_mode: "Duplex" | ||
configured_redundancy_mode: "sso" | ||
operating_redundancy_mode: "sso" | ||
maintenance_mode: "Disabled" | ||
communication_status: "Up" | ||
active_slot: "1/5" | ||
active_software_state: "ACTIVE" | ||
active_uptime_years: "" | ||
active_uptime_weeks: "" | ||
active_uptime_days: "" | ||
active_uptime_hours: "1" | ||
active_uptime_minutes: "22" | ||
active_major_release: "" | ||
active_minor_release: "" | ||
active_maintenance_release: "" | ||
active_boot_directory: "bootdisk" | ||
active_boot_file: "s2t54-adventerprisek9-mz.SPA.155-1.SY4.bin,1;" | ||
active_config_register: "0x2102" | ||
standby_slot: "2/5" | ||
standby_software_state: "STANDBY HOT" | ||
standby_uptime_years: "" | ||
standby_uptime_weeks: "" | ||
standby_uptime_days: "" | ||
standby_uptime_hours: "" | ||
standby_uptime_minutes: "19" | ||
standby_major_release: "" | ||
standby_minor_release: "" | ||
standby_maintenance_release: "" | ||
standby_boot_directory: "bootdisk" | ||
standby_boot_file: "s2t54-adventerprisek9-mz.SPA.155-1.SY4.bin,1;" | ||
standby_config_register: "0x2102" | ||
standby_status: "" |
26 changes: 26 additions & 0 deletions
26
tests/cisco_ios/show_redundancy/cisco_ios_show_redundancy3.raw
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,26 @@ | ||
Redundant System Information : | ||
------------------------------ | ||
Available system uptime = 46 weeks, 4 days, 22 hours, 52 minutes | ||
Switchovers system experienced = 0 | ||
Standby failures = 0 | ||
Last switchover reason = none | ||
|
||
Hardware Mode = Simplex | ||
Configured Redundancy Mode = sso | ||
Operating Redundancy Mode = sso | ||
Maintenance Mode = Disabled | ||
Communications = Down Reason: Failure | ||
|
||
Current Processor Information : | ||
------------------------------- | ||
Active Location = slot 1 | ||
Current Software state = ACTIVE | ||
Uptime in current state = 46 weeks, 4 days, 22 hours, 52 minutes | ||
Image Version = Cisco IOS Software, c6848x Software (c6848x-ADVENTERPRISEK9-M), Version 15.4(1)SY4, RELEASE SOFTWARE (fc3) | ||
Technical Support: http://www.cisco.com/techsupport | ||
Copyright (c) 1986-2018 by Cisco Systems, Inc. | ||
Compiled Fri 02-Feb-18 02:00 by prod_rel_team | ||
BOOT = bootdisk:/c6848x-adventerprisek9-mz.SPA.154-1.SY4.bin,12; | ||
Configuration register = 0x2102 | ||
|
||
Peer (slot: unavailable) information is not available because it is in 'DISABLED' state |
42 changes: 42 additions & 0 deletions
42
tests/cisco_ios/show_redundancy/cisco_ios_show_redundancy3.yml
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,42 @@ | ||
--- | ||
parsed_sample: | ||
- system_uptime_years: "" | ||
system_uptime_weeks: "46" | ||
system_uptime_days: "4" | ||
system_uptime_hours: "22" | ||
system_uptime_minutes: "52" | ||
switchovers: "0" | ||
standby_failures: "0" | ||
last_switchover_reason: "none" | ||
hardware_mode: "Simplex" | ||
configured_redundancy_mode: "sso" | ||
operating_redundancy_mode: "sso" | ||
maintenance_mode: "Disabled" | ||
communication_status: "Down Reason: Failure" | ||
active_slot: "1" | ||
active_software_state: "ACTIVE" | ||
active_uptime_years: "" | ||
active_uptime_weeks: "46" | ||
active_uptime_days: "4" | ||
active_uptime_hours: "22" | ||
active_uptime_minutes: "52" | ||
active_major_release: "" | ||
active_minor_release: "" | ||
active_maintenance_release: "" | ||
active_boot_directory: "bootdisk" | ||
active_boot_file: "/c6848x-adventerprisek9-mz.SPA.154-1.SY4.bin,12;" | ||
active_config_register: "0x2102" | ||
standby_slot: "" | ||
standby_software_state: "" | ||
standby_uptime_years: "" | ||
standby_uptime_weeks: "" | ||
standby_uptime_days: "" | ||
standby_uptime_hours: "" | ||
standby_uptime_minutes: "" | ||
standby_major_release: "" | ||
standby_minor_release: "" | ||
standby_maintenance_release: "" | ||
standby_boot_directory: "" | ||
standby_boot_file: "" | ||
standby_config_register: "" | ||
standby_status: "DISABLED" |