Commit Graph

101 Commits

Author SHA1 Message Date
Sydney
c12e63efbe Add APC/SMT1500RMI1U.yaml (#3419)
* Add APC/SMT1500RMI1U.yaml

Add missing APC UPS model SMT1500RMI1U (https://www.se.com/uk/en/product/SMT1500RMI1U/apc-smartups-line-interactive-1500va-rackmount-1u-230v-4x-iec-c13-outlets-smartslot-avr-lcd/)

* Update SMT1500RMI1U.yaml add weight

added weight and weight_unit as requested

* Update SMT1500RMI1U.yaml

---------

Co-authored-by: Harry <Harry@cadby.co.uk>
2025-08-14 11:39:31 +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
kprklg
10df8997be APC BX750MI-GR (#3314)
* APC BX750MI-GR

* APC BX750MI-GR

* APC BX750MI-GR

* APC BX750MI-GR

* APC BX750MI-GR

* APC BX750MI-GR

* APC BX750MI-GR

* APC BX750MI-GR

* APC BX750MI-GR

* APC BX750MI-GR

* APC BX750MI-GR

* APC BX750MI-GR

* Update BX750MI-GR.yaml

Fixed issues and cleanup

* Update BX750MI-GR.yaml

---------

Co-authored-by: Harry <Harry@cadby.co.uk>
2025-07-21 15:15:48 +01:00
Pablo Gamarra
5ce786a910 Add APC, Cisco and Aruba devices (#3276)
* Add APC-SRTG6KLI

* Update SRTG6KXLI.yaml

* Add devices

Add files to the device-types directory for the following devices:
- HPE Aruba 1830 24G 2SFP
- Cisco CBS220-24T-4G
- APC SRTG6KXLI-NCLI

* Fix model name of Aruba 1830 24G 2SFP

* Fix format

* Apply yamlfmt formatting to YAML files

---------

Co-authored-by: Harry <Harry@cadby.co.uk>
2025-06-30 09:47:59 +01:00
Karl Q.
41ae7f8d32 Add the nema5-15 version of APC 7900 (#3283)
And update the definition for airflow/weight

Co-authored-by: Karl Quinsland <contact@kquinsland.com>
Co-authored-by: Harry <Harry@cadby.co.uk>
2025-06-29 18:36:23 +01:00
Aaron Axvig
d60a23c5d2 Add APC PDUs (#3236)
* Add AP6000-series NetShelter basic rack PDUs

* Add APC AP6020A PDU

* Add APC AP9500 series basic PDUs

---------

Co-authored-by: Harry <Harry@cadby.co.uk>
2025-06-26 22:37:09 +01:00
Karl Q.
362249dde6 Add the SMX1500RM2UNC UPS and expansion battery (#3250)
* Add the `SMX1500RM2UNC` UPS and expansion battery

Similar to an existing UPS model (outlets are the primary differentiation?) and the expansion battery that is common to this entire generation / family of UPS

* test/fix - use the correct gender for incoming power vs outgoing

In my defense, I was very tired at the time.

* bug - update SMX1500RM2UNC with weight/airflow

Addresses: https://github.com/netbox-community/devicetype-library/pull/3250#discussion_r2151459349

* bug - update weight/ariflow for SMX48RMBP2U

Adresses: https://github.com/netbox-community/devicetype-library/pull/3250#discussion_r2151459460

* fix - `s/back/rear/g`

_sigh_

---------

Co-authored-by: Karl Quinsland <contact@kquinsland.com>
2025-06-18 08:40:47 +01:00
Karl Q.
57e7f1a8ac Feat - Add the NA3 variant of popular ap8959 PDU (#3251)
* Feat - Add the `NA3` variant of popular `ap8959` PDU

US/nema-5-15 version of `ap8959`

* nit/lint fix

All hail the linter!

* nit - add airflow / weight

Addresses/Resolves: https://github.com/netbox-community/devicetype-library/pull/3251#discussion_r2148827624

---------

Co-authored-by: Karl Quinsland <contact@kquinsland.com>
2025-06-16 09:32:31 +01:00
Bastian Leicht
0025508b28 Add missing Devices (#3176)
* feat: add HPE OfficeConnect 1820-24G

* feat: add HPE OfficeConnect 1820-8G

* feat: add HPE OfficeConnect 1820-8G-PoE-65W

* feat: add HPE OfficeConnect 1820-24G-PoE-185W

* feat: add HPE OfficeConnect 1820-48G-PoE-370W

* fix: change poe type

* fix: remove space from filename

* feat: add OfficeConnect 1820-8G image

* feat: add OfficeConnect 1820-8G-PoE-65W image

* fix: change poe port amount

* feat: add OfficeConnect 1820-24G image

* feat: add OfficeConnect 1820-24G-PoE-185W image

* feat: add OfficeConnect 1820-48G image

* feat: add OfficeConnect 1820-48G-PoE-370W image

* feat: add Cisco CBS250-8T-D

* feat: add Cisco CBS250-8PP-D

* fix: remove whitespace from image

* feat: add Cisco CBS250-8T-E-2G image

* fix: fix incorrect usb port

* fix: fix incorrect poe type

* refactor: add missing airflow property

* fix: change poe_mode

* fix: change poe_type

* feat: add APC SC420I

* refactor: add isdn passthrough

* feat: add Silex DS-510

* feat: add Silex DS-600

* fix: remove front_image & fix weight

* fix: remove front_image & fix weight

* feat: add Silex DS-700

* feat: add Silex DS-700AC

* feat: add Silex SD-300

* feat: add Silex SD-300AC

* feat: add Silex SD-330AC-1402

* feat: add Silex DS-520AN

* Fixed issues

---------

Co-authored-by: Harry <harry@cadby.co.uk>
2025-05-23 13:17:58 +01:00
KonsolentieR
0e6ad0111e Create SMT1000RMI2UC.yaml (#3154)
Add SMT1000RMI2UC to library.
See datasheet at:
https://www.se.com/de/de/product/SMT1000RMI2UC/apc-smartups-line-interactive-1000va-rackmontage-2he-230v-4-iec-c13stecker-smartconnect-port+smartslot-avr-lcd/
2025-05-19 12:44:34 +01:00
rajivvishwa
beaea1b72b Apc bx1500m (#3109)
* Create BX1500M.yaml

* Update BX1500M.yaml

Updated missing )
2025-05-07 09:27:58 +01:00
David Noble
4179fccd8a fix: outlet-type correction (#3038)
Co-authored-by: Harry <Harry@cadby.co.uk>
2025-04-25 11:37:02 +01:00
pmsharp2
e369ba0077 Adding APC AP8632 (#3040)
* Adding APC AP8632

* Update AP8632.yaml

added extra data

---------

Co-authored-by: Peter Sharp <peter.sharp@viasat.com>
Co-authored-by: Harry <Harry@cadby.co.uk>
2025-04-25 11:25:20 +01:00
Aaron Axvig
dac24bd0b6 Add APC AP4452 (#2952) 2025-03-19 20:57:03 +00:00
Bastian Leicht
582ac2d98c Add Devices (#2946)
* feat: add Cisco CBS350-8P-2G

* feat: add Netgear ProSafe GS510TPP

* feat: add FS MFMC-12DP

* refactor: add ModuleBay

* refactor: add ModuleBay

* feat: add HPE OfficeConnect 1920S-8G

* Update OfficeConnect-1920S-8G.yml

added poe powered interface

* Update MFMC-12DP.yml

* Update CBS350-8P-2G.yaml

added extra detail and removed virtual interfaces

---------

Co-authored-by: Harry <Harry@cadby.co.uk>
2025-03-14 21:18:10 +00:00
Juniper46
e9eabb4cd4 Added and update a few APC PDUs (#2897)
* Added R720 PSU

Added 750w and 1100w psus for R720

* Update AP8953.yaml

added extra detail

* Create APDU9953.yaml

* Update APDU9953.yaml

fix issue

---------

Co-authored-by: Harry <Harry@cadby.co.uk>
2025-03-04 10:18:44 +00:00
Peter Sarossy
f23401af72 Add APC AP7840 (#2895)
* Add APC AP7840

* Update AP7840.yaml

added extra detail

---------

Co-authored-by: Harry <Harry@cadby.co.uk>
2025-03-03 22:08:41 +00:00
Aaron Axvig
a82934ca5a Add APC ATSs (#2672)
* Add remaining current generation APC ATSs

* Added airflow for various ATSs

---------

Co-authored-by: Harry <Harry@cadby.co.uk>
2025-01-24 08:48:17 +00:00
Aaron Axvig
3e1883f8a9 APC interface and module bay fixes (#2671)
* There is no ethernet on the device itself

* Set SmartSlot module bay positions

* Fix quotes

* Fix more interface and SmartSlot values
2025-01-23 07:48:54 +00:00
Aaron Axvig
d71c4b2a68 Add APC ATSs and one UPS (#2655)
* Add SMT2200RM2UNC

* Add AP4433A

* Add AP4433

* Add images for future use

* Fix slug caps

---------

Co-authored-by: Harry <Harry@cadby.co.uk>
2025-01-21 08:37:16 +00:00
Cautious-Software701
98cb1cd781 Add APC AP7950B and image (#2630)
* Add APC AP7950B and image

* Fix errors

* Update AP7950B.yaml

Fixed issues

* Update AP7950B.yaml

* Fixed cropping on image

---------

Co-authored-by: John Doe <johndoe@example.au>
Co-authored-by: Harry <Harry@cadby.co.uk>
2025-01-14 10:20:49 +00:00
raven
c6471a4d14 APC ap8858 (#2627)
* add AP8853

* fix model name

* split comment and description

* fix link in comment

* wrap comment in qoutes

---------

Co-authored-by: Giotta Simon <simon.giotta@ruag.ch>
2025-01-10 15:09:46 +00:00
Aaron Axvig
853cbaefdd Add APC AP7898 and fix AP7868 (#2598)
* Add AP7898

* Fix AP7868 feed legs

---------

Co-authored-by: Harry <Harry@cadby.co.uk>
2025-01-03 09:50:59 +00:00
Aaron Axvig
762e0708e0 Add SMX3000RMLV2U (#2532)
* Add SMX3000RMLV2U

* Add images

* Fix file name

* Update SMX3000RMLV2U.yaml

Network interface is part of the management card not the chassis

---------

Co-authored-by: Harry <Harry@cadby.co.uk>
2024-11-28 08:06:07 +00:00
David Siebörger
9abecec20f Add APC basic zero-U rack PDUs AP7551, AP9568, AP9572 (#2515)
Co-authored-by: Harry <Harry@cadby.co.uk>
2024-11-21 21:58:57 +00:00
Bastian Leicht
ca97e341ef Add APC SMT1500RMI2UC (#2434)
* Add APC SMT1500RMI2UC

* Add APC SMT3000RMI2UC Images

* Add APC SMT1500RMI2UC weight

* Fix image names

---------

Co-authored-by: Daniel W. Anner <daniel.anner@danstechsupport.com>
2024-10-29 13:03:25 -04:00
iriseden
2a33050f45 Adding Intel Card, Dell PowerEdge R220 and Extreme Networks x460 48p/t (#2119)
* Adding X520-DA2 CNA Card

* Adding Dell PowerEdge R220 Server

* Adding Extreme Networks x460 48p/t

* pre hook validation

* newline dans revert change

* removing useless

* not full depth

* Update PowerEdge-R220.yml

* Update and rename summit-x460-48p.yml to X460-48p.yml

* Update and rename summit-x460-48t.yml to X460-48t.yml

* Update PowerEdge-R220.yml

* Delete device-types/APC/AP8941.yaml

* Update PowerEdge-R220.yml

---------

Co-authored-by: Adrien Chabod <adrien.chabod@iriseden.fr>
Co-authored-by: Daniel W. Anner <daniel.anner@danstechsupport.com>
Co-authored-by: Harry <Harry@cadby.co.uk>
2024-10-25 15:44:06 +01:00
Joseph Ishak
360a9153b8 Moved the AP yaml files to the correct directory. They should have been in device-types/APC and not the root directory (#2405) 2024-10-24 08:00:58 +01:00
Alexander Rose
9e1f99ee81 Add APC SRT2200RMXLI-NC and SRT72RMBP (#2197)
* add APC SRT2200RMXLI-NC and SRT72RMBP
2024-06-21 16:34:09 -04:00
James Valente
6d402c7172 Add APC AP7868 PDU (#2140)
* Add AP7868.yml

* Fix misplaced maximum_wattage

---------

Co-authored-by: Daniel W. Anner <daniel.anner@danstechsupport.com>
2024-05-18 13:48:42 -04:00
irrwitzer42
fda45d1671 Added some APC units, a Mikrotik CHR and Allied Telesis devices (#1977)
* Try to fix this device type

* Added
    Mikrotik CHR
    Allied Telesis AT-GS948MPX

* Corrected GS948
Added GS970M, x210-24GT, x550-18XSQ, XS916MXS

* Fixed syntax errors

* Fixed Model definition of poe less 948MX

* added allied-telesis-xs916mxt

* Fixed SMT3000RMI2UC and added SMT3000RMI2U

* Added 	apc-smt3000rmi2u

* added SMT3000RMI2UNC

* Added SMT1500RMI2UNC and fixed SMT2200RMI2UNC

* Updated

* Added SMX1500RMI2U

* Added SMX3000RMHV2UNC

* Added apc-srt1500uxi-ncli

* Added apc-srt3000uxi-ncli
Fixed apc-srt1500uxi-ncli

* added SRT1000UXI-NCLI
added SRT1500RMXLI-NC

* Fixed missing newline at end of file

* Fixed GS970M-28PS.yaml

* Fixed the yamlfmt errors...

* Added Module AT-XEM2-12XS

* removed changes

---------

Co-authored-by: Johannes Jakob <jjj@3js.de>
Co-authored-by: Daniel W. Anner <daniel.anner@danstechsupport.com>
2024-04-03 15:36:12 -04:00
Chabert Loïc
78a0da1744 Add APC 4423,4424 and minor changes on 7921 (#1950)
* Add APC 4423,4424 and minor changes on 7921

* Typo fix with iec-60309-2p-e-6h

---------

Co-authored-by: loic.chabert <loic.chabert@jaguar-network.com>
2024-03-07 09:55:19 -06:00
GreyChame1eon
84b3aa84bd Add a few APC UPS devices (#1805)
* Add a few APC UPS devices

* Add a few APC devices

* Add a few APC UPS devices

* Add a few APC UPS devices

* Add a few APC UPS devices

* Add a few APC UPS devices

* Add a few APC UPS devices

* Add a few APC UPS devices
2024-01-04 15:31:25 -05:00
Boian Berberov
b7d86141de Added APC AP8881 and AP8888 PDUs (#1691)
* Added APC AP8881 and AP8888 PDUs

* Fixed `interfaces` typo

* Fixed more typos in outlet numbering

* Commented out `description`

* Moved "CAN In" to `console-server-ports`
2023-11-20 12:15:24 -05:00
pierrickj
96b7daa980 Create AP8653.yaml (#1747)
* Create AP8653.yaml

* Update AP8653.yaml

* Update AP8653.yaml

* Update AP8653.yaml

* Update AP8653.yaml

Added weight per datasheet

---------

Co-authored-by: Daniel W. Anner <daniel.anner@danstechsupport.com>
2023-11-20 11:15:20 -05:00
adam-leggett
3e87d04d5f Create AP8841.yaml (#1770)
* Create AP8841.yaml

* Update AP8841.yaml

Adding weight and airflow data points from the products datasheet

---------

Co-authored-by: Daniel W. Anner <daniel.anner@danstechsupport.com>
2023-11-20 10:13:24 -05:00
Ioma Taani
feeca5aa30 fix: typo in "battery" (#1630)
Co-authored-by: Daniel W. Anner <daniel.anner@danstechsupport.com>
2023-09-26 12:41:11 -04:00
Daniel W. Anner
d0cb58d96e Adding Tests: Device Power (#1463)
* 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.
2023-07-17 15:23:56 -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
Joe Nichols
7b7546f27e add apc-ap7516 and apc-ap7526 device types (#1400)
* add apc-ap7516 device type

* add airflow, weight, weight_unit

* add AP7526

* fix AP7516 comment to match APC product title

* correct earth pin location
2023-07-12 10:32:43 -04:00
dar72
b7f89db990 APC PDUs (#1452)
- AP4421
- AP7850
- AP7853
- AP7921
- AP7951
- AP7953
- AP7954
2023-07-12 09:10:17 -04:00
Daniel W. Anner
a1284a34c0 Filename fixes (#1378)
* Migrating files with underscores to dashes

* fixing file names
2023-05-22 18:15:06 -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
David U
84cc7e8769 Add APC SMT750I (#1271)
Co-authored-by: Daniel W. Anner <daniel.anner@danstechsupport.com>
2023-04-11 12:17:04 -04:00
David U
c346058625 Add APC SMT750IC (#1272)
* Add APC SMT750IC

* Remove quotes of interface name
2023-04-11 12:12:49 -04:00
David U
07cc0752be Add APC SMT1000I (#1273)
* Add APC SMT1000I

* Remove image lines
2023-04-11 12:04:11 -04:00
David U
2adad98677 Add APC SMT2200I (#1274) 2023-04-11 11:57:22 -04:00
David U
f28db3679c Add APC SMC1500I (#1238)
* Add APC SMC1500I

* Fix trailing spaces

* Delete apc-smc1500i.rear.png

* Delete apc-smc1500i.front.png

* Update SMC1500I.yaml
2023-04-01 15:53:26 -04:00
David U
b1834f4f6e Add APC BR1500GI (#1239)
* Add APC BR1500GI

* Remove trailing spaces

* Change to console-port type rj-45

* Fix duplicate entry

* Update BR1500GI.yaml

* Delete apc-br1500gi.rear.png

* Delete apc-br1500gi.front.png
2023-04-01 15:50:41 -04:00
Daniel W. Anner
1ddaab3951 Tests: Remove uppercase from slug (#1227)
* Removed uppercase from devicetype schema slug definition. Fixed incorrect device slugs

* Update CISCO2951_K9.yaml

* Rename CISCO2951_K9.yaml to 2951-K9.yaml
2023-03-25 11:45:15 -04:00