netascode / terraform-provider-fmc

Mozilla Public License 2.0
2 stars 7 forks source link

Add `fmc_device_vtep` resource and data source #80

Closed danischm closed 2 weeks ago

danischm commented 1 month ago

API: /api/fmc_config/v1/domain/{domainUUID}/devices/devicerecords/{containerUUID}/vteppolicies

jabielecki commented 1 month ago

I've noticed the API /vteppolicies is designed to support in future many VTEPs per device. The same is true for 7.2.5 WebUI. I'd keep that design constraint in provider as well.

Thus, I'd name it fmc_device_vtep_policy instead of fmc_device_vtep if you have no objection. The fmc_device_vtep_policy.example.vtep_entries will be constrained to hold max 1 min 0 elements for now.

danischm commented 1 month ago

sounds good