11-09-2017 01:24 PM
Do you need to set the restart interval using the wapi or does it use the configured interval that is defined on the gui when doing service restarts? I believe the default for the wapi is 10 seconds but we have it defined for a minute for our grid via the gui. I'd like to keep it simple if possible and not update the interval via the api if I don't have to.
Solved! Go to Solution.
11-09-2017 01:37 PM
The WAPI should use the GUI-defined restart interval but you can run these two commands to make sure:
curl -k1 -u admin:infoblox -H "Content-Type: application/json" -X GET https://10.60.27.4/wapi/v2.7/grid:dns?_return_fields=restart_setting curl -k1 -u admin:infoblox -H "Content-Type: application/json" -X GET https://10.60.27.4/wapi/v2.7/grid:dhcpproperties?_return_fields=restart_setting
11-09-2017 01:42 PM
Senior Network Engineer, Telecommunications & Network Services
Northwestern Information Technology
2001 Sheridan Rd
Evanston, IL 60208