Commit Graph

1552 Commits

Author SHA1 Message Date
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
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
jacob-behnken
9c28b7b21a
added IE-2000-8TC-B (#1439)
* added IE-2000-8TC-B

* weight added, no airflow, DC power input on box

* fixed new line requirement

* fixed trailing line

* added passive airflow

* added power ports
2023-07-12 10:36:18 -04:00
Simon Fischer
13b7faef4a
adding HP t740 thin client (used as router) (#1396)
* adding HP t740 thin client (used as router)

* change to hpe
2023-07-12 10:35:00 -04:00
Joe Nichols
7b7546f27e
add apc-ap7516 and apc-ap7526 device types (#1400)
* add apc-ap7516 device type

* add airflow, weight, weight_unit

* add AP7526

* fix AP7516 comment to match APC product title

* correct earth pin location
2023-07-12 10:32:43 -04:00
Takahiro Nagafuchi
a30a753082
Add DDN Products (#1407)
* Add DDN Products

* delete description

* fix slug

* fix slugs,remove enabled:true and mgmt_only:false

* fix end line

* delete all products. sepalate module.

* Fix formatting

* Fix formatting

* fix

* Update SFA200NVX2-Controller.yaml

---------

Co-authored-by: Daniel W. Anner <daniel.anner@danstechsupport.com>
2023-07-12 10:31:39 -04:00
Takahiro Nagafuchi
f6a52e646e
Raritan (#1441)
* Add PX3-5138JR

* Fix Inlet name..

* Fix Inlet name..

* remove mgmt_only
2023-07-12 10:24:52 -04:00
Mic Szillat
01015da1ff
Overhaul UniFi access points (#1266)
* Overhaul UniFi access points

* Format code (yamllint)

* fixup! Overhaul UniFi access points

* fixup! Overhaul UniFi access points

* fixup! Overhaul UniFi access points

* Format code

* fixup! Overhaul UniFi access points

* fixup! Overhaul UniFi access points

* fixup! Overhaul UniFi access points

* Apply suggestions from code review

* Apply suggestions from code review

* Remove duplicate device type

* Update UAP-AC-M.yaml

* Update UAP-IW-HD.yaml

* Update UAP-FlexHD.yaml

* Update UAP-Pro.yaml

* Update UAP-AC-Pro.yaml

* Update UAP-AC-M-Pro.yaml

* Update UAP-AC-Lite.yaml

* Update UAP-AC-LR.yaml

* Update U6-Pro.yaml

* Update U6-Mesh.yaml

* Update U6-Lite.yaml

* Update U6-LR.yaml

* Update U6-IW.yaml

* Update U6-Enterprise.yaml

---------

Co-authored-by: Daniel W. Anner <daniel.anner@danstechsupport.com>
2023-07-12 10:24:06 -04:00
dar72
b7f89db990
APC PDUs (#1452)
- AP4421
- AP7850
- AP7853
- AP7921
- AP7951
- AP7953
- AP7954
2023-07-12 09:10:17 -04:00
Vittfarne
edf824b8e4
device-types/Cisco/WS-C2960CG-8TC-L.yaml: Add missing port (#1444)
The missing interface GigabitEthernet0/8 has been added to the template.
2023-07-06 17:09:12 -04:00
Louis Jarasius
a22a4b8e37
Add Juniper ACX2K series (#1445)
* Add Juniper ACX2200 (AC variant)

* Add Juniper ACX2200 (DC variant)

* Add Juniper ACX2100 (AC variant)

* Add Juniper ACX2100 (DC variant)
2023-07-06 17:08:14 -04:00
dependabot[bot]
cd4af9a38c
Bump pytest from 7.3.1 to 7.4.0 (#1442)
Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.3.1 to 7.4.0.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/7.3.1...7.4.0)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-06 17:03:23 -04:00
dependabot[bot]
1e50a838b5
Bump pre-commit from 3.3.2 to 3.3.3 (#1443)
Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 3.3.2 to 3.3.3.
- [Release notes](https://github.com/pre-commit/pre-commit/releases)
- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md)
- [Commits](https://github.com/pre-commit/pre-commit/compare/v3.3.2...v3.3.3)

---
updated-dependencies:
- dependency-name: pre-commit
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-06 14:55:13 -04:00
cwispy
bf2d802b3f
New Fortinet Switches 224D & 1024D
* Create FS-1024D.yaml

New switch type FS-1024D

* Create FS-224D.yaml

New switch model FS-224D
2023-07-06 14:54:50 -04:00
Ryan Merolle
cb27eb2ea7
Create C891FW-A-K9.yml (#1450) 2023-07-06 14:53:58 -04:00
Ryan Merolle
380fea48f8
Opengear CM8100 series (#1451) 2023-07-06 14:48:19 -04:00
Jonathan Senecal
3d0eed3b5a
Update IE300-12GP.yaml
Fixes #1422
According to datasheet these are the proper port numbers.
2023-07-04 16:08:51 -04:00
Christian Bösch
808a05e6f1
create C8500L-8S4X and PWR-CH1-400WAC (#1438)
* C9500-12Q

* add weight and airflow

* added module-bays

* Create PWR-C4-950WAC-R.yaml

* create PWR-CH1-400WAC

* create C8500L-8S4X
2023-06-29 11:36:25 -04:00
Daniel W. Anner
9722ac6f70
Adding Luna G5Backup Token (#1440) 2023-06-28 15:52:12 -04:00
Daniel W. Anner
47d098e34a
Adding 200gbase-x-qsfpdd pending adoption in upstream repository (#1371) 2023-06-26 11:22:18 -04:00
zndrr
bb1215f4d8
Create MikroTik CSS610-8G-2S+ (#1411)
* Create MikroTik CSS610-8G-2S+

Add device type CSS610-8G-2S+

* Rename CSS610-8G-2S+ to CSS610-8G-2S+.yaml

* Update and rename CSS610-8G-2S+.yaml to CSS610-8G-2S+IN.yaml

Added power, product page and interface labels

* Update CSS610-8G-2S+IN.yaml 

Fixing validation errors

* Update CSS610-8G-2S+IN.yaml

Rearranged label field.

* Update CSS610-8G-2S+IN.yaml

Fix slug

* Update CSS610-8G-2S+IN.yaml

Fix formatting

---------

Co-authored-by: Daniel W. Anner <daniel.anner@danstechsupport.com>
2023-06-21 09:25:37 -04:00
dar72
56bc3b1b91
FS LGX fiber splitter modules (#1436)
* This has 3 slots

* Add fiber splitter modules
2023-06-21 08:58:17 -04:00
dar72
e704b8db62
Add FireBrick devices (#1430)
* Add FireBrick devices

* Update FB2900.yaml

Fix whitespace

* Update FB2900.yaml

* Update FB6202.yaml
2023-06-21 08:53:40 -04:00
Schylar Utley
cf9ade86a2
Create IES3110-8TF-R (#1433)
* Create IES3110-8TF-R

* Update IES3110-8TF-R

Removed unnessecary definitions and fixed the slug

* Rename IES3110-8TF-R to IES3110-8TF-R.yml

* Update IES3110-8TF-R.yml

Formatting fixes

---------

Co-authored-by: Daniel W. Anner <daniel.anner@danstechsupport.com>
2023-06-20 11:56:24 -04:00
Christian Bösch
d5831406ec
add Cisco C9500-12Q (#1434)
* C9500-12Q

* add weight and airflow

* added module-bays

* Create PWR-C4-950WAC-R.yaml
2023-06-20 11:21:44 -04:00
Luke Anderson
1549884339
Create Meraki-MR42 (#1410)
* Create Meraki-MR42.yaml

* Add PoE to Inteface
2023-06-20 08:28:30 -04:00
Takahiro Nagafuchi
2e842a85b0
Add Dell N2248X-ON (#1405)
* Add Dell N2248X-ON

* add USB console

* add weight, fix PSU

* Add module 2Y9P1 PSU

* Update PowerSwitch-N2248X-ON.yaml

---------

Co-authored-by: Daniel W. Anner <daniel.anner@danstechsupport.com>
2023-06-20 08:20:27 -04:00
Ivar Eriksen
e8d13ee3e2
Hpe Aruba AP (#1414)
* Add IAP-505

* Added POE mode for IAP-515

* Added weight and airflow data
2023-06-20 08:19:10 -04:00