Commit Graph

99 Commits

Author SHA1 Message Date
m-hau
9e6cf8d017 Enforce component properties (#3391)
* 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.
2025-08-08 22:10:01 +01:00
m-hau
5d900ec8fb Cisco Nexus 7700 device and module types (#3321)
Co-authored-by: Harry <Harry@cadby.co.uk>
2025-08-04 14:14:06 +01:00
Ryazanov Alexander Mihailovich
5844eb4e2d feat: add Cisco power supply modules (#3203)
* feat: add Cisco C9K-PWR-1600WAC-R power supply module

* refactor: add comments to Cisco C9K-PWR-650WAC-R power supply module

* feat: add Cisco C9K-PWR-930WDC-R power supply module

* fix: unexpected mapping in C9K-PWR-1600WAC-R.yaml

* fix: unexpected mapping in C9K-PWR-650WAC-R.yaml

* fix: unexpected mapping in C9K-PWR-930WDC-R.yaml

* feat: add Cisco C9K-PWR-1600WDC-R power supply module

* feat: add Cisco C9K-PWR-1500WAC power supply module
2025-05-27 21:31:38 +01:00
narendt2
78187264e1 Create Module Cisco C9400-LC-48H (#3186)
* Create Module Cisco C9400-LC-48H

* missed a 0

* fix PoE mode
2025-05-26 21:30:32 +01:00
segachan
cc9a2c70a4 Add Cisco ASR9k device types and compatible module types. (#3116)
* Add Cisco ASR9k device types and compatible module types.

Cisco ASR9922, ASR9912, ASR9010 device type, and Modules.

* Update A9K-8T-L.yaml

* Update A9K-4X100GE.yaml

* Update A9K-4T-L.yaml

* Update A9K-16X100GE-TR.yaml

* Fix: Updated interfaces for Cisco A9K-2T20GE-L module.

* Update A99-4HG-FLEX-TR.yaml

fixed port type

---------

Co-authored-by: Harry <Harry@cadby.co.uk>
2025-05-13 11:04:33 +01:00
segachan
763143840a Add Cisco 8818 device type and compatible module types. (#3108)
Co-authored-by: Harry <Harry@cadby.co.uk>
2025-05-07 11:16:22 +01:00
segachan
a177af8b3d Add Cisco NCS6008 device type and compatible module types (#3103)
* Add Cisco NCS6008 device type and compatible module types

* Adjusted crop

---------

Co-authored-by: Your GitHub Username <your-email@example.com>
Co-authored-by: Harry <Harry@cadby.co.uk>
2025-05-06 11:47:50 +01:00
fknorn
3d02448e50 Added module NIM-ES2-4 (#3099)
Co-authored-by: Florian Knorn <fknorn@cisco.com>
2025-05-05 21:09:31 +01:00
fknorn
599102b662 Added Cisco C-NIM-1X module (#3098)
Co-authored-by: Florian Knorn <fknorn@cisco.com>
2025-05-05 21:04:51 +01:00
Sebastian
8773c40eae Add cisco 9400 linecard type 'LC-48P' (#3049)
* Add cisco 9400 linecard type 'LC-48P'

* Fix poe type

* Fix typo in filename

---------

Co-authored-by: Sebastian Reifetshammer <sebastian.reifetshammer@fh-salzburg.ac.at>
2025-04-29 14:58:45 +01:00
lucatortiglione
79dbe54067 Fixes and adds of Cisco devices (#3035)
* Update A9K-MPA-20X1GE.yaml

* Update A9K-MPA-20X1GE.yaml

Fix ports from 0 - 20 to 0-19

* Update ASR-9006.yaml

Added some informations weight and airflow

* Fixes and adds
2025-04-23 15:38:34 +01:00
Martin Hauser
b681a0f022 feat(modules): Add PoE info to two Cisco Cat 9400 LC (#3024)
Add `poe_mode: pse` and `poe_type: type4-ieee802.3bt` to C9400-LC-48U
and C9400-LC-48UX line card definitions to accurately reflect their PoE
capabilities and ensure consistency across the Cisco Catalyst 9400
Series modules.

Co-authored-by: Harry <Harry@cadby.co.uk>
2025-04-18 21:03:45 +01:00
Martin Hauser
8976e633e4 feat(modules): Add new Cisco Catalyst 9400 Series modules (#3021)
Add support for the following Cisco Catalyst 9400 Series modules:
- C9400-LC-48HN
- C9400-LC-48HX
- C9400X-SUP-2
- C9400X-SUP-2XL
- C9404-FAN
- C9407-FAN
- C9410-FAN

These modules include supervisor engines, line cards, and fan trays,
enhancing coverage of the Catalyst 9400 Series in the device type library.
2025-04-18 20:58:31 +01:00
Martin Hauser
af703df9d3 feat(modules): Add weight to Cisco Catalyst 9400 modules (#3020)
Add weight data to Cisco Catalyst 9400 Series modules. Also split
existing comment into `description` and `comments` fields to improve
clarity and maintain consistency with other module entries.
2025-04-16 14:03:28 +01:00
demik
65788ea9fd fix N9K-X9788TC-FX linecard with 10gbase-t ports (#2935) 2025-03-11 16:09:36 +00:00
M. Herdiansyah
008da0f915 Cisco: Modify C6807-XL and add 2 different modules (#2875)
* Cisco C6807-XL: Add module slots

* Cisco: add WS-X6904-40G

* Cisco: Add VS-S2T-10G
2025-02-25 21:41:17 +00:00
Paul Hobbs
435ba28fae Add module types for Cisco UCS-X 9508 chassis (#2873)
* Add module types for Cisco UCS-X 9508 chassis

* Add module types for Cisco UCS-X 9508 chassis

* Add module types for Cisco UCS-X 9508 chassis
2025-02-24 21:48:54 +00:00
Walday
acf53cd4ec Create ME34X-PWR-AC.yaml (#2806) 2025-02-18 07:56:46 +00:00
mitdfn
31b8a9ad98 Add Cisco N77-F312CK-26 (#2741)
* Add Cisco N77-F312CK-26 Nexus 12 port 100g line card

Co-authored-by: Harry <Harry@cadby.co.uk>
2025-02-10 15:34:54 +00:00
antoine.vicot
793f195ac2 add N9K-modules (#2667)
Signed-off-by: Antoine Vicot <antoine.vicot@ovhcloud.com>
2025-01-22 14:35:32 +00:00
fknorn
1eaea9c48e Added UCSC-PSU1-1200W (#2637)
Co-authored-by: fknorn <fknorn@cisco.com>
2025-01-16 11:58:37 +00:00
Jaco du Plessis
1590c63e98 Cisco module updates (#2602)
* Updates for Cisco EHWICs

* Fixed file formatting

* Fixed linting problems

* Rename VWIC2-1MFT-T1_E1.jpg to VWIC2-1MFT-T1-E1.jpg

Moved file inline with others

---------

Co-authored-by: Jaco du Plessis <507425+jaco1982@users.noreply.github.com>
Co-authored-by: Harry <Harry@cadby.co.uk>
2025-01-03 14:53:11 +00:00
fknorn
42469fc2d5 Added module NXA-PAC-1200W-PI and bugfix in slug of device N3K-C3064PQ-10GE (#2506)
Co-authored-by: fknorn <fknorn@cisco.com>
Co-authored-by: Harry <Harry@cadby.co.uk>
2024-11-15 21:39:58 +00:00
raven
961b0b2a62 Replace all non-ascii characters in the repository. (#2460)
* remove (r)

* remove (tm)

* replace all dashes with ascii -

* replace double quotes

* Replace another type of dash

* replace multiply by x

* replace a third type of dash

* remaining substitutions by hand

* fix line lenght

---------

Co-authored-by: Giotta Simon <simon.giotta@ruag.ch>
Co-authored-by: Harry <Harry@cadby.co.uk>
2024-11-05 21:14:04 +00:00
fknorn
267e894219 Added three Cisco N7K Modules (#2446)
Co-authored-by: fknorn <fknorn@cisco.com>
2024-10-31 21:12:01 +00:00
fknorn
7602e92a03 Added Cisco C7009 switch plus supervisor module (all checks passed) (#2445)
* Added Cisco C7009 switch plus supervisor module

* Update N7K-C7009.yaml

Added some extra info

---------

Co-authored-by: fknorn <fknorn@cisco.com>
Co-authored-by: Harry <Harry@cadby.co.uk>
2024-10-31 15:37:10 +00:00
Bastian Triller
7a1903699f Cisco: Add modules, update M5/6 (#2247)
* Cisco: Add modules, update M5/6

* Add Cisco UCS VICs 1400/14000/15000 [1] [2]
* Add Cisco M5/6 RAID controllers
* Update PCIe/mRAID/mLOM positions

[1] https://www.cisco.com/c/en/us/products/collateral/interfaces-modules/unified-computing-system-adapters/datasheet-c78-741130.html
[2] https://www.cisco.com/c/en/us/products/collateral/interfaces-modules/unified-computing-system-adapters/ucs-vic-15000-series-ds.html

* Remove storage/RAID controllers

---------

Co-authored-by: Harry <Harry@cadby.co.uk>
2024-10-26 21:41:16 +01:00
Mathieu Arnold
1a639cd16a A9K-24X10GE-TR: add module line card (#2231)
Co-authored-by: Harry <Harry@cadby.co.uk>
2024-10-25 14:35:53 +01:00
fknorn
5cffed1493 Added module Cisco NIM-24A (#2410)
Co-authored-by: fknorn <fknorn@cisco.com>
2024-10-24 13:12:47 +01:00
fknorn
f22925ca6b Added module C-SM-40P8M2X (#2411)
Co-authored-by: fknorn <fknorn@cisco.com>
2024-10-24 12:27:08 +01:00
fknorn
df69f93387 Update adding mgmt interface, serial port and extra infos (#2409)
Co-authored-by: fknorn <fknorn@cisco.com>
2024-10-24 11:11:03 +01:00
fknorn
5d9dcd7a13 Added Module N77-M324FQ-25L (#2408)
Co-authored-by: fknorn <fknorn@cisco.com>
2024-10-24 11:09:09 +01:00
fknorn
c00f4ca6c3 Added Cisco N77-M312CQ-26L line card (#2402)
Co-authored-by: fknorn <fknorn@cisco.com>
2024-10-23 21:36:14 +01:00
Michael Maldonado
3a34c89edb Create N55-M16P module used in Nexus switches (#2392)
* Added N55-M16P module used in Nexus 5548UP Switch

* Update N55-M16P.yaml

Update with '---' for yaml syntax

* Update N55-M16P.yaml

Adjusted indent to 2

* Update N55-M16P.yaml

Adjusted Indent
2024-10-19 09:43:29 +01:00
Mathieu Arnold
848ac7baa4 A9K-RSP440-SE: add {module} so components are unique (#2230) 2024-10-13 13:29:59 +01:00
Mathieu Arnold
0d6de68d9b PWR-3KW-AC-V2: add 3kw power supply for asr-9k (#2232)
* PWR-3KW-AC-V2: add 3kw power supply

* Update PWR-3KW-AC-V2.yaml

added link to datasheet

---------

Co-authored-by: Harry <Harry@cadby.co.uk>
2024-10-12 22:34:31 +01:00
Ümit Seren
665196776e Remove duplicate entry (#2311)
There is already a N2200-PAC-400W-B.yaml which has more information.
The duplicate entry causes an error when importing the module-types
2024-08-22 11:55:54 -04:00
Nefti
157827fb1e Added / Modified Cisco Nexus switches and modules (#2196)
* Added / Modified Cisco Nexus switches and modules
2024-06-21 16:51:34 -04:00
ido don
f01502cd58 added the weight of NIM-16A (#2168) 2024-06-21 16:31:16 -04:00
ch
74d4e8454c Module type: C9300X-NM-8M correct part no (#2142)
Co-authored-by: Daniel W. Anner <daniel.anner@danstechsupport.com>
2024-05-18 13:52:55 -04:00
antoine.vicot
fd0bf96cd5 Dev/avicot/add ncs 5508 (#2047)
* add chassis

* add NC55-24X100G-SE

* add NC55-36X100G-A-SE

* add

* fix

Signed-off-by: Antoine Vicot <antoine.vicot@ovhcloud.com>

* fix

Signed-off-by: Antoine Vicot <antoine.vicot@ovhcloud.com>

* fix+pre commit

Signed-off-by: Antoine Vicot <antoine.vicot@ovhcloud.com>

* add 5508 picture

Signed-off-by: Antoine Vicot <antoine.vicot@ovhcloud.com>

* add NC55-RP-E

Signed-off-by: Antoine Vicot <antoine.vicot@ovhcloud.com>

* update NC55-RP/(2)-E

Signed-off-by: Antoine Vicot <antoine.vicot@ovhcloud.com>

* add chassis

* add NC55-24X100G-SE

* add NC55-36X100G-A-SE

* add

* fix

Signed-off-by: Antoine Vicot <antoine.vicot@ovhcloud.com>

* fix

Signed-off-by: Antoine Vicot <antoine.vicot@ovhcloud.com>

* fix+pre commit

Signed-off-by: Antoine Vicot <antoine.vicot@ovhcloud.com>

* add 5508 picture

Signed-off-by: Antoine Vicot <antoine.vicot@ovhcloud.com>

* add NC55-RP-E

Signed-off-by: Antoine Vicot <antoine.vicot@ovhcloud.com>

* update NC55-RP/(2)-E

Signed-off-by: Antoine Vicot <antoine.vicot@ovhcloud.com>

* add aidflow & weight

Signed-off-by: Antoine Vicot <antoine.vicot@ovhcloud.com>

---------

Signed-off-by: Antoine Vicot <antoine.vicot@ovhcloud.com>
2024-04-04 14:45:58 -04:00
Chabert Loïc
b5f3a878c6 CISCO ASR1001-x modular power and SPA (#1946)
* Modify ASR1001-x slot and add weight params

* Add 10G SPA 1001-x LC and move PW to bays

* Fix missing blank lines

* Moving power bays positions to string

* Use quote instead of double-quotes

---------

Co-authored-by: loic.chabert <loic.chabert@jaguar-network.com>
2024-03-07 09:56:15 -06:00
Chabert Loïc
33aab350fa Update Cisco ASR9000 and add modules bays (#1951)
* Update Cisco ASR9000 and add modules bays

* Add missing ---

---------

Co-authored-by: loic.chabert <loic.chabert@jaguar-network.com>
2024-03-07 09:54:32 -06:00
Chabert Loïc
73c0f1bfe5 Add support for Cisco NCS57B1-6D24-SYS (#1954)
* Add support for Cisco NCS57B1-6D24-SYS

* Remove duplicated FanTray 2

* Add plateform NCS-57B1-5DSE-SYS

---------

Co-authored-by: loic.chabert <loic.chabert@jaguar-network.com>
2024-03-07 09:49:34 -06:00
Chabert Loïc
66c37b9ec1 Cisco Nexus datacenter fabric - Multiple adjustement (#1960)
Co-authored-by: loic.chabert <loic.chabert@jaguar-network.com>
2024-03-07 09:48:08 -06:00
kbrown900
4eb6beb304 Added Cisco meraki ms410-16 and MA-FAN's (#1963)
* Added Cisco Meraki Fan Modules

* Added device-types/Cisco/Meraki-MS410-16.yaml

* Update Meraki-MS410-16.yaml

* Update Meraki-MS410-16.yaml
2024-03-07 09:46:16 -06:00
Chabert Loïc
86469c08a3 Adjust module bays for power supply and fan tray (#1958)
* Adjust module bays for power supply and fan tray

* Wrap module var with single quotes

---------

Co-authored-by: loic.chabert <loic.chabert@jaguar-network.com>
2024-03-07 09:45:05 -06:00
Steffen Schumacher
0204ebeab0 More cisco models - new and old (#1777)
* More cisco models - new and old

* Add Virtual C9800 VM

* Fix slug convention and since its a VM its not powered

* Add weights, C8300 module bays and C8300 PSUs

* remove the C9800-CL cloud VM type

* Fix hardwired -> dc terminal

---------

Co-authored-by: stsmr <stsmr@vestas.com>
2024-01-23 09:43:03 -05:00
Abhimanyu Saharan
a22b677b86 added cisco module types (#1829) 2024-01-04 14:09:14 -05:00
abu-rehan
7b56fec291 add cisco power supply modules (#1792)
* add cisco power supply modules

* correct port type
2023-12-11 10:42:20 -05:00