From a00b059e24a48c1478e1921d3574682b64e54090 Mon Sep 17 00:00:00 2001 From: Chris Burger Date: Thu, 20 Mar 2025 02:58:08 -0500 Subject: [PATCH] Modularize old power supplies --- device-types/HPE/Aruba-EC-L-B-NM.yaml | 12 +++++------- device-types/HPE/Aruba-EC-L-B.yaml | 12 +++++------- device-types/HPE/Aruba-EC-L-NM.yaml | 12 +++++------- device-types/HPE/Aruba-EC-L-P-NM.yaml | 12 +++++------- device-types/HPE/Aruba-EC-L-P.yaml | 12 +++++------- device-types/HPE/Aruba-EC-L.yaml | 12 +++++------- device-types/HPE/Aruba-EC-M-B-gen2.yaml | 12 +++++------- device-types/HPE/Aruba-EC-M-B.yaml | 12 +++++------- device-types/HPE/Aruba-EC-M-P-FIPS.yaml | 12 +++++------- device-types/HPE/Aruba-EC-M-P-gen2.yaml | 12 +++++------- device-types/HPE/Aruba-EC-M-P.yaml | 12 +++++------- device-types/HPE/Aruba-EC-M.yaml | 12 +++++------- module-types/HPE/Aruba-EC-NX-PSU-350W.yaml | 9 +++++++++ module-types/HPE/Aruba-EC-NX-PSU-750W.yaml | 9 +++++++++ 14 files changed, 78 insertions(+), 84 deletions(-) create mode 100644 module-types/HPE/Aruba-EC-NX-PSU-350W.yaml create mode 100644 module-types/HPE/Aruba-EC-NX-PSU-750W.yaml diff --git a/device-types/HPE/Aruba-EC-L-B-NM.yaml b/device-types/HPE/Aruba-EC-L-B-NM.yaml index a0c294c99..138a48b87 100644 --- a/device-types/HPE/Aruba-EC-L-B-NM.yaml +++ b/device-types/HPE/Aruba-EC-L-B-NM.yaml @@ -12,13 +12,6 @@ console-ports: - name: console type: de-9 label: console -power-ports: - - name: PS1 - type: iec-60320-c14 - maximum_draw: 370 - - name: PS2 - type: iec-60320-c14 - maximum_draw: 370 interfaces: - name: lan0 type: 1000base-t @@ -46,3 +39,8 @@ interfaces: - name: wan1 type: 1000base-t label: wan1 +module-bays: + - name: PS1 + position: '1' + - name: PS2 + position: '2' diff --git a/device-types/HPE/Aruba-EC-L-B.yaml b/device-types/HPE/Aruba-EC-L-B.yaml index 7cf8ca00c..de57488b9 100644 --- a/device-types/HPE/Aruba-EC-L-B.yaml +++ b/device-types/HPE/Aruba-EC-L-B.yaml @@ -12,13 +12,6 @@ console-ports: - name: console type: de-9 label: console -power-ports: - - name: PS1 - type: iec-60320-c14 - maximum_draw: 440 - - name: PS2 - type: iec-60320-c14 - maximum_draw: 440 interfaces: - name: lan0 type: 1000base-t @@ -46,3 +39,8 @@ interfaces: - name: wan1 type: 1000base-t label: wan1 +module-bays: + - name: PS1 + position: '1' + - name: PS2 + position: '2' diff --git a/device-types/HPE/Aruba-EC-L-NM.yaml b/device-types/HPE/Aruba-EC-L-NM.yaml index bc553f881..ae0cf1deb 100644 --- a/device-types/HPE/Aruba-EC-L-NM.yaml +++ b/device-types/HPE/Aruba-EC-L-NM.yaml @@ -12,13 +12,6 @@ console-ports: - name: console type: de-9 label: console -power-ports: - - name: PS1 - type: iec-60320-c14 - maximum_draw: 440 - - name: PS2 - type: iec-60320-c14 - maximum_draw: 440 interfaces: - name: lan0 type: 1000base-t @@ -46,3 +39,8 @@ interfaces: - name: wan1 type: 1000base-t label: wan1 +module-bays: + - name: PS1 + position: '1' + - name: PS2 + position: '2' diff --git a/device-types/HPE/Aruba-EC-L-P-NM.yaml b/device-types/HPE/Aruba-EC-L-P-NM.yaml index 6cffe5e66..37484ebfd 100644 --- a/device-types/HPE/Aruba-EC-L-P-NM.yaml +++ b/device-types/HPE/Aruba-EC-L-P-NM.yaml @@ -12,13 +12,6 @@ console-ports: - name: console type: de-9 label: console -power-ports: - - name: PS1 - type: iec-60320-c14 - maximum_draw: 370 - - name: PS2 - type: iec-60320-c14 - maximum_draw: 370 interfaces: - name: lan0 type: 1000base-t @@ -46,3 +39,8 @@ interfaces: - name: wan1 type: 1000base-t label: wan1 +module-bays: + - name: PS1 + position: '1' + - name: PS2 + position: '2' diff --git a/device-types/HPE/Aruba-EC-L-P.yaml b/device-types/HPE/Aruba-EC-L-P.yaml index eff627005..f5d54ea71 100644 --- a/device-types/HPE/Aruba-EC-L-P.yaml +++ b/device-types/HPE/Aruba-EC-L-P.yaml @@ -12,13 +12,6 @@ console-ports: - name: console type: de-9 label: console -power-ports: - - name: PS1 - type: iec-60320-c14 - maximum_draw: 440 - - name: PS2 - type: iec-60320-c14 - maximum_draw: 440 interfaces: - name: lan0 type: 1000base-t @@ -46,3 +39,8 @@ interfaces: - name: wan1 type: 1000base-t label: wan1 +module-bays: + - name: PS1 + position: '1' + - name: PS2 + position: '2' diff --git a/device-types/HPE/Aruba-EC-L.yaml b/device-types/HPE/Aruba-EC-L.yaml index acb0b7f0c..532d6c862 100644 --- a/device-types/HPE/Aruba-EC-L.yaml +++ b/device-types/HPE/Aruba-EC-L.yaml @@ -12,13 +12,6 @@ console-ports: - name: console type: de-9 label: console -power-ports: - - name: PS1 - type: iec-60320-c14 - maximum_draw: 401 - - name: PS2 - type: iec-60320-c14 - maximum_draw: 401 interfaces: - name: lan0 type: 1000base-t @@ -46,3 +39,8 @@ interfaces: - name: wan1 type: 1000base-t label: wan1 +module-bays: + - name: PS1 + position: '1' + - name: PS2 + position: '2' diff --git a/device-types/HPE/Aruba-EC-M-B-gen2.yaml b/device-types/HPE/Aruba-EC-M-B-gen2.yaml index 71acb73cf..526e0e86a 100644 --- a/device-types/HPE/Aruba-EC-M-B-gen2.yaml +++ b/device-types/HPE/Aruba-EC-M-B-gen2.yaml @@ -12,13 +12,6 @@ console-ports: - name: console type: de-9 label: console -power-ports: - - name: PS1 - type: iec-60320-c14 - maximum_draw: 162 - - name: PS2 - type: iec-60320-c14 - maximum_draw: 162 interfaces: - name: lan0 type: 1000base-t @@ -46,3 +39,8 @@ interfaces: - name: wan1 type: 1000base-t label: wan1 +module-bays: + - name: PS1 + position: '1' + - name: PS2 + position: '2' diff --git a/device-types/HPE/Aruba-EC-M-B.yaml b/device-types/HPE/Aruba-EC-M-B.yaml index 07f485327..9f663de84 100644 --- a/device-types/HPE/Aruba-EC-M-B.yaml +++ b/device-types/HPE/Aruba-EC-M-B.yaml @@ -12,13 +12,6 @@ console-ports: - name: console type: de-9 label: console -power-ports: - - name: PS1 - type: iec-60320-c14 - maximum_draw: 132 - - name: PS2 - type: iec-60320-c14 - maximum_draw: 132 interfaces: - name: lan0 type: 1000base-t @@ -46,3 +39,8 @@ interfaces: - name: wan1 type: 1000base-t label: wan1 +module-bays: + - name: PS1 + position: '1' + - name: PS2 + position: '2' diff --git a/device-types/HPE/Aruba-EC-M-P-FIPS.yaml b/device-types/HPE/Aruba-EC-M-P-FIPS.yaml index 9cde7d640..da327613c 100644 --- a/device-types/HPE/Aruba-EC-M-P-FIPS.yaml +++ b/device-types/HPE/Aruba-EC-M-P-FIPS.yaml @@ -12,13 +12,6 @@ console-ports: - name: console type: de-9 label: console -power-ports: - - name: PS1 - type: iec-60320-c14 - maximum_draw: 162 - - name: PS2 - type: iec-60320-c14 - maximum_draw: 162 interfaces: - name: lan0 type: 1000base-t @@ -46,3 +39,8 @@ interfaces: - name: wan1 type: 1000base-t label: wan1 +module-bays: + - name: PS1 + position: '1' + - name: PS2 + position: '2' diff --git a/device-types/HPE/Aruba-EC-M-P-gen2.yaml b/device-types/HPE/Aruba-EC-M-P-gen2.yaml index 368fe1c1c..a75a418f2 100644 --- a/device-types/HPE/Aruba-EC-M-P-gen2.yaml +++ b/device-types/HPE/Aruba-EC-M-P-gen2.yaml @@ -12,13 +12,6 @@ console-ports: - name: console type: de-9 label: console -power-ports: - - name: PS1 - type: iec-60320-c14 - maximum_draw: 162 - - name: PS2 - type: iec-60320-c14 - maximum_draw: 162 interfaces: - name: lan0 type: 1000base-t @@ -46,3 +39,8 @@ interfaces: - name: wan1 type: 1000base-t label: wan1 +module-bays: + - name: PS1 + position: '1' + - name: PS2 + position: '2' diff --git a/device-types/HPE/Aruba-EC-M-P.yaml b/device-types/HPE/Aruba-EC-M-P.yaml index 1a4e7dc8d..79de06c56 100644 --- a/device-types/HPE/Aruba-EC-M-P.yaml +++ b/device-types/HPE/Aruba-EC-M-P.yaml @@ -12,13 +12,6 @@ console-ports: - name: console type: de-9 label: console -power-ports: - - name: PS1 - type: iec-60320-c14 - maximum_draw: 132 - - name: PS2 - type: iec-60320-c14 - maximum_draw: 132 interfaces: - name: lan0 type: 1000base-t @@ -46,3 +39,8 @@ interfaces: - name: wan1 type: 1000base-t label: wan1 +module-bays: + - name: PS1 + position: '1' + - name: PS2 + position: '2' diff --git a/device-types/HPE/Aruba-EC-M.yaml b/device-types/HPE/Aruba-EC-M.yaml index e786f732b..f5b413695 100644 --- a/device-types/HPE/Aruba-EC-M.yaml +++ b/device-types/HPE/Aruba-EC-M.yaml @@ -12,13 +12,6 @@ console-ports: - name: console type: de-9 label: console -power-ports: - - name: PS1 - type: iec-60320-c14 - maximum_draw: 126 - - name: PS2 - type: iec-60320-c14 - maximum_draw: 126 interfaces: - name: lan0 type: 1000base-t @@ -46,3 +39,8 @@ interfaces: type: 1000base-t mgmt_only: true label: mgmt1 +module-bays: + - name: PS1 + position: '1' + - name: PS2 + position: '2' diff --git a/module-types/HPE/Aruba-EC-NX-PSU-350W.yaml b/module-types/HPE/Aruba-EC-NX-PSU-350W.yaml new file mode 100644 index 000000000..8a2bd2fed --- /dev/null +++ b/module-types/HPE/Aruba-EC-NX-PSU-350W.yaml @@ -0,0 +1,9 @@ +--- +manufacturer: HPE +model: Aruba EC-NX-PSU-350W +part_number: 500225-001 +comments: Compatible with Aruba EC-M (126W), EC-M-B (132W), EC-M-B gen2 (162W), EC-M-P (132W), EC-M-P gen2 (162W), EC-M-P-FIPS (162W) +power-ports: + - name: PS{module} + type: iec-60320-c14 + maximum_draw: 162W diff --git a/module-types/HPE/Aruba-EC-NX-PSU-750W.yaml b/module-types/HPE/Aruba-EC-NX-PSU-750W.yaml new file mode 100644 index 000000000..5700dc54c --- /dev/null +++ b/module-types/HPE/Aruba-EC-NX-PSU-750W.yaml @@ -0,0 +1,9 @@ +--- +manufacturer: HPE +model: Aruba EC-NX-PSU-750W +part_number: 500223-001 +comments: Compatible with Aruba EC-L (401W), EC-L-B (440W), EC-L-P (440W), EC-L-NM (440W), EC-L-B-NM (370W), EC-L-P-NM (370W) +power-ports: + - name: PS{module} + type: iec-60320-c14 + maximum_draw: 440W