Commit Graph

611 Commits

Author SHA1 Message Date
NetBox-Bot
e213570174 Regenerate master slug list after successful PR merge 2023-10-23 15:49:28 +00:00
NetBox-Bot
1d8d69bb3e Regenerate master slug list after successful PR merge 2023-10-23 15:18:15 +00:00
NetBox-Bot
df809ee4e7 Regenerate master slug list after successful PR merge 2023-10-23 15:16:08 +00:00
NetBox-Bot
b01b07054b Regenerate master slug list after successful PR merge 2023-10-23 14:10:03 +00:00
NetBox-Bot
bfa85a52f9 Regenerate master slug list after successful PR merge 2023-10-23 13:49:42 +00:00
NetBox-Bot
ab643af33d Regenerate master slug list after successful PR merge 2023-10-23 13:44:26 +00:00
NetBox-Bot
a7718d8d4b Regenerate master slug list after successful PR merge 2023-10-06 17:56:56 +00:00
NetBox-Bot
f0534fdec3 Regenerate master slug list after successful PR merge 2023-10-06 17:53:33 +00:00
NetBox-Bot
66b081a097 Regenerate master slug list after successful PR merge 2023-10-06 17:38:26 +00:00
NetBox-Bot
880b526747 Regenerate master slug list after successful PR merge 2023-10-06 17:34:14 +00:00
NetBox-Bot
c0dc16ad0c Regenerate master slug list after successful PR merge 2023-10-06 17:19:52 +00:00
NetBox-Bot
8a113d8c8a Regenerate master slug list after successful PR merge 2023-10-06 17:07:04 +00:00
NetBox-Bot
af3c863124 Regenerate master slug list after successful PR merge 2023-10-06 17:03:40 +00:00
NetBox-Bot
43bc185081 Regenerate master slug list after successful PR merge 2023-10-06 17:01:49 +00:00
NetBox-Bot
005efbe205 Regenerate master slug list after successful PR merge 2023-10-06 16:58:53 +00:00
NetBox-Bot
1ca5670f77 Regenerate master slug list after successful PR merge 2023-10-06 16:55:04 +00:00
NetBox-Bot
1df7f4792c Regenerate master slug list after successful PR merge 2023-10-06 16:44:27 +00:00
NetBox-Bot
42446cee3a Regenerate master slug list after successful PR merge 2023-10-06 16:42:18 +00:00
NetBox-Bot
60826552b8 Regenerate master slug list after successful PR merge 2023-09-26 16:53:06 +00:00
NetBox-Bot
9beaa7ec33 Regenerate master slug list after successful PR merge 2023-09-26 16:42:45 +00:00
NetBox-Bot
549c7f6958 Regenerate master slug list after successful PR merge 2023-09-26 16:39:04 +00:00
NetBox-Bot
33329c6470 Regenerate master slug list after successful PR merge 2023-09-26 16:32:42 +00:00
NetBox-Bot
b292c04643 Regenerate master slug list after successful PR merge 2023-09-26 16:28:15 +00:00
NetBox-Bot
7113f5cd03 Regenerate master slug list after successful PR merge 2023-09-26 16:20:39 +00:00
NetBox-Bot
6d5d374b72 Regenerate master slug list after successful PR merge 2023-09-26 16:10:43 +00:00
NetBox-Bot
11b7f14d5a Regenerate master slug list after successful PR merge 2023-09-26 16:03:35 +00:00
NetBox-Bot
b51168f818 Regenerate master slug list after successful PR merge 2023-09-26 15:59:58 +00:00
NetBox-Bot
df465acd6e Regenerate master slug list after successful PR merge 2023-09-26 15:50:58 +00:00
NetBox-Bot
f16552b1ed Regenerate master slug list after successful PR merge 2023-09-26 15:47:00 +00:00
NetBox-Bot
dfe35c85b4 Regenerate master slug list after successful PR merge 2023-09-26 15:44:21 +00:00
NetBox-Bot
4c43d7fc6f Regenerate master slug list after successful PR merge 2023-09-26 14:32:53 +00:00
NetBox-Bot
8bcbf49ff2 Regenerate master slug list after successful PR merge 2023-09-26 13:22:48 +00:00
NetBox-Bot
e15d111269 Regenerate master slug list after successful PR merge 2023-09-26 13:02:57 +00:00
NetBox-Bot
834d70b30c Regenerate master slug list after successful PR merge 2023-09-26 13:00:43 +00:00
NetBox-Bot
354aae5db4 Regenerate master slug list after successful PR merge 2023-09-12 21:15:48 +00:00
NetBox-Bot
c13c372843 Regenerate master slug list after successful PR merge 2023-09-12 20:12:04 +00:00
NetBox-Bot
8926c8ac4f Regenerate master slug list after successful PR merge 2023-09-12 20:08:10 +00:00
NetBox-Bot
6b8d68195d Regenerate master slug list after successful PR merge 2023-09-06 23:35:47 +00:00
NetBox-Bot
04986966b2 Regenerate master slug list after successful PR merge 2023-09-06 21:31:07 +00:00
NetBox-Bot
9f7a5fec74 Regenerate master slug list after successful PR merge 2023-09-06 18:34:18 +00:00
NetBox-Bot
3eb16a39f2 Regenerate master slug list after successful PR merge 2023-09-06 18:32:23 +00:00
NetBox-Bot
b7778e2bae Regenerate master slug list after successful PR merge 2023-09-06 18:22:45 +00:00
NetBox-Bot
accb833ba6 Regenerate master slug list after successful PR merge 2023-09-06 18:15:26 +00: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
NetBox-Bot
e8960a0f50 Regenerate master slug list after successful PR merge 2023-09-06 15:35:04 +00:00
NetBox-Bot
41ee5e430b Regenerate master slug list after successful PR merge 2023-09-06 15:15:02 +00:00
NetBox-Bot
a9d1c72a90 Regenerate master slug list after successful PR merge 2023-09-06 14:42:13 +00:00
NetBox-Bot
3e1a3c04fd Regenerate master slug list after successful PR merge 2023-09-06 14:39:06 +00:00
NetBox-Bot
6189377017 Regenerate master slug list after successful PR merge 2023-09-06 14:30:40 +00:00
Daniel W. Anner
5345715d2f
Adding Panduit images from issue #1601 (#1606) 2023-09-06 10:29:33 -04:00
NetBox-Bot
c9de0a6aa5 Regenerate master slug list after successful PR merge 2023-09-05 19:53:37 +00:00
NetBox-Bot
ad600357bc Regenerate master slug list after successful PR merge 2023-09-05 19:40:36 +00:00
Daniel W. Anner
b25e45e1b7
Adding code to check if the all switch is called (#1603) 2023-09-05 15:39:21 -04:00
NetBox-Bot
7757967161 Regenerate master slug list after successful PR merge 2023-09-05 18:22:21 +00:00
NetBox-Bot
29053bdcc1 Regenerate master slug list after successful PR merge 2023-08-29 18:28:37 +00:00
NetBox-Bot
aff4bf40d4 Regenerate master slug list after successful PR merge 2023-08-29 18:27:17 +00:00
NetBox-Bot
2e950018c4 Regenerate master slug list after successful PR merge 2023-08-29 18:25:51 +00:00
NetBox-Bot
aed11b3f8a Regenerate master slug list after successful PR merge 2023-08-24 14:40:56 +00:00
NetBox-Bot
8cd2e2dde3 Regenerate master slug list after successful PR merge 2023-08-24 14:23:35 +00:00
NetBox-Bot
26a153a002 Regenerate master slug list after successful PR merge 2023-08-23 16:01:18 +00:00
NetBox-Bot
5b8fa56e73 Regenerate master slug list after successful PR merge 2023-08-23 15:39:28 +00:00
NetBox-Bot
3c6daa0a72 Regenerate master slug list after successful PR merge 2023-08-23 15:36:34 +00:00
NetBox-Bot
f4b18a9578 Regenerate master slug list after successful PR merge 2023-08-23 15:35:13 +00:00
NetBox-Bot
5c6d1ac7ce Regenerate master slug list after successful PR merge 2023-08-23 15:29:09 +00:00
NetBox-Bot
fa67c2335d Regenerate master slug list after successful PR merge 2023-08-23 15:27:46 +00:00
NetBox-Bot
d1938a8c3d Regenerate master slug list after successful PR merge 2023-08-23 15:24:26 +00:00
NetBox-Bot
9587027442 Regenerate master slug list after successful PR merge 2023-08-23 15:19:19 +00:00
NetBox-Bot
0ccebf6ecd Regenerate master slug list after successful PR merge 2023-08-23 15:11:59 +00:00
NetBox-Bot
2394533524 Regenerate master slug list after successful PR merge 2023-08-23 15:02:26 +00:00
NetBox-Bot
0219bca3d6 Regenerate master slug list after successful PR merge 2023-08-23 14:58:45 +00:00
NetBox-Bot
92d383ab5e Regenerate master slug list after successful PR merge 2023-08-23 14:55:20 +00:00
NetBox-Bot
eb22a33094 Regenerate master slug list after successful PR merge 2023-08-23 14:30:57 +00:00
NetBox-Bot
213e3a1715 Regenerate master slug list after successful PR merge 2023-08-23 14:29:39 +00:00
NetBox-Bot
e3dceb3411 Regenerate master slug list after successful PR merge 2023-08-23 14:24:12 +00:00
NetBox-Bot
a6a071625e Regenerate master slug list after successful PR merge 2023-08-23 14:06:43 +00:00
NetBox-Bot
bfbab40fde Regenerate master slug list after successful PR merge 2023-08-23 14:02:46 +00:00
NetBox-Bot
5d11ec65cc Regenerate master slug list after successful PR merge 2023-08-23 14:00:37 +00:00
NetBox-Bot
ce7eaadccc Regenerate master slug list after successful PR merge 2023-08-23 13:58:36 +00:00
NetBox-Bot
f9e81dea24 Regenerate master slug list after successful PR merge 2023-08-23 13:54:58 +00:00
NetBox-Bot
2be58176a0 Regenerate master slug list after successful PR merge 2023-08-15 20:49:10 +00:00
NetBox-Bot
08e83dec0a Regenerate master slug list after successful PR merge 2023-08-15 20:41:46 +00:00
NetBox-Bot
a9fb0cabbc Regenerate master slug list after successful PR merge 2023-08-15 20:37:57 +00:00
NetBox-Bot
dee6d33f9e Regenerate master slug list after successful PR merge 2023-08-15 20:04:47 +00:00
NetBox-Bot
d12f2f785f Regenerate master slug list after successful PR merge 2023-08-15 20:02:48 +00:00
NetBox-Bot
caf2613b4b Regenerate master slug list after successful PR merge 2023-08-15 15:54:07 +00:00
NetBox-Bot
ecbb49eba1 Regenerate master slug list after successful PR merge 2023-08-15 14:11:05 +00:00
NetBox-Bot
dd5f03d7dc Regenerate master slug list after successful PR merge 2023-08-15 13:35:43 +00:00
NetBox-Bot
d12b4194dc Regenerate master slug list after successful PR merge 2023-08-04 16:22:50 +00:00
NetBox-Bot
e017180635 Regenerate master slug list after successful PR merge 2023-08-04 16:14:14 +00:00
NetBox-Bot
2583eee0b8 Regenerate master slug list after successful PR merge 2023-08-04 16:07:28 +00:00
NetBox-Bot
fb2fb20cae Regenerate master slug list after successful PR merge 2023-08-04 16:04:57 +00:00
NetBox-Bot
cfc5e00c7b Regenerate master slug list after successful PR merge 2023-08-04 15:56:06 +00:00
NetBox-Bot
809a1a7f6a Regenerate master slug list after successful PR merge 2023-08-02 20:35:32 +00:00
NetBox-Bot
50f4cea0a5 Regenerate master slug list after successful PR merge 2023-08-02 19:13:50 +00:00
NetBox-Bot
2b4e3f9621 Regenerate master slug list after successful PR merge 2023-08-02 16:39:37 +00:00
NetBox-Bot
1f26abff57 Regenerate master slug list after successful PR merge 2023-08-02 13:42:03 +00:00
NetBox-Bot
25743aaad9 Regenerate master slug list after successful PR merge 2023-08-02 13:18:07 +00:00
NetBox-Bot
f70330b83d Regenerate master slug list after successful PR merge 2023-08-01 21:26:53 +00:00
NetBox-Bot
5a5aa13891 Regenerate master slug list after successful PR merge 2023-08-01 21:19:27 +00:00
NetBox-Bot
3075f7facd Regenerate master slug list after successful PR merge 2023-08-01 16:03:30 +00: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
NetBox-Bot
d191429457 Regenerate master slug list after successful PR merge 2023-08-01 15:47:02 +00:00
Daniel W. Anner
8eb68d6a19
Adding module file name checks as well (#1519) 2023-08-01 11:46:04 -04:00
NetBox-Bot
fb62460f06 Regenerate master slug list after successful PR merge 2023-08-01 14:04:11 +00:00
NetBox-Bot
e09965faf9 Regenerate master slug list after successful PR merge 2023-08-01 13:54:46 +00:00
NetBox-Bot
b5a75f9701 Regenerate master slug list after successful PR merge 2023-07-31 18:33:29 +00:00
NetBox-Bot
f63ca2f318 Regenerate master slug list after successful PR merge 2023-07-31 15:14:33 +00:00
NetBox-Bot
4abcb575f3 Regenerate master slug list after successful PR merge 2023-07-31 14:47:20 +00:00
NetBox-Bot
b1f7838057 Regenerate master slug list after successful PR merge 2023-07-31 14:26:07 +00:00
NetBox-Bot
4e2eec0315 Regenerate master slug list after successful PR merge 2023-07-31 14:18:05 +00:00
NetBox-Bot
dcc180fd5c Regenerate master slug list after successful PR merge 2023-07-31 14:02:59 +00:00
NetBox-Bot
1eec774b1a Regenerate master slug list after successful PR merge 2023-07-31 13:26:03 +00:00
NetBox-Bot
d80fe242eb Regenerate master slug list after successful PR merge 2023-07-31 01:13:43 +00:00
NetBox-Bot
d58ed2ad8c Regenerate master slug list after successful PR merge 2023-07-29 22:26:51 +00:00
NetBox-Bot
4cb589c532 Regenerate master slug list after successful PR merge 2023-07-27 21:08:16 +00:00
NetBox-Bot
ba44f6e1b5 Regenerate master slug list after successful PR merge 2023-07-27 20:57:28 +00:00
NetBox-Bot
848c6891b4 Regenerate master slug list after successful PR merge 2023-07-27 20:40:15 +00:00
NetBox-Bot
4224ab0fce Regenerate master slug list after successful PR merge 2023-07-27 20:00:43 +00:00
NetBox-Bot
374f1a67c3 Regenerate master slug list after successful PR merge 2023-07-27 18:23:31 +00:00
NetBox-Bot
5e7a3f5546 Regenerate master slug list after successful PR merge 2023-07-27 18:18:57 +00:00
NetBox-Bot
b1a5a60185 Regenerate master slug list after successful PR merge 2023-07-27 16:18:30 +00: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
NetBox-Bot
d8cfdc3747 Regenerate master slug list after successful PR merge 2023-07-27 15:55:08 +00:00
Daniel W. Anner
8da45ff037
Adding failure condition for pickle file (#1497) 2023-07-27 11:54:18 -04:00
NetBox-Bot
29dd8ed8b8 Regenerate master slug list after successful PR merge 2023-07-27 14:39:48 +00:00
NetBox-Bot
27ed7b1c76 Regenerate master slug list after successful PR merge 2023-07-27 13:54:05 +00:00
NetBox-Bot
bb840ba331 Regenerate master slug list after successful PR merge 2023-07-27 13:50:10 +00:00
NetBox-Bot
8880231860 Regenerate master slug list after successful PR merge 2023-07-27 13:32:10 +00:00
NetBox-Bot
b00df35530 Regenerate master slug list after successful PR merge 2023-07-27 13:14:51 +00:00
NetBox-Bot
01f251fc0e Regenerate master slug list after successful PR merge 2023-07-25 21:08:55 +00:00
NetBox-Bot
b6c7c2c6da Regenerate master slug list after successful PR merge 2023-07-25 20:56:44 +00:00
NetBox-Bot
034d6a5cc7 Regenerate master slug list after successful PR merge 2023-07-25 20:53:12 +00:00
NetBox-Bot
ccf66a7dcd Regenerate master slug list after successful PR merge 2023-07-25 19:22:32 +00:00
NetBox-Bot
efee8467e9 Regenerate master slug list after successful PR merge 2023-07-25 15:43:07 +00:00
NetBox-Bot
c36314b525 Regenerate master slug list after successful PR merge 2023-07-25 15:41:29 +00:00
NetBox-Bot
1fc6f9e1f1 Regenerate master slug list after successful PR merge 2023-07-20 15:15:35 +00:00
Daniel W. Anner
a5050ebe41
Update definitions_test.py 2023-07-20 11:14:30 -04:00
NetBox-Bot
679de8f491 Regenerate master slug list after successful PR merge 2023-07-20 15:04:27 +00:00
Daniel W. Anner
7b527f51ba
Update definitions_test.py
Fixed mistake - left testing code in
2023-07-20 11:03:34 -04:00
NetBox-Bot
6a7ad19f42 Regenerate master slug list after successful PR merge 2023-07-20 15:02:00 +00:00
Daniel W. Anner
1868743431
Update definitions_test.py
Resolved issue with renamed files
2023-07-20 11:01:08 -04:00
NetBox-Bot
318ef4d1ab Regenerate master slug list after successful PR merge 2023-07-20 12:12:49 +00:00
NetBox-Bot
2a75c54de2 Regenerate master slug list after successful PR merge 2023-07-20 11:21:07 +00:00
NetBox-Bot
cb320ce08b Regenerate master slug list after successful PR merge 2023-07-19 22:12:56 +00:00
NetBox-Bot
20cd3c2fcb Regenerate master slug list after successful PR merge 2023-07-19 18:01:20 +00:00
NetBox-Bot
a77cc020c1 Regenerate master slug list after successful PR merge 2023-07-19 17:52:35 +00:00
NetBox-Bot
81537c4253 Regenerate master slug list after successful PR merge 2023-07-19 17:48:31 +00:00
NetBox-Bot
55c233162b Regenerate master slug list after successful PR merge 2023-07-19 17:45:09 +00:00
NetBox-Bot
5a534fc0d1 Regenerate master slug list after successful PR merge 2023-07-19 17:41:22 +00:00
NetBox-Bot
3fe42d5aea Regenerate master slug list after successful PR merge 2023-07-19 17:28:15 +00:00
NetBox-Bot
243e1a44e4 Regenerate master slug list after successful PR merge 2023-07-19 17:20:19 +00:00
NetBox-Bot
826786deef Regenerate master slug list after successful PR merge 2023-07-19 17:18:14 +00:00
NetBox-Bot
190e13e22d Regenerate master slug list after successful PR merge 2023-07-19 16:55:05 +00:00
NetBox-Bot
b93971d0b1 Regenerate master slug list after successful PR merge 2023-07-19 16:42:05 +00:00
NetBox-Bot
98490c0cd0 Regenerate master slug list after successful PR merge 2023-07-19 16:32:08 +00: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
NetBox-Bot
989092073c Regenerate master slug list after successful PR merge 2023-07-19 15:07:21 +00: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
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
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
aurelienbyi
ad8ad1589e
directory separator appropriate for exec env (#1250)
Co-authored-by: aurelien.bailly <aurelien.bailly@destiny.eu>
2023-04-01 15:44:41 -04:00
J vanBemmel
3bf511ece6
Nokia add images new location (#1233)
* Re-add front/rear images following new location & filename conventions

* Renamed following exact match slug convention

* Debug test failing

* Different log msg

* More debug

* Filter on startswith(slug)

* Debug

* Quotes

* Updated filter

* Match on string part
2023-03-27 15:06:48 -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
Jonathan Senecal
1a4447a075
Fix float validation using decimal.Decimal (#1073)
* Fix float validation using decimal.Decimal

* Force string repr of the float when loading yaml

---------

Co-authored-by: Jonathan Senecal <jonathan.senecal@metrooptic.com>
2023-01-31 09:42:16 -05:00
Andrew Imeson
66c75604d6
Fix pre-commit and update CI (#875) 2022-08-10 22:29:59 -04:00
Michael Klose
d8ce2765c4
Extend tests to check for null/empty values (#687)
Fixes #686
2022-02-25 10:23:46 -05:00
jeremystretch
c1f6cecb21 Combine validation and duplication tests for efficiency 2022-02-18 14:47:13 -05:00
Jeremy Stretch
8ca95dacef
Module types (#659)
* Extend tests to support moule types

* Add Juniper EX9200-32XS module type

* Fix YAML formatting
2022-02-11 16:22:59 -05:00
Michael Klose
24a9875c29
Add missing types to schema.json (#637) 2022-01-27 20:20:23 -05:00
Kristin Davidson
5a494d0487
Update Ubiquiti USW-Aggregation and UDM-Pro (#622)
* Update Ubiquiti USW-Aggregation switch to 8 ports instead of 10
* Update UDM-Pro model name to be the full name, add part number, airflow, and make it not full-depth
* Include UniFi brand name in UDM-Pro model name
* Add airflow field to device type schema
2022-01-24 13:42:40 -05:00
David Mc Ken
ae0e7d6c6d
Add ubnt af 5xhd (#627)
* Create AF-5XHD.yml
* Added bridge to schema tests
2022-01-24 08:52:41 -05:00
Michael Klose
879be46758
Fix #616 Unknown properties are ignored during schema validation (#621)
* Fix Unknown properties are ignored during schema validation #616
* Fix misspelled properties in files
2022-01-06 13:37:24 -05:00
jeremystretch
14217f3be4 Closes #614: Add support for module bays and inventory items 2021-12-30 13:51:30 -05:00
jeremystretch
dfc7ba6df5 Closes #613: Add support for component labels 2021-12-30 13:41:40 -05:00
Michael Klose
fd6fc1f7bb
Rename optic type 128gfc-sfp28 to 128gfc-qsfp28 (#600) 2021-12-17 11:31:56 -05:00
Flo
5fe42cf3c9
Update schema.json (#562) 2021-11-13 13:29:18 -05:00
Flo
53173620c2
Update schema.json (#556) 2021-11-11 20:20:50 -05:00
Scott Crace
485027a3b5
Adding Dell PowerEdge MX7000 device type (#440)
* Adding Dell PowerEdge MX7000 device type
* Add c21/c22 to schema

Co-authored-by: Scott Crace <scrace@momentumbusiness.com>
2021-08-25 17:18:51 -04:00
Gauthier
0b814f2088
Ubiquiti er es usg (#384) 2021-05-11 16:10:54 -04:00
Ryan Merolle
7b303a5ace
YAML Formatting & Validation (#347)
* leverage yamllint in GitHub actions 

* add pre-commits

* validation updates

* Update README.md

* Update CONTRIBUTING.md
2021-02-27 07:25:47 -05:00
Ryan Merolle
b72a71d0e4
update scheema.json to match netbox choices (#300) 2020-12-31 09:34:29 -05:00
Daniel Sheppard
f9704f0736
Add duplicate component test 2020-11-24 13:10:31 -06:00
Daniel Sheppard
c9f6a02e4a
Update test_definitions.py 2020-11-24 12:25:06 -06:00
Daniel Sheppard
8db3fe1dcd
Update test_dupes.py 2020-11-24 12:22:23 -06:00
Nick Kuzmik
e5c4414f8a Per #175, check for duplicate devices. I am comparing slugs, and found a duplicate Generic device already. 2020-07-17 12:38:58 -04:00
Ryan Merolle
97f48ec440
update json schema to netbox-community/netbox#4784 (#167) 2020-07-05 13:30:25 -04:00
Ryan Merolle
4a8f433f88
Add NEMA L14 & L20 (#136)
Adds to validation / schema.json:
- NEMA L14-20P
- NEMA L14-30P
- NEMA L21-20P
- NEMA L21-30P
- NEMA L14-20R
- NEMA L14-30R
- NEMA L21-20R
- NEMA L21-30R
2020-05-20 11:39:06 -04:00
Jeremy Stretch
3370771aec Add MRJ21 port type (NetBox #4284) 2020-03-03 10:24:34 -05:00
Ken Partridge
915ce60c2a Added serial console_port type rj-11 for a POTS modem connection in console-port / tests/schema.json 2020-02-19 10:57:26 -08:00
ryanmerolle
5965a596ab California Style Connectors added 2020-01-03 14:43:57 -05:00
ryanmerolle
68cfb19287 schema update to handle rj12 serial on some PDUs 2020-01-03 13:35:51 -05:00
Jeremy Stretch
05fa6e535a Closes #26: Validate slug charset 2019-12-30 10:18:13 -05:00
Jeremy Stretch
1c98c069b8 Closes #27: Check that definition files end with a blank line 2019-12-30 10:11:25 -05:00
Jeremy Stretch
912b0187d7 Match all files but validate extensions 2019-12-26 15:36:28 -05:00
Jeremy Stretch
2365e49146 Add missing subdevice_role attribute to schema 2019-12-19 13:41:43 -05:00
Jeremy Stretch
4dcaf14b4e Change vendors/ to device-types/ 2019-12-19 13:23:05 -05:00
Jeremy Stretch
3e36dc4c4c Add a simple environment test for sanity checking 2019-12-19 11:14:33 -05:00
Jeremy Stretch
268d8cc43c Employ more elegant error reporting in tests 2019-12-19 11:08:51 -05:00
Jeremy Stretch
f15ec47c6c Introduced unit tests for definition files 2019-12-19 10:22:26 -05:00