Hello everybody,
I pulled my cluster's dns configuration into a text file using the rest_info module. I would like to be able to make changes to this saved configuration and push it back to the cluster. Whats the best way to do this?
rest_info gives me a list of objects of the following form:
- attempts: ...
domains:
- ...
- ...
dynamic_dns:
enabled: ...
time_to_live: ...
use_secure: ...
scope: svm
servers:
- ...
- ...
svm:
name: ...
uuid: ...
timeout: 2
uuid: ...
I tried experimenting with na_ontap_restit module, providing the objects that rest_info gave me as a body to POST or PATCH request, but that fails saying that the fields cannot be set in this operation.