Improve documentation for module bay positions (and remove a spurious position) (#1587)

* Remove spurious "position"

* Improve documentation for module bay positions

* Fix documentaiton incorrect string used for automatic component renaming
This commit is contained in:
pv2b 2023-08-29 20:26:17 +02:00 committed by GitHub
parent 2e950018c4
commit 5e82986194
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 3 deletions

View File

@ -168,7 +168,7 @@ The available fields for each type of component are listed below.
- `name`: Name
- `label`: Label
- `position`: The module bay's position within the parent device
- `position`: The alphanumeric position in which this module bay is situated within the parent device. When creating module components, the string `{module}` in the component name will be replaced with the module bay's `position`. See the [NetBox Documentation](https://docs.netbox.dev/en/stable/models/dcim/moduletype/#automatic-component-renaming) for more details.
#### Device Bays

View File

@ -16,9 +16,7 @@ device-bays:
- name: Disk 8
module-bays:
- name: Slot 1
position: rear
- name: Slot 2
position: rear
comments: '[TS-873 | Hardware Specs | QNAP](https://www.qnap.com/en-me/product/ts-873/specs/hardware)'
power-ports:
- name: PSU