Skip to content
Snippets Groups Projects
Unverified Commit d0cb58d9 authored by Daniel W. Anner's avatar Daniel W. Anner Committed by GitHub
Browse files

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.
parent 0ff817fe
No related branches found
No related tags found
No related merge requests found
Showing
with 34 additions and 15 deletions
...@@ -12,6 +12,7 @@ comments: "[Cisco Meraki MR52 Datasheet](https://meraki.cisco.com/product-collat ...@@ -12,6 +12,7 @@ comments: "[Cisco Meraki MR52 Datasheet](https://meraki.cisco.com/product-collat
interfaces: interfaces:
- name: eth0 - name: eth0
type: 1000base-t type: 1000base-t
poe_mode: pd
- name: eth1 - name: eth1
type: 1000base-t type: 1000base-t
- name: wlan0 - name: wlan0
......
...@@ -10,6 +10,7 @@ comments: "- Datasheet: [https://meraki.cisco.com/product-collateral/mr53-datash ...@@ -10,6 +10,7 @@ comments: "- Datasheet: [https://meraki.cisco.com/product-collateral/mr53-datash
interfaces: interfaces:
- name: eth0 - name: eth0
type: 2.5gbase-t type: 2.5gbase-t
poe_mode: pd
- name: eth1 - name: eth1
type: 1000base-t type: 1000base-t
- name: wlan0 - name: wlan0
......
...@@ -10,6 +10,7 @@ comments: "- Datasheet: [https://meraki.cisco.com/product-collateral/mr53e-datas ...@@ -10,6 +10,7 @@ comments: "- Datasheet: [https://meraki.cisco.com/product-collateral/mr53e-datas
interfaces: interfaces:
- name: main - name: main
type: 2.5gbase-t type: 2.5gbase-t
poe_mode: pd
- name: secondary - name: secondary
type: 1000base-t type: 1000base-t
- name: wlan0 - name: wlan0
......
...@@ -10,6 +10,7 @@ comments: "- Datasheet: [https://documentation.meraki.com/MR/MR_Overview_and_Spe ...@@ -10,6 +10,7 @@ comments: "- Datasheet: [https://documentation.meraki.com/MR/MR_Overview_and_Spe
interfaces: interfaces:
- name: main - name: main
type: 2.5gbase-t type: 2.5gbase-t
poe_mode: pd
- name: wlan0 - name: wlan0
type: ieee802.11n type: ieee802.11n
- name: wlan1 - name: wlan1
......
...@@ -10,6 +10,7 @@ comments: "- Datasheet: [https://documentation.meraki.com/MR/MR_Overview_and_Spe ...@@ -10,6 +10,7 @@ comments: "- Datasheet: [https://documentation.meraki.com/MR/MR_Overview_and_Spe
interfaces: interfaces:
- name: main - name: main
type: 2.5gbase-t type: 2.5gbase-t
poe_mode: pd
- name: secondary - name: secondary
type: 2.5gbase-t type: 2.5gbase-t
- name: wlan0 - name: wlan0
......
...@@ -12,6 +12,7 @@ comments: "- Datasheet: [https://meraki.cisco.com/lib/pdf/meraki_datasheet_MR74. ...@@ -12,6 +12,7 @@ comments: "- Datasheet: [https://meraki.cisco.com/lib/pdf/meraki_datasheet_MR74.
interfaces: interfaces:
- name: main - name: main
type: 1000base-t type: 1000base-t
poe_mode: pd
- name: wlan0 - name: wlan0
type: ieee802.11n type: ieee802.11n
- name: wlan1 - name: wlan1
......
...@@ -4,3 +4,8 @@ model: PowerEdge C6400 ...@@ -4,3 +4,8 @@ model: PowerEdge C6400
slug: dell-poweredge-c6400 slug: dell-poweredge-c6400
u_height: 2 u_height: 2
is_full_depth: false is_full_depth: false
module-bays:
- name: Power 1
position: '1'
- name: Power 2
position: '2'
...@@ -6,14 +6,11 @@ u_height: 2 ...@@ -6,14 +6,11 @@ u_height: 2
is_full_depth: false is_full_depth: false
comments: | comments: |
[Dell C6420 Spec Sheet](https://www.delltechnologies.com/asset/en-us/products/servers/technical-support/dell-emc-poweredge-c6520-spec-sheet.pdf) [Dell C6420 Spec Sheet](https://www.delltechnologies.com/asset/en-us/products/servers/technical-support/dell-emc-poweredge-c6520-spec-sheet.pdf)
console-ports: module-bays:
- name: Mini-DP
type: other
power-ports:
- name: Power 1 - name: Power 1
type: iec-60320-c14 position: '1'
- name: Power 2 - name: Power 2
type: iec-60320-c14 position: '2'
interfaces: interfaces:
- name: Gig-E 1 - name: Gig-E 1
type: 1000base-t type: 1000base-t
......
...@@ -7,6 +7,9 @@ u_height: 3 ...@@ -7,6 +7,9 @@ u_height: 3
is_full_depth: true is_full_depth: true
airflow: front-to-rear airflow: front-to-rear
comments: Eaton 9PX extended battery moduel (EBM), 180V, Rack/tower, 3U [Manual](https://www.eaton.com/content/dam/eaton/products/backup-power-ups-surge-it-power-distribution/backup-power-ups/eaton-9px-ups/eaton-9sx-9px-ups-5-6-kva-ebm-180v-installation-and-user-manual.pdf) comments: Eaton 9PX extended battery moduel (EBM), 180V, Rack/tower, 3U [Manual](https://www.eaton.com/content/dam/eaton/products/backup-power-ups-surge-it-power-distribution/backup-power-ups/eaton-9px-ups/eaton-9sx-9px-ups-5-6-kva-ebm-180v-installation-and-user-manual.pdf)
power-ports:
- name: UPS Input
type: other
interfaces: interfaces:
- name: Battery connector, top - name: Battery connector, top
type: other type: other
......
...@@ -7,6 +7,9 @@ u_height: 2 ...@@ -7,6 +7,9 @@ u_height: 2
is_full_depth: true is_full_depth: true
airflow: front-to-rear airflow: front-to-rear
comments: Eaton 9PX EBM 2U 72V Sealed Lead Acid VRLA 9PXEBM72RT2U [Manual](https://www.eaton.com/content/dam/eaton/products/backup-power-ups-surge-it-power-distribution/backup-power-ups/eaton-9px-ups/eaton-9px-1-3kva-ups-manual.pdf) comments: Eaton 9PX EBM 2U 72V Sealed Lead Acid VRLA 9PXEBM72RT2U [Manual](https://www.eaton.com/content/dam/eaton/products/backup-power-ups-surge-it-power-distribution/backup-power-ups/eaton-9px-ups/eaton-9px-1-3kva-ups-manual.pdf)
power-ports:
- name: UPS Input
type: other
interfaces: interfaces:
- name: Battery connector, left - name: Battery connector, left
type: other type: other
......
...@@ -5,10 +5,14 @@ slug: ericsson-r6672 ...@@ -5,10 +5,14 @@ slug: ericsson-r6672
part_number: R6672 part_number: R6672
u_height: 1 u_height: 1
is_full_depth: true is_full_depth: true
airflow: front-to-rear
console-ports: console-ports:
- name: console - name: console
type: rj-45 type: rj-45
description: baudrate 115200 description: baudrate 115200
power-ports:
- name: PSU1
type: iec-60320-c16
interfaces: interfaces:
- name: 1/1 - name: 1/1
type: 1000base-x-sfp type: 1000base-x-sfp
......
...@@ -79,7 +79,7 @@ interfaces: ...@@ -79,7 +79,7 @@ interfaces:
- name: Mgmt - name: Mgmt
type: 1000base-t type: 1000base-t
mgmt_only: true mgmt_only: true
device-bays: module-bays:
- name: PSU-1 - name: PSU-1
- name: PSU-2 - name: PSU-2
- name: VIM-2 - name: VIM-2
...@@ -87,7 +87,7 @@ interfaces: ...@@ -87,7 +87,7 @@ interfaces:
- name: Mgmt - name: Mgmt
type: 1000base-t type: 1000base-t
mgmt_only: true mgmt_only: true
device-bays: module-bays:
- name: PSU-1 - name: PSU-1
- name: PSU-2 - name: PSU-2
- name: VIM-2 - name: VIM-2
...@@ -114,16 +114,11 @@ interfaces: ...@@ -114,16 +114,11 @@ interfaces:
type: 10gbase-x-sfpp type: 10gbase-x-sfpp
- name: '52' - name: '52'
type: 10gbase-x-sfpp type: 10gbase-x-sfpp
- name: '53'
type: other
description: either Stacking-Ports or additional SFP+; only with VIM-2 module
- name: '54'
type: other
description: either Stacking-Ports or additional SFP+; only with VIM-2 module
- name: Mgmt - name: Mgmt
type: 1000base-t type: 1000base-t
mgmt_only: true mgmt_only: true
device-bays: module-bays:
- name: PSU-1 - name: PSU-1
- name: PSU-2 - name: PSU-2
- name: VIM-2 - name: VIM-2
position: VIM
...@@ -6,6 +6,7 @@ part_number: FHU-FPP48FLCSMF (#35530) ...@@ -6,6 +6,7 @@ part_number: FHU-FPP48FLCSMF (#35530)
u_height: 1.0 u_height: 1.0
is_full_depth: true is_full_depth: true
comments: FHU 1U 19" Fiber Adapter Panel, 48 Fibers OS2 Single Mode, 24 x LC UPC Duplex (Blue) Adapter, Ceramic Sleeve comments: FHU 1U 19" Fiber Adapter Panel, 48 Fibers OS2 Single Mode, 24 x LC UPC Duplex (Blue) Adapter, Ceramic Sleeve
is_powered: false
front-ports: front-ports:
- name: Front Port 1 - name: Front Port 1
type: lc type: lc
......
...@@ -8,6 +8,7 @@ u_height: 1 ...@@ -8,6 +8,7 @@ u_height: 1
is_full_depth: false is_full_depth: false
airflow: passive airflow: passive
subdevice_role: parent subdevice_role: parent
is_powered: false
device-bays: device-bays:
- name: '1' - name: '1'
- name: '2' - name: '2'
......
...@@ -6,6 +6,7 @@ part_number: FMU-C182761M ...@@ -6,6 +6,7 @@ part_number: FMU-C182761M
u_height: 1 u_height: 1
is_full_depth: false is_full_depth: false
comments: 18 Channels 1270-1610nm, with Monitor Port, LC/UPC, Dual Fiber CWDM Mux Demux, 1U Rack Mount comments: 18 Channels 1270-1610nm, with Monitor Port, LC/UPC, Dual Fiber CWDM Mux Demux, 1U Rack Mount
is_powered: false
front-ports: front-ports:
- name: 1270nm - name: 1270nm
type: lc type: lc
......
...@@ -6,6 +6,7 @@ part_number: FMU-D402160M ...@@ -6,6 +6,7 @@ part_number: FMU-D402160M
u_height: 1 u_height: 1
is_full_depth: false is_full_depth: false
comments: 40 Channels 100GHz C21-C60, with Monitor Port, LC/UPC, Dual Fiber DWDM Mux Demux, 1U Rack Mount comments: 40 Channels 100GHz C21-C60, with Monitor Port, LC/UPC, Dual Fiber DWDM Mux Demux, 1U Rack Mount
is_powered: false
front-ports: front-ports:
- name: C21 - name: C21
type: lc type: lc
......
...@@ -7,6 +7,7 @@ u_height: 1.0 ...@@ -7,6 +7,7 @@ u_height: 1.0
is_full_depth: false is_full_depth: false
subdevice_role: parent subdevice_role: parent
comments: '[Fortinet Rack Mount Tray QuickStart Guide](https://fortinetweb.s3.amazonaws.com/docs.fortinet.com/v2/attachments/d3b3c280-1a08-11e9-9685-f8bc1258b856/Fortinet-Rack-Mount-Tray-QSG.pdf)' comments: '[Fortinet Rack Mount Tray QuickStart Guide](https://fortinetweb.s3.amazonaws.com/docs.fortinet.com/v2/attachments/d3b3c280-1a08-11e9-9685-f8bc1258b856/Fortinet-Rack-Mount-Tray-QSG.pdf)'
is_powered: false
device-bays: device-bays:
- name: Left - name: Left
- name: Right - name: Right
...@@ -4,6 +4,7 @@ model: Primergy BX2560 M1 ...@@ -4,6 +4,7 @@ model: Primergy BX2560 M1
slug: fujitsu-primergy-bx2560-m1 slug: fujitsu-primergy-bx2560-m1
u_height: 0 u_height: 0
is_full_depth: true is_full_depth: true
subdevice_role: child
console-ports: console-ports:
- name: Console - name: Console
type: rj-45 type: rj-45
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment