CiscoDevNet / terraform-provider-mso

Terraform Cisco MSO provider
https://registry.terraform.io/providers/CiscoDevNet/mso/latest/docs
Mozilla Public License 2.0
10 stars 32 forks source link

Add support for Tenant Policy Templates (DCNE-66) #226

Open andbyrne opened 1 year ago

andbyrne commented 1 year ago

Community Note

Description

Add a resource and data source to manage tenant policy templates.

There are several objects that can be defined under a tenant policy template. Each of these will also require a corresponding resource and data source:

The priority would be the two DHCP policies as there is already support for referencing these in the mso_schema_template_bd resource and data source.

NDO version

References

https://www.cisco.com/c/en/us/td/docs/dcn/ndo/4x/configuration/cisco-nexus-dashboard-orchestrator-configuration-guide-aci-411/ndo-configuration-aci-managing-tenants-41x.html#task_zw1_gtl_ztb

lhercot commented 1 year ago

Hi @andbyrne ,

Thanks for opening this enhancement request.

FYI, the current API for the Tenant Policies does not allow us to modify single policies individually. We are working with the NDO API team to resolve this issue and will only be able to create dedicated resources once this is addressed.

asmith432 commented 4 months ago

Has there been any progress made on this? Is there a potential work around to call the REST API directly?

akinross commented 4 months ago

Hi @asmith432,

No progress has been made yet, apologies for the inconvenience. The mso_rest resource can be leveraged in case you would like to communicate directly to the REST api.

Kind regards,

Akini