-
Notifications
You must be signed in to change notification settings - Fork 741
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated Aruba AOSCX show_vsf_detail with additional values (#1942)
Co-authored-by: Michael Bear <[email protected]>
- Loading branch information
Showing
4 changed files
with
68 additions
and
5 deletions.
There are no files selected for viewing
16 changes: 11 additions & 5 deletions
16
ntc_templates/templates/aruba_aoscx_show_vsf_detail.textfsm
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 |
---|---|---|
@@ -1,18 +1,24 @@ | ||
Value MEMBER_ID (\S+) | ||
Value TOPOLOGY (\S+) | ||
Value NAME (\S+) | ||
Value MAC_ADDRESS (\S+) | ||
Value STATUS (.*) | ||
Value SERIAL_NUMBER (\S+) | ||
Value CPU (\d+%) | ||
Value MEMORY (\d+%) | ||
Value VSF_LINK_1 (.*) | ||
Value VSF_LINK_2 (.*) | ||
|
||
Start | ||
^VSF\s*${MEMBER_ID} | ||
^VSF\s+${MEMBER_ID} | ||
^\s+Topology\s+:\s+${TOPOLOGY} | ||
^\s+Name\s+:\s+${NAME} | ||
^Member.* -> Continue.Record | ||
^Member\s+ID\s+:\s+${MEMBER_ID} | ||
^\s+MAC\s+Address\s+:\s+${MAC_ADDRESS} | ||
^\s+Status\s+:\s+${STATUS} | ||
^\s+CPU\sUtilization\s+:\s+${CPU} | ||
^\s+Memory\sUtilization\s+:\s+${MEMORY} | ||
^\s+MAC\s+Address\s+:\s+${MAC_ADDRESS} | ||
^\s+Status\s+:\s+${STATUS} | ||
^\s+Serial\s+Number\s+:\s+${SERIAL_NUMBER} | ||
^\s+CPU\s+Utilization\s+:\s+${CPU} | ||
^\s+Memory\s+Utilization\s+:\s+${MEMORY} | ||
^\s+VSF\s+Link\s+1\s+:${VSF_LINK_1} | ||
^\s+VSF\s+Link\s+2\s+:${VSF_LINK_2} |
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,26 @@ | ||
VSF Stack | ||
MAC Address : 89:ab:cd:ef:01:23 | ||
Secondary : | ||
Topology : standalone | ||
Status : No Split | ||
Split Detection Method : None | ||
Software Version : FL.10.10.1030 | ||
Force Autojoin : Disabled | ||
Autojoin Eligibility Status : Not Eligible | ||
Autojoin Ineligibility Reason: Configuration changes detected | ||
Name : Aruba-VSF-6300 | ||
Contact : | ||
Location : | ||
|
||
Member ID : 1 | ||
MAC Address : 89:ab:cd:ef:01:23 | ||
Type : JL659A | ||
Model : 6300M 48-port HPE Smart Rate 1/2.5/5GbE Class 6 PoE and 4-port SFP56 Switch | ||
Status : Conductor | ||
ROM Version : FL.01.11.0001 | ||
Serial Number : SG1234ABCD | ||
Uptime : 4 weeks, 2 hours, 35 minutes | ||
CPU Utilization : 23% | ||
Memory Utilization : 35% | ||
VSF Link 1 : | ||
VSF Link 2 : |
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,22 @@ | ||
--- | ||
parsed_sample: | ||
- cpu: "" | ||
mac_address: "89:ab:cd:ef:01:23" | ||
member_id: "Stack" | ||
memory: "" | ||
name: "Aruba-VSF-6300" | ||
serial_number: "" | ||
status: "No Split" | ||
topology: "standalone" | ||
vsf_link_1: "" | ||
vsf_link_2: "" | ||
- cpu: "23%" | ||
mac_address: "89:ab:cd:ef:01:23" | ||
member_id: "1" | ||
memory: "35%" | ||
name: "" | ||
serial_number: "SG1234ABCD" | ||
status: "Conductor" | ||
topology: "" | ||
vsf_link_1: "" | ||
vsf_link_2: "" |