Skip to content

Commit ccbafd3

Browse files
committed
hp_procurve_show_lldp_info_local-device: rename CAPABILITIES_ENABLED to CAPABILITIES for cross-template consistency
1 parent 2290fd8 commit ccbafd3

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

ntc_templates/templates/hp_procurve_show_lldp_info_local-device.textfsm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Value SYSTEM_NAME (\S+)
44
Value SYSTEM_DESCRIPTION (\S.*\S)
55
Value MODEL (\S+)
66
Value CAPABILITIES_SUPPORTED (\S.*\S)
7-
Value CAPABILITIES_ENABLED (\S.*\S)
7+
Value CAPABILITIES (\S.*\S)
88
Value MGMT_ADDRESS_TYPE (\S+)
99
Value MGMT_ADDRESS (\S+)
1010

@@ -16,7 +16,7 @@ Start
1616
^\s*System\s+Description\s*:\s+(?:ProCurve|HP|Aruba)\s+${MODEL}\s+${SYSTEM_DESCRIPTION}\s*$$
1717
^\s*System\s+Description\s*:\s+${SYSTEM_DESCRIPTION}\s*$$
1818
^\s*System\s+Capabilities\s+Supported\s*:\s+${CAPABILITIES_SUPPORTED}\s*$$
19-
^\s*System\s+Capabilities\s+Enabled\s*:\s+${CAPABILITIES_ENABLED}\s*$$
19+
^\s*System\s+Capabilities\s+Enabled\s*:\s+${CAPABILITIES}\s*$$
2020
^\s*Management\s+Address\s*:\s*$$
2121
^\s+Type\s*:\s*${MGMT_ADDRESS_TYPE}\s*$$
2222
^\s+Address\s*:\s*${MGMT_ADDRESS}\s*$$

tests/hp_procurve/show_lldp_info_local-device/show_lldp_info_local-device.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
parsed_sample:
3-
- capabilities_enabled: "bridge"
3+
- capabilities: "bridge"
44
capabilities_supported: "bridge, router"
55
chassis_id: "548028-aabbcf"
66
chassis_type: "mac-address"

tests/hp_procurve/show_lldp_info_local-device/show_lldp_info_local-device2.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
parsed_sample:
3-
- capabilities_enabled: "bridge"
3+
- capabilities: "bridge"
44
capabilities_supported: "bridge"
55
chassis_id: "54 80 28 aa bb cd"
66
chassis_type: "mac-address"

0 commit comments

Comments
 (0)