mirror of
https://github.com/netbox-community/devicetype-library.git
synced 2024-11-07 09:04:35 +01:00
c95b166139
* 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
78 lines
1.6 KiB
YAML
78 lines
1.6 KiB
YAML
---
|
|
manufacturer: Generic
|
|
model: TEST-1000
|
|
slug: generic-test-1000
|
|
u_height: 2
|
|
subdevice_role: parent
|
|
console-ports:
|
|
- name: Console Port 1
|
|
type: de-9
|
|
- name: Console Port 2
|
|
type: de-9
|
|
- name: Console Port 3
|
|
type: de-9
|
|
console-server-ports:
|
|
- name: Console Server Port 1
|
|
type: rj-45
|
|
- name: Console Server Port 2
|
|
type: rj-45
|
|
- name: Console Server Port 3
|
|
type: rj-45
|
|
power-ports:
|
|
- name: Power Port 1
|
|
type: iec-60320-c14
|
|
- name: Power Port 2
|
|
type: iec-60320-c14
|
|
- name: Power Port 3
|
|
type: iec-60320-c14
|
|
power-outlets:
|
|
- name: Power Outlet 1
|
|
type: iec-60320-c13
|
|
power_port: Power Port 1
|
|
feed_leg: A
|
|
- name: Power Outlet 2
|
|
type: iec-60320-c13
|
|
power_port: Power Port 1
|
|
feed_leg: A
|
|
- name: Power Outlet 3
|
|
type: iec-60320-c13
|
|
power_port: Power Port 1
|
|
feed_leg: A
|
|
interfaces:
|
|
- name: Interface 1
|
|
type: 1000base-t
|
|
mgmt_only: true
|
|
- name: Interface 2
|
|
type: 1000base-t
|
|
- name: Interface 3
|
|
type: 1000base-t
|
|
rear-ports:
|
|
- name: Rear Port 1
|
|
type: 8p8c
|
|
- name: Rear Port 2
|
|
type: 8p8c
|
|
- name: Rear Port 3
|
|
type: 8p8c
|
|
front-ports:
|
|
- name: Front Port 1
|
|
type: 8p8c
|
|
rear_port: Rear Port 1
|
|
- name: Front Port 2
|
|
type: 8p8c
|
|
rear_port: Rear Port 2
|
|
- name: Front Port 3
|
|
type: 8p8c
|
|
rear_port: Rear Port 3
|
|
module-bays:
|
|
- name: Module Bay 1
|
|
- name: Module Bay 2
|
|
- name: Module Bay 3
|
|
device-bays:
|
|
- name: Device Bay 1
|
|
- name: Device Bay 2
|
|
- name: Device Bay 3
|
|
inventory-items:
|
|
- name: Inventory Item 1
|
|
- name: Inventory Item 2
|
|
- name: Inventory Item 3
|