* 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>
* 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>
* 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.
* 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
* 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
* Fix float validation using decimal.Decimal
* Force string repr of the float when loading yaml
---------
Co-authored-by: Jonathan Senecal <jonathan.senecal@metrooptic.com>
* 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
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