Skip to content

Commit 8540c86

Browse files
authored
netbox_device_interface: Add custom_fields option (#514)
1 parent 9c0b725 commit 8540c86

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

plugins/modules/netbox_device_interface.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,11 @@
129129
- Mark an interface as connected without a cable attached (netbox >= 2.11 required)
130130
required: false
131131
type: bool
132+
custom_fields:
133+
description:
134+
- must exist in Netbox
135+
required: false
136+
type: dict
132137
required: true
133138
type: dict
134139
update_vc_child:
@@ -303,6 +308,7 @@ def main():
303308
tagged_vlans=dict(required=False, type="raw"),
304309
tags=dict(required=False, type="list"),
305310
mark_connected=dict(required=False, type="bool"),
311+
custom_fields=dict(required=False, type="dict"),
306312
),
307313
),
308314
)

0 commit comments

Comments
 (0)