Skip to content

[Feature]: support role in devices #1485

@lalgarvi-te

Description

@lalgarvi-te

NetBox version

v3.7.0

Feature type

Change to existing Module

Proposed functionality

The netbox_device module in netbox-community/ansible_modules is not currently supporting the role field.

The device_role field was renamed/migrated to role for devices in netbox-community/netbox 3.6.0.
https://github.com/netbox-community/netbox/releases/tag/v3.6.0
Support for device_role field was kept though for those running older netbox-community/netbox releases and also the current and past netbox-community/ansible_modules releases.

Then device_role field was entirely removed for devices in netbox-community/netbox 4.0.0.
https://github.com/netbox-community/netbox/releases/tag/v4.0.0

The netbox_device module in netbox-community/ansible_modules in my opinion should support both fields (role and device_role) and eventually drop device_role in the next major release.

Use case

Because role field in devices is currently not supported, netbox-community/netbox 4.0.0 is also not fully supported.

External dependencies

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions