Commit Graph
100 Commits
Author SHA1 Message Date
Daniel W. AnnerandHarry 0f5a586834 Adding Legrand J06B0B (#2731)
* Adding Legrand J06B0B

* Update J06B0B.yaml

* Update J06B0B.yaml

* Update J06B0B.yaml

added extra detail

---------

Co-authored-by: Harry <Harry@cadby.co.uk>
2025-03-03 22:31:24 +00:00
Daniel W. AnnerandHarry f8bb8eb406 Adding tripp-lite PDUH20HVL6 (#2846)
* Adding tripp-lite PDUH20HVL6

* Update Tripp-Lite-PDUH20HVL6.yaml

* Update Tripp-Lite-PDUH20HVL6.yaml

* Update Tripp-Lite-PDUH20HVL6.yaml

* Update Tripp-Lite-PDUH20HVL6.yaml

added airflow

---------

Co-authored-by: Harry <Harry@cadby.co.uk>
2025-02-21 14:12:18 +00:00
Daniel W. AnnerandHarry 953610ea74 Dell 540-BBHS (#2742)
* Adding Dell 540-BBHS

* Fixing interface names

* Update 540-BBHS.yaml

---------

Co-authored-by: Harry <Harry@cadby.co.uk>
2025-02-10 15:39:24 +00:00
Daniel W. Anner 067025ca0a Adding Dell D550E-S1 and L550E-S1 (#2732) 2025-02-07 21:08:05 +00:00
Daniel W. AnnerandHarry 146a465b85 Updating Cisco interface names (#2589)
Co-authored-by: Harry <Harry@cadby.co.uk>
2025-01-08 09:41:28 -06:00
Daniel W. Anner 8584df2007 Correction - ASCII and Tests (#2588)
* fixing spacing

* fixing non-ascii characters
2024-12-26 12:14:51 -05:00
Daniel W. Anner 830f401dd4 updating requirements, updating workflows and fixing device (#2383) 2024-10-11 17:08:27 -04:00
Daniel W. Anner 6366a79b75 Updating deps (#2312) 2024-08-22 11:51:54 -04:00
Daniel W. Anner 5609f0ca9f bumping pre-commit and hook configs (#2154) 2024-05-18 13:26:00 -04:00
Daniel W. Anner 36dfd0b1d1 Updating dependancies (#2153) 2024-05-18 13:06:38 -04:00
Daniel W. AnnerandDaniel W-CTR Anner 414a126520 Adding optimized and compressed images (#2098)
Co-authored-by: Daniel W-CTR Anner <daniel.w-ctr.anner@faa.gov>
2024-04-18 16:48:57 -04:00
Daniel W. Anner 4607c0d486 Test Cases: Added VGA denial test case (#2065)
* Adding first revision of the VGA test cases

* Second revision with less repetative code

* Handling case where vga has a number in the naming

* the great VGA purge!
2024-04-03 21:02:47 -04:00
Daniel W. Anner 42ad64ce74 Updating test cases to resolve PR #1719 (#2046) 2024-03-28 10:16:47 -04:00
Daniel W. Anner cf0b38d4d3 - Bumping peter-evans/create-pull-request from v5 to v6 per #2035 (#2041)
- Bumping tj-actions/changed-files from v41 to v44 per #2033
2024-03-27 17:31:31 -04:00
Daniel W. Anner f5fd872f62 Pytest update (#2040)
* updating pre-commit to v3.7.0 per #2034

* updating pytest to v8.1.1 per #2036
2024-03-27 17:19:35 -04:00
Daniel W. Anner a52fd70ed2 resolving RefResolver deprecation issue in the master slug generator (#2039) 2024-03-27 17:08:02 -04:00
Daniel W. Anner 70a75ec469 updating test code for new jsonschema version. removing old refresolver that is deprecated. updating schemas. (#2038) 2024-03-27 16:53:45 -04:00
Daniel W. Anner f871be20c6 March 2024 Dependency Updates (#2032)
* adding dependabot update. updating deps.

* updating actions dep schedule and assignment.
2024-03-27 12:33:39 -04:00
Daniel W. Anner e43c2633e7 Adding further documentation to the readme (with links back to docs.netbox.dev) to explain the different DCIM parts. Hopefully this will help with contributors understanding (#1879) 2024-01-23 09:39:53 -05:00
Daniel W. Anner 9e0c228482 updating pre-commit (#1875) 2024-01-22 12:43:23 -05:00
Daniel W. Anner 4f6289e873 Updating psutil and pytest (#1873) 2024-01-22 11:48:27 -05:00
Daniel W. Anner 25ab2658a9 updating actions versioning (#1871) 2024-01-22 11:31:30 -05:00
Daniel W. Anner 9e81422a65 adding nov2023 dependancy updates (#1773) 2023-11-20 10:02:28 -05:00
Daniel W. Anner 09e59d10d8 fixing rename file (#1710) 2023-10-23 16:34:23 -04:00
Daniel W. Anner 6aae04ac3b Pytest Test Case - Renamed File w/o Slug/PN Change (#1708)
* Updating tests to solve the issue in PR#1667 which fails on a renamed file (with a valid slug)

* preseving old functionality
2023-10-23 16:11:49 -04:00
Daniel W. Anner c7cd4fa27e Updating Dependancies and pre-commit packages (#1707)
* bumping deps

* updated pre-commit packages
2023-10-23 11:47:57 -04:00
Daniel W. Anner 3a8ed6f6dd adding updated reqs (#1704) 2023-10-23 11:14:48 -04:00
Daniel W. Anner 2a5bc8fefc Update update-generated-schema.yml 2023-09-26 12:52:10 -04:00
Daniel W. Anner 31ef1e6fa7 Update generated_schema.json 2023-09-26 12:14:31 -04:00
Daniel W. Anner e171af3182 Update update-generated-schema.yml 2023-09-26 12:14:12 -04:00
Daniel W. Anner a2dd0934cd Update update-generated-schema.yml 2023-09-26 12:09:40 -04:00
Daniel W. Anner eb4445ab7c Update update-generated-schema.yml 2023-09-26 12:02:37 -04:00
Daniel W. Anner 582deda4d1 Update update-generated-schema.yml 2023-09-26 11:58:42 -04:00
Daniel W. Anner 840247f0ee Update update-generated-schema.yml 2023-09-26 11:49:58 -04:00
Daniel W. Anner 68e18ab734 Update update-generated-schema.yml 2023-09-26 11:45:59 -04:00
Daniel W. Anner 851f4fbc06 Adding new schema workflow and updating cache usage (#1637) 2023-09-26 11:43:09 -04:00
Daniel W. Anner 76513f31ac Adding new script to assist with automatically updating generated JSON (#1635) 2023-09-26 10:31:43 -04:00
Daniel W. Anner c254f26961 Adding NetBox v3.6.2 generated schema (#1634) 2023-09-26 09:21:43 -04:00
Daniel W. Anner 282559fa45 Module Test Improvements (#1608)
* Adding --all switch to the pre-commit check

* Adding test code to verify component positions are not the same for similar modules

* Adding code to validate component names and duplicate positions. This was discovered in issue #1584

* Reverting accidental change to pre-commit-config.yaml

* Update SDU-5000.yml

Reverting testing change

* Update device_types.py

Removed un-needed import
2023-09-06 14:14:11 -04:00
Daniel W. Anner 5345715d2f Adding Panduit images from issue #1601 (#1606) 2023-09-06 10:29:33 -04:00
Daniel W. Anner 976874a871 Bumping deps (#1604) 2023-09-05 15:52:36 -04:00
Daniel W. Anner b25e45e1b7 Adding code to check if the all switch is called (#1603) 2023-09-05 15:39:21 -04:00
Daniel W. Anner 4025470c45 Updating Stale action (#1602) 2023-09-05 14:21:19 -04:00
Daniel W. Anner d2a186bf8d Adding various device images (#1592)
* Adding various device images

* Removing temp file added by accident and adding other images.
2023-08-29 14:24:33 -04:00
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