ansible-collections / netapp.ontap

Ansible collection to support NetApp ONTAP configuration.
https://galaxy.ansible.com/netapp/ontap
GNU General Public License v3.0
51 stars 34 forks source link

service policy allowed-addresses #165

Closed Sandromuc closed 11 months ago

Sandromuc commented 12 months ago

Summary

We need to configure allowed addresses for service policy but module defaults to 0.0.0.0/0

Component Name

netapp.ontap.na_ontap_service_policy

Additional Information

network interface service-policy add-service -vserver <vserver name> -policy <service policy name> -service management-https -allowed-addresses <IP Address of the DSP>/32, <IP Address of the Collector>/32

carchi8py commented 11 months ago

Currently, the rest API does not support the allowed-addresses attribute and will default this to 0.0.0.0/0

You'll need to reach out to the rest API (https://devnet.netapp.com/restapi.php) on adding support for this.