From c054627613a40e681b5f6a1034959e739b587445 Mon Sep 17 00:00:00 2001
From: dar72 <dar7272@gmail.com>
Date: Tue, 18 Jul 2023 14:10:14 +0100
Subject: [PATCH] Riello UPS and Netman cards (#1453)

* Riello UPS and Netman cards

* YAML Fix

* Naming cleanup

---------

Co-authored-by: Daniel W. Anner <daniel.anner@danstechsupport.com>
---
 device-types/Riello/DLD-330.yml   | 30 +++++++++++++++++++
 device-types/Riello/DLD-500.yml   | 29 +++++++++++++++++++
 device-types/Riello/SDH-1500.yml  | 41 ++++++++++++++++++++++++++
 device-types/Riello/SDH-2200.yml  | 43 +++++++++++++++++++++++++++
 device-types/Riello/SDL-3300.yml  | 29 +++++++++++++++++++
 device-types/Riello/SDU-5000.yml  | 48 +++++++++++++++++++++++++++++++
 module-types/Riello/Netman102.yml | 12 ++++++++
 module-types/Riello/Netman204.yml | 14 +++++++++
 8 files changed, 246 insertions(+)
 create mode 100644 device-types/Riello/DLD-330.yml
 create mode 100644 device-types/Riello/DLD-500.yml
 create mode 100644 device-types/Riello/SDH-1500.yml
 create mode 100644 device-types/Riello/SDH-2200.yml
 create mode 100644 device-types/Riello/SDL-3300.yml
 create mode 100644 device-types/Riello/SDU-5000.yml
 create mode 100644 module-types/Riello/Netman102.yml
 create mode 100644 module-types/Riello/Netman204.yml

diff --git a/device-types/Riello/DLD-330.yml b/device-types/Riello/DLD-330.yml
new file mode 100644
index 00000000..cb12963d
--- /dev/null
+++ b/device-types/Riello/DLD-330.yml
@@ -0,0 +1,30 @@
+---
+manufacturer: Riello
+model: DLD 330
+slug: riello-dld-330
+part_number: UMO4330635RUB
+u_height: 4
+is_full_depth: true
+comments: 3300VA/2300W UPS
+weight: 38
+weight_unit: kg
+module-bays:
+  - name: Communications Card Slot
+    position: '1'
+power-outlets:
+  - name: Power Outlet 1
+    type: iec-60320-c13
+  - name: Power Outlet 2
+    type: iec-60320-c13
+  - name: Power Outlet 3
+    type: iec-60320-c19
+  - name: Battery Pack Connector
+    type: other
+power-ports:
+  - name: Power Port 1
+    type: iec-60320-c20
+console-ports:
+  - name: Serial
+    type: rj-45
+  - name: USB management
+    type: usb-b
diff --git a/device-types/Riello/DLD-500.yml b/device-types/Riello/DLD-500.yml
new file mode 100644
index 00000000..7323c625
--- /dev/null
+++ b/device-types/Riello/DLD-500.yml
@@ -0,0 +1,29 @@
+---
+manufacturer: Riello
+model: DLD 500
+slug: riello-dld-500
+part_number: UM6K500935RUB
+u_height: 4
+is_full_depth: true
+weight: 38
+weight_unit: kg
+module-bays:
+  - name: Communications Card Slot
+    position: '1'
+power-outlets:
+  - name: Power Outlet 1
+    type: iec-60320-c13
+  - name: Power Outlet 2
+    type: iec-60320-c13
+  - name: Power Outlet 3
+    type: hardwired
+  - name: Battery Pack Connector
+    type: other
+power-ports:
+  - name: Power Input 1
+    type: hardwired
+console-ports:
+  - name: Serial
+    type: rj-45
+  - name: USB management
+    type: usb-b
diff --git a/device-types/Riello/SDH-1500.yml b/device-types/Riello/SDH-1500.yml
new file mode 100644
index 00000000..53af728c
--- /dev/null
+++ b/device-types/Riello/SDH-1500.yml
@@ -0,0 +1,41 @@
+---
+manufacturer: Riello
+model: SDH 1500
+slug: riello-sdh-1500
+part_number: RISDH1500
+u_height: 2
+is_full_depth: true
+weight: 30.5
+weight_unit: kg
+module-bays:
+  - name: Communications Card Slot
+    position: '1'
+power-outlets:
+  - name: Power Outlet 1
+    type: iec-60320-c13
+  - name: Power Outlet 2
+    type: iec-60320-c13
+  - name: Power Outlet 3
+    type: iec-60320-c13
+  - name: Power Outlet 4
+    type: iec-60320-c13
+  - name: Power Outlet 5
+    type: iec-60320-c13
+  - name: Power Outlet 6
+    type: iec-60320-c13
+  - name: Power Outlet 7
+    type: iec-60320-c13
+  - name: Power Outlet 8
+    type: iec-60320-c13
+  - name: Battery Pack Connector
+    type: other
+  - name: REPO Connector
+    type: dc-terminal
+power-ports:
+  - name: Power Port 1
+    type: iec-60320-c14
+console-ports:
+  - name: Serial
+    type: rj-45
+  - name: USB management
+    type: usb-b
diff --git a/device-types/Riello/SDH-2200.yml b/device-types/Riello/SDH-2200.yml
new file mode 100644
index 00000000..facdb242
--- /dev/null
+++ b/device-types/Riello/SDH-2200.yml
@@ -0,0 +1,43 @@
+---
+manufacturer: Riello
+model: SDH 2200
+slug: riello-sdh-2200
+part_number: RISDH2200ER
+u_height: 2
+is_full_depth: true
+weight: 30.5
+weight_unit: kg
+module-bays:
+  - name: Communications Card Slot
+    position: '1'
+power-outlets:
+  - name: Power Outlet 1
+    type: iec-60320-c19
+  - name: Power Outlet 2
+    type: iec-60320-c13
+  - name: Power Outlet 3
+    type: iec-60320-c13
+  - name: Power Outlet 4
+    type: iec-60320-c13
+  - name: Power Outlet 5
+    type: iec-60320-c13
+  - name: Power Outlet 6
+    type: iec-60320-c13
+  - name: Power Outlet 7
+    type: iec-60320-c13
+  - name: Power Outlet 8
+    type: iec-60320-c13
+  - name: Power Outlet 9
+    type: iec-60320-c13
+  - name: Battery Pack Connector
+    type: other
+  - name: REPO Connector
+    type: dc-terminal
+power-ports:
+  - name: Power Port 1
+    type: iec-60320-c20
+console-ports:
+  - name: Serial
+    type: rj-45
+  - name: USB management
+    type: usb-b
diff --git a/device-types/Riello/SDL-3300.yml b/device-types/Riello/SDL-3300.yml
new file mode 100644
index 00000000..2c43d315
--- /dev/null
+++ b/device-types/Riello/SDL-3300.yml
@@ -0,0 +1,29 @@
+---
+manufacturer: Riello
+model: SDL 3300
+slug: riello-sdl-3300
+part_number: CSDL3K3AA4
+u_height: 4
+is_full_depth: true
+weight: 38
+weight_unit: kg
+module-bays:
+  - name: Communications Card Slot
+    position: '1'
+power-outlets:
+  - name: Power Outlet 1
+    type: iec-60320-c13
+  - name: Power Outlet 2
+    type: iec-60320-c13
+  - name: Power Outlet 3
+    type: iec-60320-c19
+  - name: Battery Pack Connector
+    type: other
+power-ports:
+  - name: Power Port 1
+    type: iec-60320-c20
+console-ports:
+  - name: Serial
+    type: rj-45
+  - name: USB management
+    type: usb-b
diff --git a/device-types/Riello/SDU-5000.yml b/device-types/Riello/SDU-5000.yml
new file mode 100644
index 00000000..235abd6e
--- /dev/null
+++ b/device-types/Riello/SDU-5000.yml
@@ -0,0 +1,48 @@
+---
+manufacturer: Riello
+model: SDU 5000
+slug: riello-sdu-5000
+part_number: CSDU5K0AA7U0RUA
+u_height: 3
+is_full_depth: true
+comments: 5000VA UPS
+weight: 45
+weight_unit: kg
+module-bays:
+  - name: Communications Card Slot
+    position: '1'
+  - name: Parallel Card Slot
+    position: '1'
+power-outlets:
+  - name: Power Outlet 1
+    type: iec-60320-c19
+  - name: Power Outlet 2
+    type: iec-60320-c19
+  - name: Power Outlet 3
+    type: iec-60320-c13
+  - name: Power Outlet 4
+    type: iec-60320-c13
+  - name: Power Outlet 5
+    type: iec-60320-c13
+  - name: Power Outlet 6
+    type: iec-60320-c13
+  - name: Power Outlet 7
+    type: iec-60320-c13
+  - name: Power Outlet 8
+    type: iec-60320-c13
+  - name: Power Outlet 9
+    type: iec-60320-c13
+  - name: Power Outlet 10
+    type: iec-60320-c13
+  - name: Battery Pack Connector
+    type: other
+  - name: REPO Connector
+    type: dc-terminal
+power-ports:
+  - name: Power Port 1
+    type: iec-60320-c20
+console-ports:
+  - name: Serial
+    type: rj-45
+  - name: USB management
+    type: usb-b
diff --git a/module-types/Riello/Netman102.yml b/module-types/Riello/Netman102.yml
new file mode 100644
index 00000000..a2ba1fab
--- /dev/null
+++ b/module-types/Riello/Netman102.yml
@@ -0,0 +1,12 @@
+---
+manufacturer: Riello
+model: Netman 102 Plus
+part_number: NETMAN102
+comments: Riello UPS NetMan 102 Plus Network Card
+console-ports:
+  - name: Netman/Serial
+    type: rj-45
+interfaces:
+  - name: Netman/mgmt
+    type: 100base-tx
+    mgmt_only: true
diff --git a/module-types/Riello/Netman204.yml b/module-types/Riello/Netman204.yml
new file mode 100644
index 00000000..7c38b448
--- /dev/null
+++ b/module-types/Riello/Netman204.yml
@@ -0,0 +1,14 @@
+---
+manufacturer: Riello
+model: Netman 204
+part_number: NETMAN204
+comments: Riello UPS NetMan 204 Network Card
+console-ports:
+  - name: Netman/Serial
+    type: rj-45
+  - name: Netman/USB
+    type: usb-micro-b
+interfaces:
+  - name: Netman/mgmt
+    type: 100base-tx
+    mgmt_only: true
-- 
GitLab