Skip to content

Commit e41fe62

Browse files
authored
Add device bay label support to device_bay module. (#868)
1 parent 1f15f7e commit e41fe62

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

plugins/modules/netbox_device_bay.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,14 @@
4545
type: str
4646
installed_device:
4747
description:
48-
- The ddevice that will be installed into the bay. The device type must be "child".
48+
- The device that will be installed into the bay. The device type must be "child".
4949
required: false
5050
type: raw
51+
label:
52+
description:
53+
- Label for the device bay
54+
required: false
55+
type: str
5156
tags:
5257
description:
5358
- Any tags that the device bay may need to be associated with
@@ -132,6 +137,7 @@ def main():
132137
name=dict(required=True, type="str"),
133138
description=dict(required=False, type="str"),
134139
installed_device=dict(required=False, type="raw"),
140+
label=dict(required=False, type="str"),
135141
tags=dict(required=False, type="list", elements="raw"),
136142
),
137143
),

0 commit comments

Comments
 (0)