mirror of
https://github.com/netbox-community/devicetype-library.git
synced 2024-12-22 15:13:06 +01:00
Validation Testing Increase (#1208)
* Create * Update validation.yml * testing fixes * Update validation.yml * Added missing uses to validation file * Update HP-5120-48G-PoEP-EI.yaml * testing fixes * Added newline at end of yaml file * removing unnessecary tasks from validation * Update HP-5120-24G-PoEP-EI.yaml * Update HP-5120-24G-PoEP-EI.yaml
This commit is contained in:
parent
f583e096d5
commit
421ef832ac
3
.github/workflows/validation.yml
vendored
3
.github/workflows/validation.yml
vendored
@ -19,5 +19,8 @@ jobs:
|
||||
run: |
|
||||
yamllint --format github --strict \
|
||||
device-types/ module-types/
|
||||
- name: Format YAML files (yamlfmt)
|
||||
run: |
|
||||
pre-commit run --config .pre-commit-yamlfmt-config.yaml --all-files
|
||||
- name: Run tests
|
||||
run: pytest --tb=short -v
|
||||
|
15
.pre-commit-yamlfmt-config.yaml
Normal file
15
.pre-commit-yamlfmt-config.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
files: ^(device-types|module-types)/
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v4.3.0
|
||||
hooks:
|
||||
- id: trailing-whitespace
|
||||
- id: end-of-file-fixer
|
||||
- id: check-yaml
|
||||
name: Check YAML files
|
||||
- repo: https://github.com/jumanjihouse/pre-commit-hook-yamlfmt
|
||||
rev: 0.2.2
|
||||
hooks:
|
||||
- id: yamlfmt
|
||||
args: [--mapping, '2', --sequence, '4', --offset, '2']
|
@ -5,8 +5,7 @@ slug: cisco-MR36
|
||||
u_height: 0.0
|
||||
is_full_depth: false
|
||||
comments: "- Datasheet: [https://documentation.meraki.com/MR/MR_Overview_and_Specifications/MR36_Datasheet](https://documentation.meraki.com/MR/MR_Overview_and_Specifications/MR36_Datasheet)\r\
|
||||
\n- IEEE Standards: 802.11a, 802.11ac, 802.11ax, 802.11b, 802.11e, 802.11g, 802.11h,\
|
||||
\ 802.11i, 802.11k, 802.11n, 802.11r, and 802.11u"
|
||||
\n- IEEE Standards: 802.11a, 802.11ac, 802.11ax, 802.11b, 802.11e, 802.11g, 802.11h, 802.11i, 802.11k, 802.11n, 802.11r, and 802.11u"
|
||||
interfaces:
|
||||
- name: main
|
||||
type: 2.5gbase-t
|
||||
|
@ -5,8 +5,7 @@ slug: cisco-MR44
|
||||
u_height: 0.0
|
||||
is_full_depth: false
|
||||
comments: "- Datasheet: [https://documentation.meraki.com/MR/MR_Overview_and_Specifications/MR44_Datasheet](https://documentation.meraki.com/MR/MR_Overview_and_Specifications/MR44_Datasheet)\r\
|
||||
\n- IEEE Standards: 802.11a, 802.11ac, 802.11ax, 802.11b, 802.11e, 802.11g, 802.11h,\
|
||||
\ 802.11i, 802.11k, 802.11n, 802.11r, and 802.11u"
|
||||
\n- IEEE Standards: 802.11a, 802.11ac, 802.11ax, 802.11b, 802.11e, 802.11g, 802.11h, 802.11i, 802.11k, 802.11n, 802.11r, and 802.11u"
|
||||
interfaces:
|
||||
- name: main
|
||||
type: 2.5gbase-t
|
||||
|
@ -5,8 +5,7 @@ slug: cisco-MR53
|
||||
is_full_depth: false
|
||||
u_height: 0
|
||||
comments: "- Datasheet: [https://meraki.cisco.com/product-collateral/mr53-datasheet/?file](https://meraki.cisco.com/product-collateral/mr53-datasheet/?file)\r\
|
||||
\n- IEEE Standards: 802.11b, 802.11g, 802.11a, 802.11n, 802.11ac, 802.11h, 802.11i,\
|
||||
\ 802.11e, 802.11k, 802.11r, 802.11u"
|
||||
\n- IEEE Standards: 802.11b, 802.11g, 802.11a, 802.11n, 802.11ac, 802.11h, 802.11i, 802.11e, 802.11k, 802.11r, 802.11u"
|
||||
interfaces:
|
||||
- name: main
|
||||
type: 2.5gbase-t
|
||||
|
@ -5,8 +5,7 @@ slug: cisco-MR53E
|
||||
is_full_depth: false
|
||||
u_height: 0
|
||||
comments: "- Datasheet: [https://meraki.cisco.com/product-collateral/mr53e-datasheet/?file](https://meraki.cisco.com/product-collateral/mr53e-datasheet/?file)\r\
|
||||
\n- IEEE Standards: 802.11ac Wave 2, 802.11a, 802.11b, 802.11e, 802.11g, 802.11h,\
|
||||
\ 802.11i, 802.11k, 802.11n, 802.11r, 802.11u"
|
||||
\n- IEEE Standards: 802.11ac Wave 2, 802.11a, 802.11b, 802.11e, 802.11g, 802.11h, 802.11i, 802.11k, 802.11n, 802.11r, 802.11u"
|
||||
interfaces:
|
||||
- name: main
|
||||
type: 2.5gbase-t
|
||||
|
@ -5,8 +5,7 @@ slug: cisco-MR56
|
||||
is_full_depth: false
|
||||
u_height: 0
|
||||
comments: "- Datasheet: [https://documentation.meraki.com/MR/MR_Overview_and_Specifications/MR56_Datasheet](https://documentation.meraki.com/MR/MR_Overview_and_Specifications/MR56_Datasheet)\r\
|
||||
\n- IEEE Standards: 802.11a, 802.11ac, 802.11ax, 802.11b, 802.11e, 802.11g, 802.11h,\
|
||||
\ 802.11i, 802.11k, 802.11n, 802.11r, and 802.11u"
|
||||
\n- IEEE Standards: 802.11a, 802.11ac, 802.11ax, 802.11b, 802.11e, 802.11g, 802.11h, 802.11i, 802.11k, 802.11n, 802.11r, and 802.11u"
|
||||
interfaces:
|
||||
- name: main
|
||||
type: 2.5gbase-t
|
||||
|
@ -5,8 +5,7 @@ slug: cisco-MR57
|
||||
is_full_depth: false
|
||||
u_height: 0
|
||||
comments: "- Datasheet: [https://documentation.meraki.com/MR/MR_Overview_and_Specifications/MR57_Datasheet](https://documentation.meraki.com/MR/MR_Overview_and_Specifications/MR57_Datasheet)\r\
|
||||
\n- IEEE Standards: 802.11a, 802.11ac, 802.11ax, 802.11b, 802.11e, 802.11g, 802.11h,\
|
||||
\ 802.11i, 802.11k, 802.11n, 802.11r, 802.11w and 802.11u"
|
||||
\n- IEEE Standards: 802.11a, 802.11ac, 802.11ax, 802.11b, 802.11e, 802.11g, 802.11h, 802.11i, 802.11k, 802.11n, 802.11r, 802.11w and 802.11u"
|
||||
interfaces:
|
||||
- name: main
|
||||
type: 2.5gbase-t
|
||||
|
@ -5,7 +5,7 @@ slug: hpe-5120-24g-poep-ei
|
||||
part_number: JG236A
|
||||
u_height: 1
|
||||
is_full_depth: false
|
||||
comments: "[HPE 5120 EI Switch Series - Specifications](https://support.hpe.com/hpesc/public/docDisplay?docId=emr_na-c00778577)"
|
||||
comments: '[HPE 5120 EI Switch Series - Specifications](https://support.hpe.com/hpesc/public/docDisplay?docId=emr_na-c00778577)'
|
||||
weight: 7.5
|
||||
weight_unit: kg
|
||||
module-bays:
|
||||
|
@ -5,7 +5,7 @@ slug: hpe-5120-48g-poep-ei
|
||||
part_number: JG237A
|
||||
u_height: 1
|
||||
is_full_depth: false
|
||||
comments: "[HPE 5120 EI Switch Series - Specifications](https://support.hpe.com/hpesc/public/docDisplay?docId=emr_na-c00778577)"
|
||||
comments: '[HPE 5120 EI Switch Series - Specifications](https://support.hpe.com/hpesc/public/docDisplay?docId=emr_na-c00778577)'
|
||||
weight: 7.5
|
||||
weight_unit: kg
|
||||
module-bays:
|
||||
|
@ -8,7 +8,7 @@ weight: 2.8
|
||||
weight_unit: kg
|
||||
is_full_depth: false
|
||||
airflow: passive
|
||||
comments: "H3C S3100-EI Series 10/100 Switches"
|
||||
comments: H3C S3100-EI Series 10/100 Switches
|
||||
console-ports:
|
||||
- name: console0
|
||||
type: rj-45
|
||||
|
@ -123,12 +123,12 @@ interfaces:
|
||||
type: 10gbase-x-sfpp
|
||||
module-bays:
|
||||
- name: PS1
|
||||
position: "1"
|
||||
position: '1'
|
||||
- name: PS2
|
||||
position: "2"
|
||||
position: '2'
|
||||
- name: Fan Tray 1
|
||||
position: "1"
|
||||
position: '1'
|
||||
- name: Fan Tray 2
|
||||
position: "2"
|
||||
position: '2'
|
||||
- name: Fan Tray 3
|
||||
position: "3"
|
||||
position: '3'
|
||||
|
@ -133,14 +133,14 @@ interfaces:
|
||||
type: 100gbase-x-qsfp28
|
||||
module-bays:
|
||||
- name: PS1
|
||||
position: "1"
|
||||
position: '1'
|
||||
- name: PS2
|
||||
position: "2"
|
||||
position: '2'
|
||||
- name: Fan Tray 1
|
||||
position: "1"
|
||||
position: '1'
|
||||
- name: Fan Tray 2
|
||||
position: "2"
|
||||
position: '2'
|
||||
- name: Fan Tray 3
|
||||
position: "3"
|
||||
position: '3'
|
||||
- name: Fan Tray 4
|
||||
position: "4"
|
||||
position: '4'
|
||||
|
@ -137,14 +137,14 @@ interfaces:
|
||||
type: 10gbase-x-sfpp
|
||||
module-bays:
|
||||
- name: PS1
|
||||
position: "1"
|
||||
position: '1'
|
||||
- name: PS2
|
||||
position: "2"
|
||||
position: '2'
|
||||
- name: Fan Tray 1
|
||||
position: "1"
|
||||
position: '1'
|
||||
- name: Fan Tray 2
|
||||
position: "2"
|
||||
position: '2'
|
||||
- name: Fan Tray 3
|
||||
position: "3"
|
||||
position: '3'
|
||||
- name: Fan Tray 4
|
||||
position: "4"
|
||||
position: '4'
|
||||
|
@ -87,16 +87,16 @@ interfaces:
|
||||
type: 10gbase-x-sfpp
|
||||
module-bays:
|
||||
- name: PS1
|
||||
position: "1"
|
||||
position: '1'
|
||||
- name: PS2
|
||||
position: "2"
|
||||
position: '2'
|
||||
- name: Fan Tray 1
|
||||
position: "1"
|
||||
position: '1'
|
||||
- name: Fan Tray 2
|
||||
position: "2"
|
||||
position: '2'
|
||||
- name: Fan Tray 3
|
||||
position: "3"
|
||||
position: '3'
|
||||
- name: Fan Tray 4
|
||||
position: "4"
|
||||
position: '4'
|
||||
- name: Fan Tray 5
|
||||
position: "5"
|
||||
position: '5'
|
||||
|
@ -87,16 +87,16 @@ interfaces:
|
||||
type: 10gbase-x-sfpp
|
||||
module-bays:
|
||||
- name: PS1
|
||||
position: "1"
|
||||
position: '1'
|
||||
- name: PS2
|
||||
position: "2"
|
||||
position: '2'
|
||||
- name: Fan Tray 1
|
||||
position: "1"
|
||||
position: '1'
|
||||
- name: Fan Tray 2
|
||||
position: "2"
|
||||
position: '2'
|
||||
- name: Fan Tray 3
|
||||
position: "3"
|
||||
position: '3'
|
||||
- name: Fan Tray 4
|
||||
position: "4"
|
||||
position: '4'
|
||||
- name: Fan Tray 5
|
||||
position: "5"
|
||||
position: '5'
|
||||
|
@ -87,18 +87,18 @@ interfaces:
|
||||
type: 10gbase-x-sfpp
|
||||
module-bays:
|
||||
- name: PS1
|
||||
position: "1"
|
||||
position: '1'
|
||||
- name: PS2
|
||||
position: "2"
|
||||
position: '2'
|
||||
- name: Fan Tray 1
|
||||
position: "1"
|
||||
position: '1'
|
||||
- name: Fan Tray 2
|
||||
position: "2"
|
||||
position: '2'
|
||||
- name: Fan Tray 3
|
||||
position: "3"
|
||||
position: '3'
|
||||
- name: Fan Tray 4
|
||||
position: "4"
|
||||
position: '4'
|
||||
- name: Fan Tray 5
|
||||
position: "5"
|
||||
position: '5'
|
||||
- name: Fan Tray 6
|
||||
position: "6"
|
||||
position: '6'
|
||||
|
@ -3,7 +3,8 @@ manufacturer: Ubiquiti
|
||||
model: UniFi Switch Enterprise 24 PoE
|
||||
slug: ubiquiti-unifi-switch-enterprise-24-poe
|
||||
part_number: USW-Enterprise-24-PoE
|
||||
comments: 'UniFi Switch Enterprise 24 PoE (150W + max. 400W PoE), (12) 2.5 Gigabit PoE+ IEEE 802.3af/at, (12) 1 Gigabit PoE+ IEEE 802.3af/at, (2) SFP+\nDimensions: 442.4 x 43.7 x 325 mm (17.4 x 1.7 x 12.8")\n[Switch Enterprise 24 PoE Datasheet](https://dl.ui.com/ds/usw-enterprise-24-poe_ds)'
|
||||
comments: 'UniFi Switch Enterprise 24 PoE (150W + max. 400W PoE), (12) 2.5 Gigabit PoE+ IEEE 802.3af/at, (12) 1 Gigabit PoE+ IEEE 802.3af/at, (2) SFP+\nDimensions:
|
||||
442.4 x 43.7 x 325 mm (17.4 x 1.7 x 12.8")\n[Switch Enterprise 24 PoE Datasheet](https://dl.ui.com/ds/usw-enterprise-24-poe_ds)'
|
||||
u_height: 1
|
||||
is_full_depth: false
|
||||
weight: 11.46
|
||||
|
Loading…
Reference in New Issue
Block a user