From 3c1a02e9fb69f9f4f9a016c89965acba21fd3096 Mon Sep 17 00:00:00 2001 From: tunka-lrz Date: Tue, 15 Oct 2024 23:05:41 +0200 Subject: [PATCH] Add Huawei S5720-12TP-PWR-LI-AC Switch (#2327) * Added S5720-12TP-PWR-LI-AC * fixed is_powerd_state S5720-12TP-PWR-LI-AC * Power Supply Huwaei PAC1000S56-DB * Update PAC1000S56-DB.yaml Fix for pre commit check * Update PAC1000S56-DB.yaml --------- Co-authored-by: Philipp Tunka Co-authored-by: Harry --- device-types/Huawei/S5720-12TP-PWR-LI-AC.yaml | 45 +++++++++++++++++++ module-types/Huawei/PAC1000S56-DB.yaml | 9 ++++ 2 files changed, 54 insertions(+) create mode 100644 device-types/Huawei/S5720-12TP-PWR-LI-AC.yaml create mode 100644 module-types/Huawei/PAC1000S56-DB.yaml diff --git a/device-types/Huawei/S5720-12TP-PWR-LI-AC.yaml b/device-types/Huawei/S5720-12TP-PWR-LI-AC.yaml new file mode 100644 index 000000000..b8a26a50c --- /dev/null +++ b/device-types/Huawei/S5720-12TP-PWR-LI-AC.yaml @@ -0,0 +1,45 @@ +--- +manufacturer: Huawei +model: S5720-12TP-PWR-LI-AC +slug: huawei-s5720-12tp-pwr-li-ac +is_full_depth: false +u_height: 1 +part_number: '98010570' +airflow: passive +weight: 3.0 +weight_unit: kg +is_powered: true +comments: '[S5720-12TP-PWR-LI-AC](https://support.huawei.com/enterprise/en/doc/EDOC1000013597/b50f8344/s5720-12tp-pwr-li-ac)' +console-ports: + - name: Console + label: RJ-45 Console + type: rj-45 +interfaces: + - name: GigabitEthernet0/0/1 + type: 1000base-t + - name: GigabitEthernet0/0/2 + type: 1000base-t + - name: GigabitEthernet0/0/3 + type: 1000base-t + - name: GigabitEthernet0/0/4 + type: 1000base-t + - name: GigabitEthernet0/0/5 + type: 1000base-t + - name: GigabitEthernet0/0/6 + type: 1000base-t + - name: GigabitEthernet0/0/7 + type: 1000base-t + - name: GigabitEthernet0/0/8 + type: 1000base-t + - name: GigabitEthernet0/0/9 + type: 1000base-t + - name: GigabitEthernet0/0/10 + type: 1000base-t + - name: GigabitEthernet0/0/11 + type: 1000base-x-sfp + - name: GigabitEthernet0/0/12 + type: 1000base-x-sfp +power-ports: + - name: PSU1 + type: iec-60320-c14 + maximum_draw: 161 diff --git a/module-types/Huawei/PAC1000S56-DB.yaml b/module-types/Huawei/PAC1000S56-DB.yaml new file mode 100644 index 000000000..eaa096cfa --- /dev/null +++ b/module-types/Huawei/PAC1000S56-DB.yaml @@ -0,0 +1,9 @@ +--- +manufacturer: Huawei +model: PAC1000S56-DB +part_number: '02131727' +comments: '[PAC1000S56-DB](https://support.huawei.com/enterprise/en/doc/EDOC1000013597/820632cb/pac1000s56-db-1000-w-poe-ac-240-v-dc-power-module)' +power-ports: + - name: PWR + type: iec-60320-c14 + maximum_draw: 1000