Commit Graph

1479 Commits

Author SHA1 Message Date
Daniel W. Anner
bbc887e2b7
Update validation.yml 2023-07-19 13:47:42 -04:00
NetBox-Bot
55c233162b Regenerate master slug list after successful PR merge 2023-07-19 17:45:09 +00:00
Daniel W. Anner
c1842856ae
Update build-cache.yml 2023-07-19 13:44:21 -04:00
NetBox-Bot
5a534fc0d1 Regenerate master slug list after successful PR merge 2023-07-19 17:41:22 +00:00
Daniel W. Anner
12aa87787f
Create build-cache.yml 2023-07-19 13:40:36 -04:00
NetBox-Bot
3fe42d5aea Regenerate master slug list after successful PR merge 2023-07-19 17:28:15 +00:00
Daniel W. Anner
5005ceb7df
Update validation.yml 2023-07-19 13:27:27 -04:00
NetBox-Bot
243e1a44e4 Regenerate master slug list after successful PR merge 2023-07-19 17:20:19 +00:00
Daniel W. Anner
d1e2f1789b
Update validation.yml 2023-07-19 13:19:24 -04:00
NetBox-Bot
826786deef Regenerate master slug list after successful PR merge 2023-07-19 17:18:14 +00:00
Daniel W. Anner
0386274381
Update .gitignore 2023-07-19 13:17:18 -04:00
NetBox-Bot
190e13e22d Regenerate master slug list after successful PR merge 2023-07-19 16:55:05 +00:00
Daniel W. Anner
625141268e
Update validation.yml 2023-07-19 12:54:19 -04:00
NetBox-Bot
b93971d0b1 Regenerate master slug list after successful PR merge 2023-07-19 16:42:05 +00:00
Daniel W. Anner
c6a158cde8
Update validation.yml 2023-07-19 12:41:18 -04:00
NetBox-Bot
98490c0cd0 Regenerate master slug list after successful PR merge 2023-07-19 16:32:08 +00:00
dar72
0763dfff66
Certa UPS (#1471)
* Adding C300 and C400 models

* Add Certa UPS models and battery packs

* CNMC management card

* New line fix

---------

Co-authored-by: Daniel W. Anner <daniel.anner@danstechsupport.com>
2023-07-19 12:31:10 -04:00
NetBox-Bot
3274c1d928 Regenerate master slug list after successful PR merge 2023-07-19 16:12:13 +00:00
Daniel W. Anner
1a9b233d3d
Update definitions_test.py
Correcting schema mapping issue
2023-07-19 12:11:11 -04:00
NetBox-Bot
f86646de4f Regenerate master slug list after successful PR merge 2023-07-19 15:54:26 +00:00
Daniel W. Anner
2e2bb3cf4e
Update definitions_test.py 2023-07-19 11:53:37 -04:00
NetBox-Bot
c6dbaa1897 Regenerate master slug list after successful PR merge 2023-07-19 15:10:23 +00:00
Daniel W. Anner
bd60fe6d72
Update validation.yml 2023-07-19 11:09:33 -04:00
NetBox-Bot
989092073c Regenerate master slug list after successful PR merge 2023-07-19 15:07:21 +00:00
Daniel W. Anner
18efc4473d
Update validation.yml 2023-07-19 11:06:31 -04:00
Daniel W. Anner
ee96c5a57d
Update master-slugs.yml 2023-07-19 11:06:18 -04:00
NetBox-Bot
0729c90b58 Regenerate master slug list after successful PR merge 2023-07-19 15:05:44 +00:00
Daniel W. Anner
30cf68a804
Update definitions_test.py 2023-07-19 11:04:51 -04:00
NetBox-Bot
f5246af5ba Regenerate master slug list after successful PR merge 2023-07-19 14:45:58 +00:00
Daniel W. Anner
b55d20c4bf
Update definitions_test.py 2023-07-19 10:45:01 -04:00
NetBox-Bot
58c65767a1 Regenerate master slug list after successful PR merge 2023-07-19 14:33:21 +00:00
Daniel W. Anner
15a3e7a9d1
Restore master (#1473)
* Pytest Optimizations (#1465)

* Adding function to determin file changes from upstream via git

* updated test env function to properly skip when files are empty

* updating to use generated slug list

* fixing if statement

* added known slugs functionality to improve runtime

* updating slugs for using git repo

* adding final changes

* updating library url to be correct

* Update master-slugs.yml

* commit to force pr merge (#1466)

* Pytest pr (#1467)

* commit to force pr merge

* commit to force pr merge

* Update master-slugs.yml

* Regenerate master slug list after successful PR merge

* Update master-slugs.yml

* fianl changes to new master slug workflow (#1468)

* Final pr test (#1469)

* fianl changes to new master slug workflow

* trying new branch push

* changing to myself (#1470)

* testing permission on github_token

* testing permission on github_token

* testing permission on github_token

---------

Co-authored-by: NetBox Bot <info@netboxlabs.com>
2023-07-19 10:32:32 -04:00
Daniel W. Anner
e42a14b180
Revert "PR CI Testing (#1472)" (#1474)
This reverts commit 3d0803957d.
2023-07-19 10:32:03 -04:00
Daniel W. Anner
3d0803957d
PR CI Testing (#1472)
* Pytest Optimizations (#1465)

* Adding function to determin file changes from upstream via git

* updated test env function to properly skip when files are empty

* updating to use generated slug list

* fixing if statement

* added known slugs functionality to improve runtime

* updating slugs for using git repo

* adding final changes

* updating library url to be correct

* Update master-slugs.yml

* commit to force pr merge (#1466)

* Pytest pr (#1467)

* commit to force pr merge

* commit to force pr merge

* Update master-slugs.yml

* Regenerate master slug list after successful PR merge

* Update master-slugs.yml

* fianl changes to new master slug workflow (#1468)

* Final pr test (#1469)

* fianl changes to new master slug workflow

* trying new branch push

* changing to myself (#1470)

* testing permission on github_token

* testing permission on github_token

---------

Co-authored-by: NetBox Bot <info@netboxlabs.com>
2023-07-19 10:24:20 -04:00
Patrick Holahan
7cabdbaf30
Creates various Raritan models (#1386)
* Updates 'interface' to interfaces'

* Updates slug with manufacturer name and adds weight and weight_unit

* Adds datasheet as Markdown URL format

* Adds product URL information

* Adds product URL information

* Delete PX3-5497V.yaml

* Create PX3-5497V.yaml

* Removes '-1' device and replaces with correct DSX2-16.yaml

* Reverts permissions to 0755 as per @danner26 request, no idea why it is set to this.

---------

Co-authored-by: Patrick Holahan <tjunyat@gmail.com>
Co-authored-by: Daniel W. Anner <daniel.anner@danstechsupport.com>
2023-07-18 09:43:48 -04:00
dar72
c054627613
Riello UPS and Netman cards (#1453)
* Riello UPS and Netman cards

* YAML Fix

* Naming cleanup

---------

Co-authored-by: Daniel W. Anner <daniel.anner@danstechsupport.com>
2023-07-18 09:10:14 -04:00
Michael Klose
766e993deb
Cisco power supplies fans (#1200)
* C9300 support for modular power supplies and fans

* Fix weight format

* Convert power supplies to module-bays

* Fixed typo

* Convert power supplies to module-bays

* Correct Power supply names

* Merge

* Update Nexus devices and Nexus PSUs

* Removed N7K-7702.yaml correct one is N77-7702.yaml

* Fixed Pytest Errors

---------

Co-authored-by: Daniel W. Anner <daniel.anner@danstechsupport.com>
2023-07-17 15:54:31 -04:00
Marco Lazzarotto
707a695a3d
Create FPR3110-NGFW-K9.yaml (#1369)
* Create FPR3110-NGFW-K9.yaml

* Update FPR3110-NGFW-K9.yaml

* Update FPR3110-NGFW-K9.yaml

* Update device-types/Cisco/FPR3110-NGFW-K9.yaml

Co-authored-by: Marco Lazzarotto <marco@mlazzarotto.it>

* Update device-types/Cisco/FPR3110-NGFW-K9.yaml

Co-authored-by: Marco Lazzarotto <marco@mlazzarotto.it>

* Update device-types/Cisco/FPR3110-NGFW-K9.yaml

Co-authored-by: Marco Lazzarotto <marco@mlazzarotto.it>

* Update FPR3110-NGFW-K9.yaml

---------

Co-authored-by: Daniel W. Anner <daniel.anner@danstechsupport.com>
2023-07-17 15:48:31 -04:00
vitor369789
175153e342
Update RB750r2.yaml (#1066)
* Update RB750r2.yaml

* Update RB750r2.yaml

Added `airflow: passive`

* Update RB750r2.yaml

The specs on this are completely wrong for the power ports.
https://mikrotik.com/product/RB750r2

Fixed DC PSU to be dc-terminal with a max draw of 2W

* Update RB750r2.yaml

Added comment with product page URL

---------

Co-authored-by: Daniel W. Anner <daniel.anner@danstechsupport.com>
2023-07-17 15:47:39 -04:00
Luke Anderson
dc27355c3c
Add Cisco ISR 1127-8PLTEP & Cisco LTE Modules (#1406)
* Add Cisco ISR 1127-8PLTEP & Cisco LTE Modules

* Update ISR-1127-8PLTEP

* Update ISR-1127-8PLTEP Modules

* Update ISR-1127-8PLTEP.yaml

---------

Co-authored-by: Daniel W. Anner <daniel.anner@danstechsupport.com>
2023-07-17 15:46:49 -04:00
Patrick Holahan
4862332169
Nokia 7210 (#1384)
* Adds models for 7210-SAS-M-1, 7210-SAS-M-24F-2XFP, 7210-SAS-Mxp-22F2C-4SFPP, and 7210-SAS-T-12F10T-4XFP

* After pre-commit checks, removed blank line at end of files suggested here - https://github.com/netbox-community/devicetype-library/blob/master/CONTRIBUTING.md

* Update 7210-SAS-M-1.yaml

Added `nokia-` prefix to the slug

* Update 7210-SAS-M-24F-2XFP.yaml

Added `nokia-` prefix to the slug

* Update 7210-SAS-Mxp-22F2C-4SFPP.yaml

Added `nokia-` prefix to the slug

* Update 7210-SAS-T-12F10T-4XFP.yaml

Added `nokia-` prefix to the slug

* Adds module-bays for 7210-SAS-M-1 and 7210-SAS-M-24F-2XFP and removes subdevice_role from 7210-SAS-Mxp-22F2C-4SFPP

* Updates 'module-bays' to 'device-bays'

* Adds airflow

* Removes power-ports, add module-bays for power and fans, adds weight and weight_unit

* Removes subdevice_role

* Removes subdevice_role, adds 'mda2' as a module bay

* Removes subdevice_role, adds 'mda2' as a module bay

* Adds MDA m2-xfp module for 7210-SAS-M module-bay

* Updates 'mda' to 'mda-m2-xfp' to match module name

* Replaces position with '{module}'

---------

Co-authored-by: Patrick Holahan <tjunyat@gmail.com>
Co-authored-by: Daniel W. Anner <daniel.anner@danstechsupport.com>
2023-07-17 15:44:40 -04:00
Ivar Eriksen
5c4636d9c4
Add Zyxel devices (#1413)
* Add Zyxel devices

* Added airflow

* Added weigth and fixed power port

* Update USG-FLEX-200.yaml

---------

Co-authored-by: Daniel W. Anner <daniel.anner@danstechsupport.com>
2023-07-17 15:42:46 -04:00
Simon
3283225ca3
TP-Link/TL-SG105PE.yaml (#1421)
* new file:   device-types/TP-Link/TL-SG105PE.yaml

* Update TL-SG105PE.yaml

---------

Co-authored-by: bl44ck <bl4ckcr4n3rry@gmail.com>
Co-authored-by: Daniel W. Anner <daniel.anner@danstechsupport.com>
2023-07-17 15:40:17 -04:00
Bastian Triller
f02ac174f9
Add Cisco UCS-C220-M6S (#1432)
* Add Cisco UCS-C220-M6S

Add Cisco UCS-C220-M6S device and various Cisco PSU module types.

* Add airflow to Cisco UCSC-C220-M6S

* Update UCSC-C220-M6S.yaml

---------

Co-authored-by: Daniel W. Anner <daniel.anner@danstechsupport.com>
2023-07-17 15:39:54 -04:00
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
Wolf Noble
0ff817fe3d
add HP/Aruba JL693a and front image (#1426)
* add JL693a and front image

* add weight, airflow as requested. link to datasheet added as comment.

* grr wolf is bad at git apparently.

---------

Co-authored-by: Wolf Noble <gitlab@wolfspaw.com>
Co-authored-by: Daniel W. Anner <daniel.anner@danstechsupport.com>
2023-07-17 10:10:51 -04:00
Daniel Hammett
59b992abd6
add other-wireless to resolve issue 1460 (#1461) 2023-07-15 21:39:30 -04:00
Bastian Triller
b48bd3a8bc
Fix typos (#1458)
Fix typos and manufacturer's position in device type's slug description.
Add link to elevation-images folder.
2023-07-15 21:17:30 -04:00
Daniel W. Anner
4ac4c79ab1
Updating comments and error messages for better readability and validation (#1457) 2023-07-14 15:38:14 -04:00
Daniel W. Anner
de70c1edde
Test updates (#1455)
* 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

* Adding test for annotating failures
2023-07-14 15:12:28 -04:00