Adding Tests: Device Power (#1463)

* broke component validation out to its own function. Adding logic for validating device power input.

* Added console-port poe true for adapters. Updating devices to add proper power sources.

* Adding switches to allow for tests to properly determine POE status.

* Fixing files with missing power definitions.
This commit is contained in:
Daniel W. Anner
2023-07-17 15:23:56 -04:00
committed by GitHub
parent 0ff817fe3d
commit d0cb58d96e
253 changed files with 637 additions and 115 deletions

View File

@@ -1,8 +0,0 @@
---
manufacturer: APC
model: AR8425A
slug: apc-ar8425a
part_number: AR8425A
u_height: 1
is_full_depth: false
airflow: passive

View File

@@ -5,6 +5,9 @@ slug: apc-bn450m
u_height: 3
is_full_depth: false
comments: '[APC BN450M Datasheet](https://www.se.com/ww/en/product/download-pdf/BN450M)'
power-ports:
- name: Input
type: nema-5-15p
power-outlets:
- name: Batery + Surge - Outlet 1
type: nema-5-15r

View File

@@ -6,3 +6,6 @@ part_number: SMX120BP
comments: APC Smart-UPS X 120V External Battery Pack Rack/Tower
u_height: 4
is_full_depth: true
power-ports:
- name: UPS Input
type: other

View File

@@ -9,6 +9,9 @@ comments: Hard wire 3-wire (1P + N + E) power port
console-ports:
- name: Serial
type: rj-45
power-ports:
- name: UPS Input
type: hardwired
power-outlets:
- name: Group 1 Outlet 1
type: iec-60320-c13

View File

@@ -9,6 +9,9 @@ comments: All power ports and outlets are hardwired
console-ports:
- name: Serial
type: rj-45
power-ports:
- name: UPS Input
type: hardwired
interfaces:
- name: Ethernet
type: 100base-tx

View File

@@ -9,6 +9,9 @@ comments: Hard wire 3-wire (1P + N + E) power port
console-ports:
- name: Serial
type: rj-45
power-ports:
- name: UPS Input
type: hardwired
power-outlets:
- name: Group 1 Outlet 1
type: iec-60320-c13

View File

@@ -9,6 +9,9 @@ comments: Hard wire 3-wire (2P + E) power port
console-ports:
- name: Serial
type: rj-45
power-ports:
- name: UPS Input
type: hardwired
power-outlets:
- name: Group 1 Outlet 1
type: nema-l6-20r