Commit Graph
100 Commits
Author SHA1 Message Date
Daniel W. Anner aad7aa7fbe Generated update (#1528)
* Updating schemas for autogenerated schema information

* Adding generated schema file
2023-08-02 16:34:27 -04:00
Daniel W. Anner 7fd9b5a423 Updating schemas for autogenerated schema information (#1527) 2023-08-02 15:12:52 -04:00
Daniel W. Anner 5d99d931c1 Adding generated schema in preperation of PR for [NetBox Issue 10030](https://github.com/netbox-community/netbox/issues/10030) (#1525) 2023-08-02 12:38:35 -04:00
Daniel W. Anner cfbc3ec223 Jpsu fix (#1520)
* Added test functionality to use original all files testing. Fixed JPSU-920-AC-AFO issue from Issue#1514

* Fixed JPSU issue

* Fixing file format issue

* fixing file we altered by accident
2023-08-01 12:02:16 -04:00
Daniel W. Anner 8eb68d6a19 Adding module file name checks as well (#1519) 2023-08-01 11:46:04 -04:00
Daniel W. Anner 39bb85e2bf Bumping jsonschema. PR#1515 (#1518) 2023-08-01 10:02:41 -04:00
Daniel W. Anner cf742e65b1 Bumping pyyaml anmd jsonschema. Realted to PR#1516 and PR#1515 (#1517) 2023-08-01 09:53:44 -04:00
Daniel W. Anner 0b3658448a Adding 100gbase-x-dsfp and 100gbase-x-sfpdd (#1510) 2023-07-31 10:01:56 -04:00
Daniel W. Anner c42f6c4b4a Fixing formatting (#1507) 2023-07-30 21:12:42 -04:00
Daniel W. Anner ecb0ffed92 Updating wording (#1501) 2023-07-27 16:39:10 -04:00
Daniel W. Anner 4ce37fa8a3 Pickle Action Tasks (#1500)
* adding test for pickle

* adding a PR comment if the file is modified

* Adding a step to add the appropriate labels

* Adding action to remove label if pickle is not modified

* adding newline to fix formatting
2023-07-27 14:17:58 -04:00
Daniel W. Anner 1defb11182 Revert "Adding failure condition for pickle file (#1497)" (#1498)
This reverts commit 8da45ff037.
2023-07-27 12:17:34 -04:00
Daniel W. Anner 8da45ff037 Adding failure condition for pickle file (#1497) 2023-07-27 11:54:18 -04:00
Daniel W. Anner a5050ebe41 Update definitions_test.py 2023-07-20 11:14:30 -04:00
Daniel W. Anner 7b527f51ba Update definitions_test.py
Fixed mistake - left testing code in
2023-07-20 11:03:34 -04:00
Daniel W. Anner 1868743431 Update definitions_test.py
Resolved issue with renamed files
2023-07-20 11:01:08 -04:00
Daniel W. Anner 745591e2e0 Update validation.yml
Fix source issue
2023-07-19 13:51:38 -04:00
Daniel W. Anner bbc887e2b7 Update validation.yml 2023-07-19 13:47:42 -04:00
Daniel W. Anner c1842856ae Update build-cache.yml 2023-07-19 13:44:21 -04:00
Daniel W. Anner 12aa87787f Create build-cache.yml 2023-07-19 13:40:36 -04:00
Daniel W. Anner 5005ceb7df Update validation.yml 2023-07-19 13:27:27 -04:00
Daniel W. Anner d1e2f1789b Update validation.yml 2023-07-19 13:19:24 -04:00
Daniel W. Anner 0386274381 Update .gitignore 2023-07-19 13:17:18 -04:00
Daniel W. Anner 625141268e Update validation.yml 2023-07-19 12:54:19 -04:00
Daniel W. Anner c6a158cde8 Update validation.yml 2023-07-19 12:41:18 -04:00
Daniel W. Anner 1a9b233d3d Update definitions_test.py
Correcting schema mapping issue
2023-07-19 12:11:11 -04:00
Daniel W. Anner 2e2bb3cf4e Update definitions_test.py 2023-07-19 11:53:37 -04:00
Daniel W. Anner bd60fe6d72 Update validation.yml 2023-07-19 11:09:33 -04: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
Daniel W. Anner 30cf68a804 Update definitions_test.py 2023-07-19 11:04:51 -04:00
Daniel W. Anner b55d20c4bf Update definitions_test.py 2023-07-19 10:45:01 -04:00
Daniel W. AnnerandNetBox Bot 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. AnnerandNetBox Bot 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
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 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
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
Daniel W. Anner 05d8aca4ec Bumped dependancies (#1427)
- pre-commit to 3.3.2
- yamllint to 1.32.0
2023-06-12 10:24:30 -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 4acb64eeb3 fixing qnap file names (#1377) 2023-05-22 16:56:30 -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 be5e88fe74 Migrating juniper device slugs to new naming scheme (#1374) 2023-05-22 11:04:49 -04:00
Daniel W. AnnerandImgBotApp 5eb385e9f0 [ImgBot] Optimize images (#1373)
*Total -- 207.40kb -> 196.80kb (5.11%)

/elevation-images/Nokia/nokia-7220-ixr-d1.rear.png -- 20.92kb -> 19.52kb (6.73%)
/elevation-images/Nokia/nokia-7220-ixr-d2l.front.png -- 23.44kb -> 21.97kb (6.27%)
/elevation-images/Nokia/nokia-7220-ixr-d3l.rear.png -- 13.57kb -> 12.72kb (6.25%)
/elevation-images/Nokia/nokia-7220-ixr-d2l.rear.png -- 26.23kb -> 24.60kb (6.22%)
/elevation-images/Nokia/nokia-7220-ixr-d2.rear.png -- 20.84kb -> 19.80kb (4.99%)
/elevation-images/Nokia/nokia-7220-ixr-d3.front.png -- 19.86kb -> 18.97kb (4.47%)
/elevation-images/Nokia/nokia-7220-ixr-h3.rear.png -- 21.90kb -> 20.96kb (4.27%)
/elevation-images/Nokia/nokia-7220-ixr-d1.front.png -- 19.99kb -> 19.15kb (4.2%)
/elevation-images/Nokia/nokia-7220-ixr-d3.rear.png -- 21.20kb -> 20.32kb (4.13%)
/elevation-images/Nokia/nokia-7220-ixr-d2.front.png -- 19.45kb -> 18.79kb (3.4%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2023-05-22 10:39:40 -04:00
Daniel W. Anner 1c59243085 adding folder and first image for module images (#1372) 2023-05-22 10:37:10 -04:00
Daniel W. Anner 3d4d275424 Update BIG-IP-2000.yaml 2023-05-18 08:52:05 -04:00
Daniel W. Anner 598596de04 Updating Meraki model and slugs (#1360) 2023-05-16 11:52:03 -04:00
Daniel W. Anner 0e5685b746 Thales/SafeNet Network HSMs (#1337)
* added Thales T2000 and its PSU

* Added Thales/SafeNet Luna K6 net-hsm and psu
2023-05-09 12:10:25 -04:00
Daniel W. Anner 860a5bfa67 Cisco Fixes & PWR-C1-350WAC-P (#1335)
* fixed file name and type for c2960xr-24ts-i and fixed power slots for c9300-48t

* Added PWR-C1-350WAC-P
2023-05-08 16:23:53 -04:00
Daniel W. Anner 382e05afb8 Adding Cisco WS-C2960XR-24TS-I (#1334) 2023-05-08 15:43:56 -04:00
Daniel W. Anner af495389fe migrating files to match best practices (#1333) 2023-05-08 11:51:27 -04:00
Daniel W. Anner 6241b5054d updating dell slugs to match proper formatting (#1332) 2023-05-08 11:39:40 -04:00
Daniel W. Anner 0e6f6cc125 Pre-Commit bump (#1328)
* Dependencies updates for May 2023

* adding updates to pre-commit and validation

* updating pre-commit config

* Bumped pre-commit to 3.3.1
2023-05-05 13:02:11 -04:00
Daniel W. Anner 12638369b3 Dependencies updates for May 2023 (#1326)
* Dependencies updates for May 2023

* adding updates to pre-commit and validation

* updating pre-commit config
2023-05-05 12:49:12 -04:00
Daniel W. Anner 871fd00893 Adding Vertiv & Avocent MPUIQ-SRL and MPUIQ-VMCHS (#1313) 2023-04-25 12:58:43 -04:00
Daniel W. Anner 7f88be73ae Update README.md
Added more details regarding properly defining the slug
2023-04-13 11:06:17 -04:00
Daniel W. Anner adc40244b1 Update WAX610D.yaml 2023-04-13 10:08:58 -04:00
Daniel W. Anner 4fbea7c425 bumping releases (#1255) 2023-04-01 15:41:20 -04:00
Daniel W. Anner 0a46e3f053 updated PA-850 and added psu (#1249) 2023-03-30 13:18:57 -04:00
Daniel W. Anner cd12651e18 Update BIG-IP-2000.yaml
Fix port to 10gbase-x-sfpp
2023-03-30 12:51:02 -04:00
Daniel W. Anner afcc0f4c87 Adding bigip 2000 series (#1248) 2023-03-30 12:48:50 -04:00
Daniel W. Anner 1c6b36aaa5 Eaton Updates (#1247)
* Added proper upc to part number. Added airflow and weight. fixed slug

* Fixed slugs and model names for eaton devices

* Fixed file names
2023-03-30 12:27:08 -04:00
Daniel W. Anner 9c71b9de84 Allied Telesis AT-MCR12 Update (#1246)
* added airflow, weight, and fixed slug

* fixed file name to match model/pn
2023-03-30 12:07:20 -04:00
Daniel W. Anner f49ef192fc Added r6515 airflow (#1245) 2023-03-30 11:50:51 -04:00
Daniel W. Anner b36c0d7407 Migrate tripp lite to eaton (#1242)
* Migrate tripp lite to eaton

* merge tripplite module to eaton
2023-03-30 09:54:33 -04:00
Daniel W. Anner 4f16fe54f2 added part numbers and weight to tripp lite (#1241) 2023-03-29 10:41:15 -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 86af9cd854 Update README.md 2023-03-24 16:55:55 -04:00
Daniel W. Anner 8c4f87cde2 Update README.md
Added front and rear image definition
2023-03-24 16:55:30 -04:00
Daniel W. Anner f78c90d38b Adding elevation images folder and test logic (#1225)
* Added new test code for elevation images. Added elevation folder.

* Also adding first file with image definitions
2023-03-24 16:50:47 -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
Daniel W. Anner f583e096d5 Adding pytest run to the end of pre-commit (#1207) 2023-03-15 11:45:06 -04:00
Daniel W. Anner e9c6e86426 As per my conversation with Braden McGrath, type2-ieee802.3az isnt a poe standard, but rather a type of energy efficent ethernet - thus these devices are type2-ieee802.3at based on the poe rating (#1206) 2023-03-15 10:20:23 -04:00
Daniel W. Anner e82bc1aa31 updating Datto PoE types to type2-ieee802.3az as per their spec (#1197) 2023-03-13 14:03:15 -04:00
Daniel W. Anner a6383b4e11 file cleanup (#1195) 2023-03-13 13:47:58 -04:00
Daniel W. Anner b63bf2b046 Implementation of IEEE 802.3az (#1165) 2023-03-13 12:40:28 -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
Daniel W. Anner 877c1ca2e1 Import cleanup (#1185)
* After running a full repo import, these came back with errors. Fixes for those errors here

* pre-commit run cleanup
2023-03-09 00:19:45 -05:00
Daniel W. Anner bd9fce16f2 Update README.md 2023-03-03 10:05:44 -05:00
Daniel W. Anner 7b3121807a Update README.md 2023-03-03 10:04:50 -05:00
Daniel W. Anner 940fd191f4 first iteration of spa112 while I figure out the interface type with maintainers (#1170) 2023-03-03 09:45:38 -05:00
Daniel W. Anner 392cdf6de2 HPE Aruba module migration (#1169)
* Migrating Aruba modules to prepend Aruba- in the file name

* Migrating HPE modules to append HPE- in preperation for Aruba module migration

* Migrate Aruba modules to HPE
2023-03-02 18:05:35 -05:00
Daniel W. Anner 64efaa6f09 Datto Networking Hardware (#1166)
* Fixed DSW100-8P-2G power port type

* added comment for type2-ieee802.3az for when PR #1165 gets implemented. Fixed SFP port types.

* added comment for type2-ieee802.3az for when PR #1165 gets implemented.

* Added Datto DSW100-84P-4X and DSW250-8P-2X

* Fixed slug and power type

* Added Datto AP840 and AP840E

* Added AP840E dipoles as inventory items

* Added AP840E Antenna module

* Added Datto DNA and D200 routers/firewalls.

* Fixed issues with tests.
2023-03-01 15:22:38 -05:00
Daniel W. Anner 48c88f36fe Adding Datto DSW100-8P-2G (#1144) 2023-02-24 21:19:20 -05:00
Daniel W. Anner 2cf20ed7cc HPE Aruba Merge & Cleanup (#1142)
* Added Aruba to model names in prep for migration to HPE

* Migrated Aruba manufacturer to HPE

* fixed the poep to poe+ and naming

* Removed sitch from model names

* Fixed power type

* Fixed model names for Aruba 2540s

* fixed Aruba 54 series models

* Updated model names to match the manufacturer

* Fixed slug. Added part number to Aruba 7000 series

* fixed multiple aruba 8000 series part numbers, they had As which are the SFP modules, the actual devices has Cs. Added airflow to the device already there, and added their increment device for reverse airflow.

* fixed airflow definitions for aruba 8000 series

* Fixed aruba 8000 series names and slugs. Added Aruba 10000 rear to front device and added airflow for the front to rear one as well

* Added  prefix to slugs

* Adding pn to aruba 10000 series

* migrating Aruva devices to HPE folder as per discussion 1137. https://github.com/netbox-community/devicetype-library/discussions/1137

* migrating officeconnect switches to new standard format

* Migrated Aruba switches to proper naming

* Updated files to include their product lines and renamed applicable files

* reverted poe-plus to poep to align

* Adding product lines to more HPE devices

* Fixing slug issue

* updating slug to include manuf. and product line

* migrated proliant device file names to -. Also fixed their slugs
2023-02-24 10:32:31 -05:00
Daniel W. Anner 00fb43d8ef Added TP-Link TL-SG1005D (#1136) 2023-02-17 18:12:32 -05:00
Daniel W. Anner ad365305ad Update DPC3939B.yaml 2023-02-17 01:21:40 -05:00
Daniel W. Anner f07e315703 Update DPC3939B.yaml 2023-02-17 00:01:41 -05:00
Daniel W. Anner cb2292f057 Added Comcast Business - Cisco DPC3939B (#1135) 2023-02-16 23:58:18 -05:00
Daniel W. Anner 3c64a1e9e8 Added Datto AP440, DSW100-24P-4x and Cisco RV220W (#1134) 2023-02-16 22:57:37 -05:00
Daniel W. Anner 97a8177632 Move Adtran module to its folder (#1094)
* moving adtran module to its own folder

* Update and rename SM40-1187040G1 to SM40-1187040G1.yml

Added yml to fild end
Added link to product page

* Update SM40-1187040G1.yml

Fixed formatting
2023-02-03 12:15:14 -05:00
Daniel W. Anner 47730804fe FSP 150-XG120Pro (SH) fixed model name/slug, file name, added allocated draw and product page (#1093)
FSP 150-XG418-100G-CFP2 fixed model name/slug, file name, added allocated draw and product page
FSP 150-XG418-100G fixed model name/slug, file name, added allocated draw and product page
FSP 150-XG480-100G-CFP2 fixed model name/slug, file name, added allocated draw and product page
FSP 150-XG480-100G fixed model name/slug, file name, added allocated draw and product page
FSP 150-XG480-25G-100G fixed model name/slug, file name, added allocated draw and product page
2023-02-03 11:52:36 -05:00
Daniel W. Anner 08fc892f99 Fixed MX2800 part number, added product link (#1092)
Fixed TA-5000 23 inch file name (new TA5000 has same name without 23 inch specification), slug and added product link
2023-02-03 11:50:39 -05:00
Daniel W. Anner c36abaf125 Fixed model names (#1091) 2023-02-03 11:50:22 -05:00
Daniel W. Anner 896b8203d6 Dell Device standardization & cleanup (#1085)
* Removed mgmt_only: false, removed extra newlines

* Testing a fix for the multipleOf issue using info in https://github.com/python-jsonschema/jsonschema/issues/1039

* Revert "Testing a fix for the multipleOf issue using info in https://github.com/python-jsonschema/jsonschema/issues/1039"

This reverts commit ea7edcc62e737b8044237162ca178e3520ce8fc8.

* removing device-types/Dell/Unity_XT_DAE.yaml - there are multiple different models of these disk array enclosures. with the possible addition of storage management we need the actual part/models rather than a generalized item

* Renamed Dell PowerSwitches to have the proper name
Added data sheet/spec sheet links when available

* Added data sheet links to comment

* Update NX3240 to match proper name
Standardized slug

* Standardized names and slugs
Added spec sheets where available
2023-02-01 19:01:21 -05:00
Daniel W. Anner 6c4fd5c21e PowerVault ME4024 and 42H29 Controller (#1083)
* Updating powervault me4024 and controller to be device parent/child

* fix mistake with md3200. converted both me4024 and md3200 to parent devices
2023-02-01 16:23:16 -05:00
Daniel W. Anner 6709d6292a fixes device-types/CyberPower/cps1500pfclcd.yaml yamllint issue (#1084) 2023-02-01 16:10:01 -05:00