Skip to content
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions plugins/module_utils/netbox_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@
"dcim.poweroutlet": "power_outlets",
"dcim.powerport": "power_ports",
"dcim.rearport": "rear_ports",
"default_platform": "platforms",
"device": "devices",
"device_role": "device_roles",
"device_type": "device_types",
Expand Down
7 changes: 7 additions & 0 deletions plugins/modules/netbox_device_type.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,12 @@
- Comments that may include additional information in regards to the device_type
required: false
type: str
default_platform:
description:
- Set the default platform used by the device
required: false
type: raw
version_added: "3.15.0"
tags:
description:
- Any tags that the device type may need to be associated with
Expand Down Expand Up @@ -237,6 +243,7 @@ def main():
),
description=dict(required=False, type="str"),
comments=dict(required=False, type="str"),
default_platform=dict(required=False, type="raw"),
tags=dict(required=False, type="list", elements="raw"),
custom_fields=dict(required=False, type="dict"),
),
Expand Down