Commit Graph

1418 Commits

Author SHA1 Message Date
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
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