* 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.
* Update components.json
Added position as a required field for modules
* Added positions to module-bays
* Fixed more devices
---------
Co-authored-by: Daniel W. Anner <daniel.anner@danstechsupport.com>
* Update the module bays for the Dell R230 to include its PCI-E slots.
* Update PowerEdge-R230.yml
minor adjustment
---------
Co-authored-by: Harry <Harry@cadby.co.uk>
Corrected device config because "device-bays" actually should've been "module-bays", and removed manually specified interfaces that may not actually exist based on the modules that are installed.
Co-authored-by: Harry <Harry@cadby.co.uk>
* Add maximum_draw, notes about combo ports for PowerConnect 6224, 6248
* Add PowerConnect 62xxP, 6224F
* Add PowerSwitch N15xx, N15xxP
* Add PowerSwitch N2024, N20xxP
* Add images for PowerSwitch N2048
* Add PowerSwitch N4032, N4032F and two uplink modules
* Set airflow for PowerSwitch N1500, N2000 series
* Set front_image, rear_image for PowerSwitch N2048
* Add front image for Dell PowerSwitch N1548
* Update PowerSwitch-N4032.yaml
Convert power ports to PSUs as they are hot swappable
* Update PowerSwitch-N4032F.yaml
Convert power ports to PSUs as they are hot swappable
---------
Co-authored-by: Harry <Harry@cadby.co.uk>
* Added Dell PowerSwitch N3248P-ON and S4128F-ON
* Added Sophos XGS 126 and 136
* Added Sophos AP6-420E, APX320 and APX530
* Added Fritzbox 7510
* fixed duplicate device type naming
* Removed non-existing LAN Ports
* Moved Power-Ports to seperate module, Add type and mode to POE ports
* Add module-type definition and image for Dell 1150W hot swap psu
* [DELL S4128F-ON] changed power-ports to module-bay and added module-type for psu
* added missing newlines
* Adding Ericsson Private 5G Kit
* Renaming Baseband6631 to B6631
* Ensuring compliance with pre-comit checks
* Update VEP4600.yml
Converted power ports to module bays
---------
Co-authored-by: Harry <Harry@cadby.co.uk>
* Add files via upload
* Add 3 new devicetypes
Dell Powerscale A3000
HPe Alletra 6000
HPe DL360-gen11
* Update Alletra-6000.yaml
weight was defined with a "," instead of "."
* Update Alletra-6000.yaml
* Update PowerEdge-R750xs.yaml
added some extra detail
---------
Co-authored-by: Andreas Langseth <andreas.langseth@nrk.no>
Co-authored-by: Harry <Harry@cadby.co.uk>
* Adding new Dell PowerConnect 5548p device
* Add usb console port and change type other console port to RJ-45
---------
Co-authored-by: Jean-Sébastien Frerot <js.frerot@imeka.ca>
* Created Dell PowerEdge T630
Created Dell PowerEdge T630
* Update PowerEdge-T630.yaml
Changed Power ports to Module bays as this has removable PSUs
---------
Co-authored-by: Harry <Harry@cadby.co.uk>
* 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!
* Definitions
* photos VXrail 560 660
* trailing spaces and LF
* new-line-at-end-of-file
* fix filename
* fix filename again
* fix model name
* Fix image name
* Update VxRail-E560.yaml
Removing VGA. VGA is not a console port type.
* Update VxRail-E660.yaml
Removing VGA. VGA is not a console port type.
---------
Co-authored-by: Daniel W. Anner <daniel.anner@danstechsupport.com>
* Initial commit of yaml file to add Dell PowerConnect 3548p switch to device types
* Add blank line at end of file
- Add a blank line per the contribution guidelines: "End each definition file with a blank line."
* Revert "Add blank line at end of file"
This reverts commit 0e578a27d08745bc5f01b62cc79f57985e3b35a7.
* Update power ports
- Change "Power" to PS1
- Add redundant power supply
* Add part number to Dell PowerConnect 3548p
* Add airflow direction to Dell PowerConnect 3548p
* Add weight to Dell PowerConnect 3548p
* Set is_full_depth to true
* 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
* 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
* Removed mgmt_only: false, removed extra newlines
* Testing a fix for the multipleOf issue using info in https://github.com/python-jsonschema/jsonschema/issues/1039
* Revert "Testing a fix for the multipleOf issue using info in https://github.com/python-jsonschema/jsonschema/issues/1039"
This reverts commit ea7edcc62e737b8044237162ca178e3520ce8fc8.
* removing device-types/Dell/Unity_XT_DAE.yaml - there are multiple different models of these disk array enclosures. with the possible addition of storage management we need the actual part/models rather than a generalized item
* Renamed Dell PowerSwitches to have the proper name
Added data sheet/spec sheet links when available
* Added data sheet links to comment
* Update NX3240 to match proper name
Standardized slug
* Standardized names and slugs
Added spec sheets where available