* Disable additional properties for components
It is not a global option, it needs to be set per-definition.
Enabling it produces a lot of validation errors.
* Update json schema
Add missing fields and value constraints. The `rf_role` enum is
currently not included in the `generated_schema.json` from upstream,
so I "faked" it for now by added it manually.
* Rework custom power source marker
While you could technically have a device that does PoE and serial
console on the same port, this is just one very specific scenario.
Rename the custom property from `poe` to `_is_power_source` to be more
general and better reflect its intention, and properly document it in
the json schema.
Remove the property from device types where it is false, and where it's
unneeded because power-ports exist.
* Fix power draw
In NetBox the PSU modules have a power draw, but not the module-bays you
can put them into; so remove it from those. Plus some minor corrections.
* Fix PoE
Basically fix the casing by renaming from the wrong kebab-case to the
correct snake_case.
* Turn invalid comments into description
Only device types can have `comments`, everything else is limited to
`description`. So turn all invalid comments into descriptions.
* Fix mgmt_only
Console port in NetBox don't have a `mgmt_only` property, because they
are by definition management-only.
* Fix position(s)
Device bays don't have a position, because the child devices are
completely separate and don't share any naming/numbering.
* Miscellaneous fixes
Everything that didn't fit into the prior larger error categories.
Validation now passes again.
* added netgate 1537 config
* added device bays and part number
* added empty line at the end of yaml
* rename file to contain double '-' char
* change slug name to include double '-'
* use module bay instead of device bay and add supermicro aoc sgp i4 module
* remove quotes
* add position attribute
* subdevice role no longer needed
* rj45 should be interface port with mgmt only flag
* Update and rename 1537-pfsense-plus--security-gateway.yaml to 1537-Security-Gateway.yaml
---------
Co-authored-by: Rene Steen <steen.rene@indivumed.com>
Co-authored-by: Harry <Harry@cadby.co.uk>
* Add device type Fortinet FG-401F
* Changet interface name and type according to documentation
---------
Co-authored-by: Arne Opdal <arne.opdal@netnordic.com>
* Added Meraki MS150 switches
* Update Meraki-MS150-24MP-4X.yaml
To correct a typo for port type on port 19
* Added weight units for MS150 switches
---------
Co-authored-by: Harry <Harry@cadby.co.uk>
* renmae S2995G-24FX to S2995G-24FX-UPS (modification with UPS)
* cosmetic fixes for S2995G-24FX-UPS; add SNR S2995G-24FX, S2989G-48TX-POE
* add SNR S2995G models with AC power
* fix slug for SNR S2995G-24TX-POE
---------
Co-authored-by: Harry <Harry@cadby.co.uk>
* rename revision 2 of CCR1016-12S-1S+
* separate two revisions of CCR1016-12S-1S+; add airflow for CCR1036-8G-2S+EM
* MikroTik CCR1016-12S-1S+ - add weight and images; hide usb power outlet to comment
* add weight; hide usb to comments
* rever hide usb to comments
---------
Co-authored-by: Harry <Harry@cadby.co.uk>
* Add `asus-pro-ws-x570-ace`
Modeled as a "child" with module-bays. If i'm understanding the concept right, a case (with a module-bay for a MB and PSU) would be the parent.
* fix yaml quote format
<type>: $summary
Ticket: ABC-1234
Problem:
Solution:
Testing:
---------
Co-authored-by: Karl Quinsland <contact@kquinsland.com>
Co-authored-by: Harry <Harry@cadby.co.uk>
* feat add supermicro `MBD-X10SRH-CF` and `CSE-847BE1C-R1K23LPB`
Chassis comes with images
* fix - nit/fmt/lint
All hail the `autofmt` :D
---------
Co-authored-by: Karl Quinsland <contact@kquinsland.com>
Co-authored-by: Harry <Harry@cadby.co.uk>