Commit Graph

37 Commits

Author SHA1 Message Date
Daniel W. Anner
d0cb58d96e
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.
2023-07-17 15:23:56 -04:00
Daniel W. Anner
c95b166139
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
2023-07-12 20:00:44 -04:00
Daniel W. Anner
a1284a34c0
Filename fixes (#1378)
* Migrating files with underscores to dashes

* fixing file names
2023-05-22 18:15:06 -04:00
Daniel W. Anner
7ab7852a3b
Slug Migration (#1375)
* Migrated device slugs for 3com

* Migrated device slugs for A10

* migrating manufacturers slugs

* Migrated device slugs for AVM

* Migrated device slugs for Avocent

* Migrated device slugs for Brocade

* Migrated device slugs for Calix

* Migrated device slugs for Checkpoint

* Migrated device slugs for more Checkpoint files

* Migrated device slugs for Ciena

* Migrated device slugs for Citrix

* Migrated device slugs for Colable

* Migrated device slugs for Corning

* Migrated device slugs for CryptoPro

* Migrated device slugs for CyberPower

* Migrated device slugs for Datacom

* Migrating slug definition for manufacturer Deciso

* Migrating slug definition for manufacturer Dell

* Migrating slug definition for manufacturer Extreme Networks

* Migrating slug definition for manufacturer F5

* Migrating slug definition for manufacturer Fortinet

* Migrating slug definition for manufacturer FS

* Migrating slug definition for manufacturer Generic

* Migrating slug definition for manufacturer Huawei

* Migrating slug definition for manufacturer LANCOM

* Migrating slug definition for manufacturer Lenovo

* Migrating slug definition for manufacturer Mikrotik

* Migrating slug definition for manufacturer Opengear

* Migrating slug definition for manufacturer Palo Alto

* Migrating slug definition for manufacturer Panduit

* Migrating slug definition for manufacturer QNAP

* Migrating slug definition for manufacturer Rockwell Automation

* Migrating slug definition for manufacturer Ubiquiti

* Migrating slug definition for manufacturer Yamaha

* Migrating slug definition for manufacturer WTI

* Migrating slug definition for manufacturers

* Migrating slug definition for manufacturer Rohde & Schwarz

* fixing double slugs and file names

* fixing slug names to match proper format

* fixing slug names to match proper format

* fixing slugs to match proper format

* fixing slugs to match proper format for Nokia. Also fixed file names for elevation images.

* fixing slugs to match proper format

* fixing slugs to match proper format

* fixing slugs to match proper format for manufacturer Cisco

* fixing slugs to match proper format for manufacturer MikroTik

* fixing slugs to match proper format for manufacturer Ubiquiti

* adding sloppy script used to migrate files
2023-05-22 16:38:34 -04:00
Daniel W. Anner
1ddaab3951
Tests: Remove uppercase from slug (#1227)
* Removed uppercase from devicetype schema slug definition. Fixed incorrect device slugs

* Update CISCO2951_K9.yaml

* Rename CISCO2951_K9.yaml to 2951-K9.yaml
2023-03-25 11:45:15 -04:00
Daniel W. Anner
421ef832ac
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
2023-03-15 15:03:33 -04:00
Alex Tremblay
3343bdeaa1
Add and fix several Cisco and H3C devices (#1176)
* Update WS-C3750G-12S-E.yaml

* Update WS-C3750G-12S-S.yaml

* add missing cisco switch WS-C3650-48FQM-S

* add missing devices from our environment

* fixup

* model rename for HPE A5120 switches

* replaced power-port definitions with module-bay definitions on WS-3650-48FQM models

* add/fix weight values arcording to updated schema

* add power supply modules for WS-C3650-48FQM devices

* add "cisco-" prefix to all cisco device types

* fix duplicate entry issues in cisco and huawei devices

* fix invalid powerport type in cisco power module

* fix type schema validation error in UBR10012 device

* re-add YAML document start markers to all cisco device type files

* Update ASR-920-12CZ-A.yaml

Fix spacing issues

* Update ASR-920-12CZ-D.yaml

Fixed comment, removed extra newline.

* Update ASR-920-12SZ-D.yaml

Fixed comment, removed extra newline.

* Update ASR-920-4SZ-A.yaml

Fixed comment, removed extra newline.

* Update ASR-920-24SZ-M.yaml

Fixed comment, removed extra newline.

* Update SPA112.yaml

Fixed comments. Unnecessary newline removed.

* Update N540-ACC-SYS.yaml

Fixed description. Unnecessary newline removed.

* Update WS-C3750X-48P-S.yaml

Fixed comments. Unnecessary newline removed.

* Update Meraki-MS220-24P.yaml

Reverted description newlines

* Update PWR-C2-1025WAC.yaml

* Update PWR-C2-250WAC.yaml

* Update PWR-C2-640WAC.yaml

* Update PWR-C2-640WDC.yaml

* Update S3100-8TP-PWR-EI.yaml

Removed non-manufacturer datasheet comment

* Update HP-5120-48G-POE-4SFP-EI.yaml

Fixed model/slug

* Update HP-5120-24G-POE-4SFP-EI.yaml

* Update HP-5120-48G-POE-4SFP-EI.yaml

* Update HP-5120-48G-PoEP-EI.yaml

* Update HP-5120-24G-PoEP-EI.yaml

* Update HP-5120-48G-PoEP-EI.yaml

* Update HP-5120-24G-PoEP-EI.yaml

* all C3850 models have dual independant PSU bays

* add PSU modules for C3850 and C3750X model switches

* all C3750X models have dual independant PSU bays

* typo fix

* C3650-##FQM series are the only fixed PSU models in the C3650 line

* All C3650 switches (except minis) have two modular PSU slots

* Update WS-C3850-48XS-E.yaml

Added weight, modular PSUs and modular FANs

* Update WS-C3850-48XS-E.yaml

* Update WS-C3850-48XS-E.yaml

Removed network module since according to datasheet and pictures the 3850-48XS-E does not have a swappable module bay

* Update WS-C3850-48XS-E.yaml

* Added position attribute to newly created PSU module-bays

* Added redundant power supplies

* Moving console, power and module bays up

* added weight to new files

* Added positions to PSU module bays

* rearranged module bays

---------

Co-authored-by: Daniel W. Anner <daniel.anner@danstechsupport.com>
2023-03-13 14:04:12 -04:00
Daniel W. Anner
242bddaec0
Weight Import Fix (#1187)
* weight schema configuration changes

* updated weight/weight unit definitions to compy with import expectations.

* updated readme
2023-03-09 10:49:38 -05:00
grbeneke
66cd206168
Create Huawei CE8800 series (#1138)
* Create CE8850-64CQ-EI.yaml

* Update CE8850-64CQ-EI.yaml

* Create CE8861-4C-EI.yaml

* Create CE88-D24S2CQ.yaml

* Create CE88-D8CQ.yaml

* Update CE8850-64CQ-EI.yaml

Appended `huawei-` to the slug

* Update CE8861-4C-EI.yaml

Appended `huawei-` to the slug

* Update CE8861-4C-EI.yaml

* Update CE8850-64CQ-EI.yaml

* Update CE88-D24S2CQ.yaml

* Update CE88-D8CQ.yaml

---------

Co-authored-by: Daniel W. Anner <daniel.anner@danstechsupport.com>
2023-03-08 14:46:38 -05:00
grbeneke
50925b6351
Create S6730-H28Y4C.yaml (#1131)
* Create S6730-H28Y4C.yaml

Add Huawei CloudEngine S6730-H28Y4C

* Update S6730-H28Y4C.yaml

* Update module-bays

* Update S6730-H28Y4C.yaml

Appended `huawei` to the slug

---------

Co-authored-by: Daniel W. Anner <daniel.anner@danstechsupport.com>
2023-02-21 14:35:03 -05:00
Giulio Botto
b7745a94d1
Add Huawei S5700-28P-LI-AC (#1130)
* Add Huawei S5700-28P-LI-AC

* Update S5700-28P-LI-AC.yaml

---------

Co-authored-by: Daniel W. Anner <daniel.anner@danstechsupport.com>
2023-02-14 10:18:58 -05:00
Giulio Botto
41fd184db0
Add Huawei S5700-28X-LI-AC switch (#1102)
* Add Huawei S5700-28X-LI-AC switch

* Add weight information

* Correct yaml

* Update S5700-28X-LI-AC.yaml

Fixed slug

---------

Co-authored-by: Daniel W. Anner <daniel.anner@danstechsupport.com>
2023-02-13 11:01:44 -05:00
Daniel W. Anner
774810c56d
Removed mgmt_only: false, removed extra newlines (#1064) 2023-01-21 01:11:27 -05:00
Lucilo Wanderley Silva Costa
882a441b62
Create S5720-28X-LI-24S-DC.yaml (#976)
* Create S5720-28X-LI-24S-DC.yaml

* Update S5720-28X-LI-24S-DC.yaml

Removed un-needed definitions. Fixed YAML formatting errors

Co-authored-by: Daniel W. Anner <daniel.anner@danstechsupport.com>
2023-01-04 14:54:41 -05:00
Alejandro Fernández Preda
bd2e4ace75
Huawei s5700 (#1006)
* Add Huawei S5731-S24T4X and modules

* Add Huawei S5735-L24P4X-A1

* Remove empty fields in S5731-S24T4X.yaml

* Remove empty fields in PAC600S12-DB.yaml

* Update S5731-S24T4X.yaml

remove subdevice_role

Co-authored-by: Daniel Anner <daniel.anner@danstechsupport.com>
2022-12-30 13:02:47 -05:00
Maximilian Wilhelm
147361dd10
Add Huawei CloudEngine S5732-H48XUM2CC model + PSU + FAN (#935)
* Add Huawei CloudEngine S5732-H48XUM2CC model

Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>

* Add Huawei PAC1000S56-CB PSU and FAN-031A-B fan module

Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>

Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2022-12-27 14:02:21 -05:00
Daniel Anner
dd0f629bfa
Ran full pre-commit run -a to fix all formatting issues (#999) 2022-12-27 12:35:52 -05:00
Giulio Botto
a712796ac3
Add Huawei S1720-28GWR-PWR-4TP-E (#966)
* Add Huawei S1720-28GWR-PWR-4TP-E
2022-12-05 22:57:51 -05:00
Fernando Chaves
0c9517fb0a
Huawei CE6851-48S6Q-HI (#956) 2022-12-05 22:57:27 -05:00
Vittore Zen
27c4b053e8
Huawei ar6121 e (#972)
* Add Huawei/AR6121E
2022-12-05 22:55:56 -05:00
Emerson Pereira
7dc085185b
Add 'S6730-H48X6C' device type and minor changes to 'S6730-H24X6C' (#839)
* Add 'S6730-H48X6C' device type and minor changes to 'S6730-H24X6C'
2022-07-09 08:37:35 -04:00
Daniel Sheppard
3931a351df
Remove questionable use of USB ports in console (#797) 2022-05-03 06:54:01 -04:00
Fernando Chaves
2217538cab
GE0/0/0 in NE40E-M2K-B is mgmt only (#783) 2022-04-27 08:16:55 -04:00
Fernando Chaves
ff3b56fed6
add Huawei S5735-L24T4X-A (#699)
* add Huawei S5735-L24T4X-A

* fix newline

Co-authored-by: fernandolcx <fernandolcx9@gmail.com>
2022-03-07 16:47:33 -05:00
Michael Klose
d8ce2765c4
Extend tests to check for null/empty values (#687)
Fixes #686
2022-02-25 10:23:46 -05:00
Fernando Chaves
767092746e
add Huawei S6720S-26Q-EI-24S-AC (#654)
* add Huawei S6720S-26Q-EI-24S-AC

* fix indentation

* Omit empty attributes

Co-authored-by: fernandolcx <fernandolcx9@gmail.com>
Co-authored-by: Jeremy Stretch <jstretch@ns1.com>
2022-02-17 16:39:49 -05:00
Walday
0ca3c61226
Create Huawei_CE6820H-48S6CQ.yaml (#626) 2022-01-18 07:37:28 -05:00
ryanmerolle
4bb91619de remove unneeded quotes 2021-11-26 19:22:08 -05:00
Markus Viitamäki
3cb5a8fad6
Adding Huawei OptiXtrans DC908 (#565)
* Adding Huawei OptiXtrans DC908
2021-11-22 23:46:37 -05:00
Walday
630d2dae3b
Create Huawei_S5732-H24UM2CC.yaml (#514) 2021-10-23 22:25:24 -04:00
Walday
732287965c
Create S6730-H24X6C.yaml (#508) 2021-10-21 07:12:54 -04:00
Walday
2d56710eb0
Huawei Dorado 3000 V6 Storage (#509) 2021-10-19 15:01:20 -04:00
Walday
639482f21d
Create Huawei_2288H_V5.yaml (#507) 2021-10-15 14:47:18 -04:00
Martin
3775036f03
Move orphaned templates to vendor folders (#492) 2021-10-06 07:21:56 -04:00
martinum4
7b62143592
Create ATN910I-D.yaml (#392) 2021-06-11 07:53:22 -04:00
Fernando Chaves
410b3cdae0
add huawei S6720-30C-EI-24S AC and DC models (#402) 2021-06-03 23:11:54 -04:00
Emerson Pereira
f30890ee60
Add Huawei NE40E-M2K-B. (#368) 2021-03-25 11:52:01 -04:00