Skip to content

Commit 3044434

Browse files
authored
Add device to netbox_virtual_machine (#849)
1 parent 99d0961 commit 3044434

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

plugins/modules/netbox_virtual_machine.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,11 @@
8484
- Disk of the virtual machine (GB)
8585
required: false
8686
type: int
87+
device:
88+
description:
89+
- The device the virtual machine is pinned to in the cluster
90+
required: false
91+
type: raw
8792
status:
8893
description:
8994
- The status of the virtual machine
@@ -205,6 +210,7 @@ def main():
205210
primary_ip6=dict(required=False, type="raw"),
206211
memory=dict(required=False, type="int"),
207212
disk=dict(required=False, type="int"),
213+
device=dict(required=False, type="raw"),
208214
status=dict(required=False, type="raw"),
209215
tags=dict(required=False, type="list", elements="raw"),
210216
custom_fields=dict(required=False, type="dict"),

0 commit comments

Comments
 (0)