Commit Graph

18 Commits

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