Commit Graph

11 Commits

Author SHA1 Message Date
leonardoefel
10638d700f add datacom modelos (#3383)
* Add Datacom device models and enterprise switches to device-types library

* add new devices

* Delete device-types/Datacom/DM1305E -48GT+4XS.yaml

* Update DM1105E-24GP+4XS.yaml

* Update DM1105E-24GT+4GX.yaml

* Update DM1205E-24GT+4XS.yaml

* Update DM1205E-24GP+4XS.yaml

* Update DM1105E-48GP+6XS.yaml

* Update DM1105E-48GT+6XS.yaml

* Update DM1205E-48GP+4XS.yaml

* Update DM1205E-48GT+4XS.yaml

* Update DM1305E-24GT+4XS.yaml

* Update DM1305E-48GT+4XS.yaml

* Update DM1205E-48GP+4XS.yaml

* Update DM1105E-24GP+4XS.yaml

* Update DM1105E-24GT+4GX.yaml

* Update DM1105E-48GP+6XS.yaml

* Update DM1105E-48GT+6XS.yaml

* Update DM1205E-24GP+4XS.yaml

* Update DM1205E-24GT+4XS.yaml

* Update DM1205E-48GP+4XS.yaml

* Update DM1205E-48GT+4XS.yaml

* Update DM1305E-24GT+4XS.yaml

* Update DM1305E-48GT+4XS.yaml

* Update DM1105E-48GT+6XS.yaml

* Update DM1305E-48GT+4XS.yaml

* Update DM1105E-24GP+4XS.yaml

* Update DM1105E-24GT+4GX.yaml

* Update DM1105E-48GP+6XS.yaml

* Update DM1105E-48GT+6XS.yaml

* Update DM1205E-24GP+4XS.yaml

* Update DM1205E-24GT+4XS.yaml

* Update DM1205E-48GP+4XS.yaml

* Update DM1205E-48GT+4XS.yaml

* Update DM1305E-24GT+4XS.yaml

* Update DM1305E-48GT+4XS.yaml

* Rename DM1105E-24GP+4XS.yaml to dm1105e-24gp-plus-4xs.yaml

* Rename DM1105E-24GT+4GX.yaml to dm1105e-24gt-plus-4gx.yaml

* Rename DM1105E-48GT+6XS.yaml to dm1105e-48gt-plus-6xs.yaml

* Rename DM1105E-48GP+6XS.yaml to m1105e-48gp-plus-6xs.yaml

* Rename DM1205E-24GP+4XS.yaml to dm1205e-24gp-plus-4xs.yaml

* Rename DM1205E-24GT+4XS.yaml to dm1205e-24gt-plus-4xs.yaml

* Rename DM1205E-48GP+4XS.yaml to dm1205e-48gp-plus-4xs.yaml

* Rename DM1205E-48GT+4XS.yaml to dm1205e-48gt-plus-4xs.yaml

* Rename DM1305E-24GT+4XS.yaml to dm1305e-24gt-plus-4xs.yaml

* Rename DM1305E-48GT+4XS.yaml to dm1305e-48gt-plus-4xs.yaml

* Rename m1105e-48gp-plus-6xs.yaml to dm1105e-48gp-plus-6xs.yaml

* Update dm1205e-48gp-plus-4xs.yaml

* Update dm1205e-48gp-plus-4xs.yaml

* Update dm1205e-48gp-plus-4xs.yaml

* Update and rename dm1105e-24gp-plus-4xs.yaml to DM1105E-24GP-PLUS-4XS.yaml

* Update and rename dm1105e-24gt-plus-4gx.yaml to DM1105E-24GT-PLUS-4GX.yaml

* Update and rename dm1105e-48gp-plus-6xs.yaml to DM1105E-48GP-PLUS-6XS.yaml

* Update and rename dm1105e-48gt-plus-6xs.yaml to DM1105E-48GT-PLUS-6XS.yaml

* Rename dm1205e-24gp-plus-4xs.yaml to DM1205E-24GP-PLUS-4XS.yaml

* Rename dm1205e-24gt-plus-4xs.yaml to DM1205E-24GT-PLUS-4XS.yaml

* Update and rename dm1205e-48gp-plus-4xs.yaml to DM1205E-48GP-PLUS-4XS.yaml

* Update and rename dm1205e-48gt-plus-4xs.yaml to DM1205E-48GT-PLUS-4XS.yaml

* Update and rename dm1305e-24gt-plus-4xs.yaml to DM1305E-24GT-PLUS-4XS.yaml

* Update and rename dm1305e-48gt-plus-4xs.yaml to DM1305E-48GT-PLUS-4XS.yaml

* Update DM1105E-24GT-PLUS-4GX.yaml

* Update DM1105E-24GP-PLUS-4XS.yaml

---------

Co-authored-by: Harry <Harry@cadby.co.uk>
2025-08-12 15:14:18 +01:00
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
kaio Guilherme
fa32812e31 add Datacom DM2100 EDD series (#2503)
* fix yaml to x150-series

* Revert "fix yaml to x150-series"

This reverts commit 542cb9a4b36683f3c10e82562362893c15c252ff.

* add Datacom DM2100 series

add Datacom DM2100 series

 * DM2104-2GX
 * DM2104-4GX
 * DM2104G2 EDD

* Fix ports types

---------

Co-authored-by: Harry <Harry@cadby.co.uk>
2024-11-15 11:21:42 +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
rtm516
3426d1f836 Add Datacom VS-1124-F (#1889)
* Add Datacom VS-1124-F

* Fix weight unit

* Fix filename

* Add airflow

---------

Co-authored-by: Daniel W. Anner <daniel.anner@danstechsupport.com>
2024-04-04 10:28:15 -04:00
leoefellopes
23d0153b50 Adding Datacom equipment (#2026)
* Adding Datacom equipment

* Correcting datacom equipment

* Update DM4360-4GT-plus-4GX.yaml

* Update DM4370-4GT-plus-4GX-plus-4XS.yaml

* Update DM4380-12XS-plus-3CX.yaml

* Update DM4770-32CX.yaml

---------

Co-authored-by: Daniel W. Anner <daniel.anner@danstechsupport.com>
2024-04-03 14:16:59 -04:00
rogeriomendesp
be4f76083f Adding Datacom equipment (#1513)
* Adding Datacom equipment

* Update DM4050-24GT-6XS.yaml

* Update DM4050-24GT-6XS.yaml

* Update DM4050-24GT-6XS.yaml

* Update

* update Datacom

* Update

---------

Co-authored-by: Daniel W. Anner <daniel.anner@danstechsupport.com>
2023-08-01 17:26:01 -04:00
Daniel W. Anner
c95b166139 Implementing Test Updates (Slugs & File Names) (#1454)
* 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
2023-07-12 20:00:44 -04:00
Daniel W. Anner
7ab7852a3b Slug Migration (#1375)
* 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
2023-05-22 16:38:34 -04:00
Daniel W. Anner
7fd91b05e8 Format fixes (#1081) 2023-02-01 15:20:15 -05:00
rogeriomendesp
72897d57b8 Adding equipment from the manufacturer DATACOM. (#1072)
* Adding equipment from the manufacturer DATACOM.

* adjusted.

* adjusted.

* adjusted file syntax.

* adjusted code syntax.

* adjusted code syntax.

* adjusted code syntax.

* adjusted code syntax.

* Update DM4610-OLT-4GPON+4GX+2XS.yaml

Fixed slug name to match part name
Fixed comment to adhear to pre-commit
removed unnessecary interface definitions

* Update FAN_OLT-DM4610.yaml

Fixed comment formatting

* Update PSU-120-AC_OLT-DM4610.yaml

Fixed comment formatting

* Update PSU-120-DC_OLT-DM4610.yaml

Fixed comment formatting

* Update DM4610-OLT-4GPON+4GX+2XS.yaml

Reverted change to the slug

* changed as requested.

* Ajusted.

* Adjusted.

---------

Co-authored-by: Rogerio Pereira <rogerio.pereira@datacom.com.br>
Co-authored-by: Daniel W. Anner <daniel.anner@danstechsupport.com>
2023-01-31 15:55:21 -05:00