From 6ca2a6ff2c2ebe8a99c27d238421b46ede2c13ab Mon Sep 17 00:00:00 2001
From: francesco-noc <120575195+francesco-noc@users.noreply.github.com>
Date: Thu, 20 Jul 2023 13:20:16 +0200
Subject: [PATCH] added HPE modules and psu (#1464)

* addend modules and psu

* trailing newline

* forgotten pre-commit run

* deleted vc_position

---------

Co-authored-by: Daniel W. Anner <daniel.anner@danstechsupport.com>
---
 module-types/HPE/Aruba-J9993A.yaml | 22 ++++++++++++++++++++++
 module-types/HPE/JH155A.yaml       | 10 ++++++++++
 module-types/HPE/JL083A.yaml       | 14 ++++++++++++++
 module-types/HPE/JL084A.yaml       | 14 ++++++++++++++
 module-types/HPE/JL087A.yaml       |  9 +++++++++
 module-types/HPE/JL325A.yaml       | 10 ++++++++++
 6 files changed, 79 insertions(+)
 create mode 100644 module-types/HPE/Aruba-J9993A.yaml
 create mode 100644 module-types/HPE/JH155A.yaml
 create mode 100644 module-types/HPE/JL083A.yaml
 create mode 100644 module-types/HPE/JL084A.yaml
 create mode 100644 module-types/HPE/JL087A.yaml
 create mode 100644 module-types/HPE/JL325A.yaml

diff --git a/module-types/HPE/Aruba-J9993A.yaml b/module-types/HPE/Aruba-J9993A.yaml
new file mode 100644
index 00000000..224b47dc
--- /dev/null
+++ b/module-types/HPE/Aruba-J9993A.yaml
@@ -0,0 +1,22 @@
+---
+manufacturer: HPE
+model: Aruba J9993A
+part_number: J9993A
+comments: HPE J9993A Aruba 8p 1G/10GbE SFP+ v3 zl2 Module
+interfaces:
+  - name: '{module}1'
+    type: 10gbase-x-sfpp
+  - name: '{module}2'
+    type: 10gbase-x-sfpp
+  - name: '{module}3'
+    type: 10gbase-x-sfpp
+  - name: '{module}4'
+    type: 10gbase-x-sfpp
+  - name: '{module}5'
+    type: 10gbase-x-sfpp
+  - name: '{module}6'
+    type: 10gbase-x-sfpp
+  - name: '{module}7'
+    type: 10gbase-x-sfpp
+  - name: '{module}8'
+    type: 10gbase-x-sfpp
diff --git a/module-types/HPE/JH155A.yaml b/module-types/HPE/JH155A.yaml
new file mode 100644
index 00000000..aafb8fa4
--- /dev/null
+++ b/module-types/HPE/JH155A.yaml
@@ -0,0 +1,10 @@
+---
+manufacturer: HPE
+model: JH155A
+part_number: JH155A
+comments: HPE 5510 2 port QSFP+ Module
+interfaces:
+  - name: FortyGigE1/{module}/1
+    type: 40gbase-x-qsfpp
+  - name: FortyGigE1/{module}/2
+    type: 40gbase-x-qsfpp
diff --git a/module-types/HPE/JL083A.yaml b/module-types/HPE/JL083A.yaml
new file mode 100644
index 00000000..80aa5d39
--- /dev/null
+++ b/module-types/HPE/JL083A.yaml
@@ -0,0 +1,14 @@
+---
+manufacturer: HPE
+model: Aruba 3810M/2930M 4SFP+ MACsec Module
+part_number: JL083A
+comments: Aruba 3810M/2930M 4SFP+ MACsec Module
+interfaces:
+  - name: '{module}1'
+    type: 10gbase-x-sfpp
+  - name: '{module}2'
+    type: 10gbase-x-sfpp
+  - name: '{module}3'
+    type: 10gbase-x-sfpp
+  - name: '{module}4'
+    type: 10gbase-x-sfpp
diff --git a/module-types/HPE/JL084A.yaml b/module-types/HPE/JL084A.yaml
new file mode 100644
index 00000000..feb49600
--- /dev/null
+++ b/module-types/HPE/JL084A.yaml
@@ -0,0 +1,14 @@
+---
+manufacturer: HPE
+model: Aruba 3810M 4-port Stacking Module
+part_number: JL084A
+comments: HPE JL084A Aruba 3810M 4-port Stacking Module
+interfaces:
+  - name: A1
+    type: 10gbase-t
+  - name: A2
+    type: 10gbase-t
+  - name: A3
+    type: 10gbase-t
+  - name: A4
+    type: 10gbase-t
diff --git a/module-types/HPE/JL087A.yaml b/module-types/HPE/JL087A.yaml
new file mode 100644
index 00000000..361c4e20
--- /dev/null
+++ b/module-types/HPE/JL087A.yaml
@@ -0,0 +1,9 @@
+---
+manufacturer: HPE
+model: Aruba X372 1050W AC Power Supply
+part_number: JL087A
+comments: Aruba X372 1050W AC Power Supply
+power-ports:
+  - name: PS {module}
+    type: iec-60320-c14
+    maximum_draw: 1050
diff --git a/module-types/HPE/JL325A.yaml b/module-types/HPE/JL325A.yaml
new file mode 100644
index 00000000..db711a89
--- /dev/null
+++ b/module-types/HPE/JL325A.yaml
@@ -0,0 +1,10 @@
+---
+manufacturer: HPE
+model: Aruba 2930 2-port Stacking Module
+part_number: JL325A
+comments: Aruba 2930 2-port Stacking Module
+interfaces:
+  - name: A1
+    type: 10gbase-t
+  - name: A2
+    type: 10gbase-t
-- 
GitLab