Commit graph

8 commits

Author SHA1 Message Date
b922dbda22
refactor: remove device_role_source field
- Removed DeviceRoleSource field from Device struct and DeviceResourceModel
- Updated device_role description to reflect default value "other"
- Device role is now optional and defaults to "other" if not specified
- Cleaned up all CRUD operations to remove device_role_source handling

All device types are now manually selected with "other" as default.
2026-03-22 11:20:04 -05:00
80e800baf4
feat: add device_role and device_role_source fields to device resource
- Add device_role field to Device struct in client
- Add device_role and device_role_source to DeviceResourceModel
- Add schema attributes for device_role (optional/computed) and device_role_source (computed)
- Handle device_role in Create, Read, and Update operations
- Valid device_role values: server, switch, router, access_point, backhaul, other
- device_role_source automatically set to 'manual' by API when device_role is provided
2026-03-22 11:06:14 -05:00
12206c16fe
make snmp opt-in for terraform provider devices
change snmp_enabled default from true to false so devices like
resolver1 that only need ping/dns don't trigger unnecessary snmp
discovery. skip sending snmp_version/snmp_port to the api when
snmp_enabled is false.
2026-03-17 11:13:07 -05:00
84bd97c120
Adding a device without an org id now works 2026-02-06 13:37:05 -06:00
4cdb96e189
feat: add site-less devices and SNMPv3 support
- Make site_id optional, add organization_id field
- Devices can be created without sites (directly in organization)
- Add SNMPv3 authentication and privacy fields
- Update documentation with new examples
2026-02-04 15:07:09 -06:00
233be61d3e
allow creating entities when they dont exist 2026-01-29 12:34:58 -06:00
3a970ac852
Name for devices is now optional 2026-01-26 13:36:06 -06:00
8fed566e22
init 2026-01-26 11:02:26 -06:00