From f02ac174f9745c570ab92f56a0e75ac9d68e06a8 Mon Sep 17 00:00:00 2001
From: Bastian Triller <bastian.triller@gmail.com>
Date: Mon, 17 Jul 2023 21:39:54 +0200
Subject: [PATCH] Add Cisco UCS-C220-M6S (#1432)

* Add Cisco UCS-C220-M6S

Add Cisco UCS-C220-M6S device and various Cisco PSU module types.

* Add airflow to Cisco UCSC-C220-M6S

* Update UCSC-C220-M6S.yaml

---------

Co-authored-by: Daniel W. Anner <daniel.anner@danstechsupport.com>
---
 device-types/Cisco/UCSC-C220-M6S.yaml   | 34 +++++++++++++++++++++++++
 module-types/Cisco/UCSC-PSU1-1050W.yaml |  8 ++++++
 module-types/Cisco/UCSC-PSU1-1600W.yaml |  8 ++++++
 module-types/Cisco/UCSC-PSU1-2300W.yaml |  8 ++++++
 module-types/Cisco/UCSC-PSU1-770W.yaml  |  8 ++++++
 5 files changed, 66 insertions(+)
 create mode 100644 device-types/Cisco/UCSC-C220-M6S.yaml
 create mode 100644 module-types/Cisco/UCSC-PSU1-1050W.yaml
 create mode 100644 module-types/Cisco/UCSC-PSU1-1600W.yaml
 create mode 100644 module-types/Cisco/UCSC-PSU1-2300W.yaml
 create mode 100644 module-types/Cisco/UCSC-PSU1-770W.yaml

diff --git a/device-types/Cisco/UCSC-C220-M6S.yaml b/device-types/Cisco/UCSC-C220-M6S.yaml
new file mode 100644
index 00000000..2944642d
--- /dev/null
+++ b/device-types/Cisco/UCSC-C220-M6S.yaml
@@ -0,0 +1,34 @@
+---
+manufacturer: Cisco
+model: UCS-C220-M6S
+slug: cisco-ucs-c220-m6s
+part_number: UCSC-C220-M6S
+u_height: 1
+airflow: front-to-rear
+is_full_depth: true
+console-ports:
+  - name: Console
+    type: rj-45
+interfaces:
+  - name: Ethernet0
+    type: 10gbase-t
+  - name: Ethernet1
+    type: 10gbase-t
+  - name: CIMC
+    type: 1000base-t
+    mgmt_only: true
+module-bays:
+  - name: PSU1
+    position: '1'
+  - name: PSU2
+    position: '2'
+  - name: PCIe.1
+    position: '1'
+  - name: PCIe.2
+    position: '2'
+  - name: PCIe.3
+    position: '3'
+  - name: RAID-Controller
+    position: '1'
+  - name: mLOM
+    position: '1'
diff --git a/module-types/Cisco/UCSC-PSU1-1050W.yaml b/module-types/Cisco/UCSC-PSU1-1050W.yaml
new file mode 100644
index 00000000..cbd9b2ce
--- /dev/null
+++ b/module-types/Cisco/UCSC-PSU1-1050W.yaml
@@ -0,0 +1,8 @@
+---
+manufacturer: Cisco
+model: UCSC-PSU1-1050W
+part_number: UCSC-PSU1-1050W
+power-ports:
+  - name: '{module}'
+    type: iec-60320-c14
+    maximum_draw: 1050
diff --git a/module-types/Cisco/UCSC-PSU1-1600W.yaml b/module-types/Cisco/UCSC-PSU1-1600W.yaml
new file mode 100644
index 00000000..d1faa1fc
--- /dev/null
+++ b/module-types/Cisco/UCSC-PSU1-1600W.yaml
@@ -0,0 +1,8 @@
+---
+manufacturer: Cisco
+model: UCSC-PSU1-1600W
+part_number: UCSC-PSU1-1600W
+power-ports:
+  - name: '{module}'
+    type: iec-60320-c14
+    maximum_draw: 1600
diff --git a/module-types/Cisco/UCSC-PSU1-2300W.yaml b/module-types/Cisco/UCSC-PSU1-2300W.yaml
new file mode 100644
index 00000000..7e8fc471
--- /dev/null
+++ b/module-types/Cisco/UCSC-PSU1-2300W.yaml
@@ -0,0 +1,8 @@
+---
+manufacturer: Cisco
+model: UCSC-PSU1-2300W
+part_number: UCSC-PSU1-2300W
+power-ports:
+  - name: '{module}'
+    type: iec-60320-c20
+    maximum_draw: 2300
diff --git a/module-types/Cisco/UCSC-PSU1-770W.yaml b/module-types/Cisco/UCSC-PSU1-770W.yaml
new file mode 100644
index 00000000..bb93cd4b
--- /dev/null
+++ b/module-types/Cisco/UCSC-PSU1-770W.yaml
@@ -0,0 +1,8 @@
+---
+manufacturer: Cisco
+model: UCSC-PSU1-770W
+part_number: UCSC-PSU1-770W
+power-ports:
+  - name: '{module}'
+    type: iec-60320-c14
+    maximum_draw: 770
-- 
GitLab