* 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.
The Arista DCS-7368 is a fully modular chassis and the X4 is the switchcard
(ASIC) installed. Instead of having two devices which both are not 100% correct
combine them into one DCS-7368 fully module chassis.
Reflect the port configuration and interface naming according to the real
hardware.
Switch#show inventory
System information
Model Description
------------------------ ----------------------------------------------------
7368 7368 Chassis
HW Version Serial Number Mfg Date Epoch
----------- -------------- ---------- -----
11.01 yyyyyyyyyyy 2020-11-14 01.00
System has 10 card slots
Module Model HW Version Serial Number Mfg Date Epoch
----------------- ------------------ ---------------- ------------------- ---------------- -----
Supervisor1 7368-SUP 11.02 yyyyyyyyyyy 2020-09-10 01.00
Linecard2 7368-16C 11.01 yyyyyyyyyyy 2020-10-07 01.00
Linecard3 7368-16C 11.01 yyyyyyyyyyy 2020-10-08 01.00
Linecard4 7368-16C 12.00 yyyyyyyyyyy 2023-05-11 01.00
Linecard5 Not Inserted
Linecard6 Not Inserted
Linecard7 Not Inserted
Linecard8 Not Inserted
Linecard9 Not Inserted
Switchcard1 7368X4-SC 11.01 yyyyyyyyyyy 2020-11-04 01.00
System has 4 power supply slots
Slot Model Serial Number
---- ---------------- ----------------
1 PWR-1900AC-F yyyyyyyyyyy
2 PWR-1900AC-F yyyyyyyyyyy
3 PWR-1900AC-F yyyyyyyyyyy
4 PWR-1900AC-F yyyyyyyyyyy
System has 5 fan modules
Module Number of Fans Model Serial Number
------- --------------- ---------------- ----------------
1 1 FAN-7002H-F N/A
2 1 FAN-7002H-F N/A
3 1 FAN-7002H-F N/A
4 1 FAN-7002H-F N/A
5 1 FAN-7002H-F N/A
Co-authored-by: Christian Breunig <christian.breunig@rohde-schwarz.com>
* feat: two new Arista models
* fix: correct model, slug, part_number for DCS-7280CR3AM-24D12-F
* feat: add elevation images for 7280dr3a-54-f and 7280cr3am-24d12-f
* fix: correct rack units and weight
---------
Co-authored-by: Harry <Harry@cadby.co.uk>
* Add DCS-7358 series
* Split between -F and -R versions
Change to modular power bays
Add weight
* Fix power module filenames
* Fix module part numbers
---------
Co-authored-by: Daniel W. Anner <daniel.anner@danstechsupport.com>
* Add campus device elevations
* Add DC device elevations
* Delete jpg files in order to standardise on png
* Move images to correct directory
---------
Co-authored-by: Daniel W. Anner <daniel.anner@danstechsupport.com>
* Create WAN devices
* Add mgmt interfaces
* Remove unused parameter
* Linter
* Update PSU type to match schema
* Address feedback re weight, airflow, and PSUs
* Fix linting for new files
* Removing old template DCS-7280CR2-60
* DCS-7280SR-48YC6 does not exist, DCS-7280SR2-48YC6 does and has template
* Updating DCS-7280SRA-48C6(-M) which I missed in #1523
---------
Co-authored-by: Daniel W. Anner <daniel.anner@danstechsupport.com>
* Regenerate master slug list after successful PR merge
* Update DCS-7280CR3-32D4 with PSU modules
* Fix correct port layout for DCS-7280CR3-32D4
* Adding Arista PSUs
* Adding comment with url to datasheet
* Adding more devices from 7280CR3 family
* Fix my lint fail
* Fixing my second lint fail
* Fixing another silly fail!
* Fixes after review
* removing known-slugs
* Fix SKUs to align with airflow instead of generic
* fixing picke file
* another picke fix
---------
Co-authored-by: NetBox-Bot <info@netboxlabs.com>
Co-authored-by: Daniel W. Anner <daniel.anner@danstechsupport.com>
* Regenerate master slug list after successful PR merge
* Adding 100gbase-x-dsfp (DSFP) & 100gbase-x-sfpdd (SFP-DD)
* Adding Arista 7050X4 family switches
* for some reason old picke file is in this PR also..
* Fix typo in modelname
* fix interfaces
* fixing conflicts
---------
Co-authored-by: NetBox-Bot <info@netboxlabs.com>