Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #864 - add device bay label support to device_bay module. #868

Merged
merged 1 commit into from
Nov 8, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion plugins/modules/netbox_device_bay.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,14 @@
type: str
installed_device:
description:
- The ddevice that will be installed into the bay. The device type must be "child".
- The device that will be installed into the bay. The device type must be "child".
required: false
type: raw
label:
description:
- Label for the device bay
required: false
type: str
tags:
description:
- Any tags that the device bay may need to be associated with
Expand Down Expand Up @@ -132,6 +137,7 @@ def main():
name=dict(required=True, type="str"),
description=dict(required=False, type="str"),
installed_device=dict(required=False, type="raw"),
label=dict(required=False, type="str"),
tags=dict(required=False, type="list", elements="raw"),
),
),
Expand Down