Implementing Test Updates (Slugs & File Names) (#1454)

* breaking out tests for easier usage

* refactoring codebase

* Added verification for properly formatted slug and fixed definitions that were incorrect

* Adding new test case to ensure the file name matches either the slug or the part_number

* fixed file names to match proper formatting
This commit is contained in:
Daniel W. Anner 2023-07-12 20:00:44 -04:00 committed by GitHub
parent 9c28b7b21a
commit c95b166139
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
233 changed files with 283 additions and 165 deletions

View File

@ -1,7 +1,7 @@
---
manufacturer: ADVA
model: XG480-100G-CFP2
slug: adva-xg480-100g-cfp2
model: FSP 150-XG480-100G-CFP2
slug: adva-fsp-150-xg480-100g-cfp2
part_number: 1078901003-01
u_height: 2
is_full_depth: false

View File

@ -1,7 +1,7 @@
---
manufacturer: ADVA
model: XG480-100G
slug: adva-xg480-100g
model: FSP 150-XG480-100G
slug: adva-fsp-150-xg480-100g
part_number: 1078901001-01
u_height: 2
is_full_depth: false

View File

@ -1,8 +1,8 @@
---
manufacturer: APC
model: SMX3000HV
slug: apc-smx3000hv
part_number: SMX3000HV
model: SMX3000HVNC
slug: apc-smx3000hvnc
part_number: SMX3000HVNC
comments: APC Smart-UPS X, Line Interactive, 3000VA, Rack/tower convertible 4U, 208V-230V, 8x C13+1x C19 IEC, SmartSlot, Extended runtime
u_height: 4
is_full_depth: true

View File

@ -1,7 +1,7 @@
---
manufacturer: Arista
model: DCS-7048-T
slug: arista-dcs-7048-t
model: DCS-7048T-A
slug: arista-dcs-7048t-a
is_full_depth: true
u_height: 1
interfaces:

View File

@ -1,6 +1,6 @@
---
manufacturer: Avocent
model: Cyclades TS-1000
model: Cyclades TS 1000
slug: avocent-cyclades-ts-1000
u_height: 1
is_full_depth: false

View File

@ -2,6 +2,7 @@
manufacturer: Canon
model: imageRUNNER ADVANCE C3520
slug: canon-imagerunner-advance-c3520
part_number: IR-ADV-C3520
u_height: 0
comments: '[Color Laser Multifunctional](https://oip.manual.canon/USRMA-3350-zz-CS-3500-enUV/)'
power-ports:

View File

@ -2,6 +2,7 @@
manufacturer: Canon
model: imageRUNNER ADVANCE C3530 III
slug: canon-imagerunner-advance-c3530-iii
part_number: IR-ADV-C3530-III
u_height: 0
comments: '[Color Laser Multifunctional](https://oip.manual.canon/USRMA-3763-zz-CS-3500-enUS/)'
power-ports:

View File

@ -2,6 +2,7 @@
manufacturer: Canon
model: imageRUNNER ADVANCE C3530
slug: canon-imagerunner-advance-c3530
part_number: IR-ADV-C3530
u_height: 0
comments: '[Color Laser Multifunctional](https://oip.manual.canon/USRMA-1814-zz-CS-3500-enUS/)'
power-ports:

View File

@ -2,6 +2,7 @@
manufacturer: Canon
model: imageRunner ADVANCE DX C3720
slug: canon-imagerunner-advance-dx-c3720
part_number: IR-ADV-C3720
u_height: 0
comments: '[Color Laser Multifunctional](https://oip.manual.canon/USRMA-4706-zz-CS-3700-enUV)'
power-ports:

View File

@ -1,7 +1,7 @@
---
manufacturer: Cisco
model: uBR10012
slug: cisco-ubr10012
model: uBR 10012
slug: cisco-ubr-10012
u_height: 18
is_full_depth: true
comments: '[Cisco uBR10012 Data Sheet](https://www.cisco.com/c/en/us/products/collateral/video/ubr10000-series-universal-broadband-routers/product_data_sheet09186a00801ed384.html)'

View File

@ -4,8 +4,6 @@ model: COL5141S
slug: colable-col5141s
u_height: 1
is_full_depth: true
comments: |
[Colable COL5141S product data](https://www.colable.com/Product/5817903943.html)
power-ports:
- name: Power 1
type: iec-60320-c14

View File

@ -1,7 +1,7 @@
---
manufacturer: Dell
model: PowerEdge R620 XL
slug: dell-poweredge-r620-xl
model: PowerEdge R620XL
slug: dell-poweredge-r620xl
u_height: 1
is_full_depth: true
console-ports:

View File

@ -1,6 +1,6 @@
---
manufacturer: Factor-TS
model: Dionis DPS-3010
model: Dionis DPS-3010-RM-6E-4S
slug: factor-ts-dionis-dps-3010-rm-6e-4s
part_number: RM-6E-4S
u_height: 1

View File

@ -1,7 +1,7 @@
---
manufacturer: Generic
model: 24-port UTP Patch Panel Half Depth
slug: generic-24-port-utp-patch-panel-half-depth
model: 24-port Copper Patch Panel Half Depth
slug: generic-24-port-copper-patch-panel-half-depth
u_height: 1
is_full_depth: false
airflow: passive

View File

@ -1,7 +1,7 @@
---
manufacturer: Generic
model: 24-port UTP Patch Panel
slug: generic-24-port-utp-patch-panel
model: 24-port Copper Patch Panel
slug: generic-24-port-copper-patch-panel
u_height: 1
airflow: passive
front-ports:

View File

@ -1,7 +1,7 @@
---
manufacturer: Generic
model: 48-port UTP Patch Panel Half Depth
slug: generic-48-port-utp-patch-panel-half-depth
model: 48-port Copper Patch Panel Half Depth
slug: generic-48-port-copper-patch-panel-half-depth
u_height: 2
is_full_depth: false
airflow: passive

View File

@ -1,7 +1,7 @@
---
manufacturer: Generic
model: 48-port UTP Patch Panel
slug: generic-48-port-utp-patch-panel
model: 48-port Copper Patch Panel
slug: generic-48-port-copper-patch-panel
u_height: 2
airflow: passive
front-ports:

View File

@ -1,7 +1,7 @@
---
manufacturer: HPE
model: Aruba 6000-12G-POE4-2SFP 139W
slug: hpe-aruba-6000-12g-poe4-2sfp-139w
model: Aruba 6000-12G-POE4-2SFP
slug: hpe-aruba-6000-12g-poe4-2sfp
part_number: R8N89A
u_height: 1
is_full_depth: false

View File

@ -1,7 +1,7 @@
---
manufacturer: HPE
model: Aruba 6000-24G-POE4-4SFP 370W
slug: hpe-aruba-6000-24g-poe4-4sfp-370w
model: Aruba 6000-24G-POE4-4SFP
slug: hpe-aruba-6000-24g-poe4-4sfp
part_number: R8N87A
u_height: 1
is_full_depth: false

View File

@ -1,7 +1,7 @@
---
manufacturer: HPE
model: Aruba 6000-48G-POE4-4SFP 370W
slug: hpe-aruba-6000-48g-poe4-4sfp-370w
model: Aruba 6000-48G-POE4-4SFP
slug: hpe-aruba-6000-48g-poe4-4sfp
part_number: R8N85A
u_height: 1
is_full_depth: false

View File

@ -1,7 +1,7 @@
---
manufacturer: HPE
model: Aruba 6100-12G-POE4-2SFP+ 139W
slug: hpe-aruba-6100-12g-poe4-2sfpp-139w
model: Aruba 6100-12G-POE4-2SFP+
slug: hpe-aruba-6100-12g-poe4-2sfpp
part_number: JL679A
u_height: 1
is_full_depth: false

View File

@ -1,7 +1,7 @@
---
manufacturer: HPE
model: Aruba 6100-24G-POE4-4SFP+ 370W
slug: hpe-aruba-6100-24g-poe4-4sfpp-370w
model: Aruba 6100-24G-POE4-4SFP+
slug: hpe-aruba-6100-24g-poe4-4sfpp
part_number: JL677A
u_height: 1
is_full_depth: false

View File

@ -1,7 +1,7 @@
---
manufacturer: HPE
model: Aruba 6100-48G-POE4-4SFP+ 370W
slug: hpe-aruba-6100-48g-poe4-4sfpp-370w
model: Aruba 6100-48G-POE4-4SFP+
slug: hpe-aruba-6100-48g-poe4-4sfpp
part_number: JL675A
u_height: 1
is_full_depth: false

View File

@ -1,7 +1,7 @@
---
manufacturer: HPE
model: Aruba 6200F-24G-POE4-4SFP+ 370W
slug: hpe-aruba-6200f-24g-poe4-4sfpp-370w
model: Aruba 6200F-24G-POE4-4SFP+
slug: hpe-aruba-6200f-24g-poe4-4sfpp
part_number: JL725A
u_height: 1
is_full_depth: false

View File

@ -1,6 +1,6 @@
---
manufacturer: HPE
model: Aruba 6200F-48G-POE4-4SFP+ 370W
model: Aruba 6200F-48G-POE4-4SFP+ 370w
slug: hpe-aruba-6200f-48g-poe4-4sfpp-370w
part_number: JL727A
u_height: 1

View File

@ -1,7 +1,7 @@
---
manufacturer: HPE
model: Aruba 8320-24XF2C Back-to-Front
slug: hpe-aruba-8320-24xf2c-back-to-front
model: Aruba 8360-24XF2C Back-to-Front
slug: hpe-aruba-8360-24xf2c-back-to-front
part_number: JL711C
u_height: 1
is_full_depth: false

View File

@ -1,7 +1,7 @@
---
manufacturer: HPE
model: Aruba 8360-24XF2C
slug: hpe-aruba-8360-24xf2c
model: Aruba 8360-24XF2C Front-to-Back
slug: hpe-aruba-8360-24xf2c-front-to-back
part_number: JL710C
u_height: 1
is_full_depth: false

View File

@ -1,6 +1,6 @@
---
manufacturer: HPE
model: Aruba AP-505
model: Aruba IAP-505
slug: hpe-aruba-ap-505
part_number: AP-505
u_height: 0

View File

@ -1,7 +1,7 @@
---
manufacturer: HPE
model: Aruba 3200
slug: hpe-aruba-3200
model: Aruba MC 3200
slug: hpe-aruba-mc-3200
is_full_depth: false
u_height: 1
interfaces:

View File

@ -1,7 +1,7 @@
---
manufacturer: HPE
model: Aruba 3400
slug: hpe-aruba-3400
model: Aruba MC 3400
slug: hpe-aruba-mc-3400
is_full_depth: false
u_height: 1
interfaces:

View File

@ -1,7 +1,7 @@
---
manufacturer: HPE
model: 3100-16 v2 EI
slug: hpe-3100-16-v2-ei
model: HP 3100-16 v2 EI
slug: hpe-hp-3100-16-v2-ei
part_number: JD319B
u_height: 1
is_full_depth: false

View File

@ -1,7 +1,7 @@
---
manufacturer: HPE
model: 3100-24 EI
slug: hpe-3100-24-ei
model: HP 3100-24 EI
slug: hpe-hp-3100-24-ei
part_number: JD320A
u_height: 1
is_full_depth: false

View File

@ -1,7 +1,7 @@
---
manufacturer: HPE
model: 3100-24-PoE v2 EI
slug: hpe-3100-24-poe-v2-ei
model: HP 3100-24-PoE v2 EI
slug: hpe-hp-3100-24-poe-v2-ei
part_number: JD313B
u_height: 1
is_full_depth: false

View File

@ -1,7 +1,7 @@
---
manufacturer: HPE
model: 3100-24 v2 EI
slug: hpe-3100-24-v2-ei
model: HP 3100-24 v2 EI
slug: hpe-hp-3100-24-v2-ei
part_number: JD320B
u_height: 1
is_full_depth: false

View File

@ -1,7 +1,7 @@
---
manufacturer: HPE
model: 3100-8 v2 EI
slug: hpe-3100-8-v2-ei
model: HP 3100-8 v2 EI
slug: hpe-hp-3100-8-v2-ei
part_number: JD318B
u_height: 1
is_full_depth: false

Some files were not shown because too many files have changed in this diff Show More