Hello all,
We have developed a script that automates the creation of a cluster without human intervention based on ZAPIs.
We would like to migrate this script to REST/API, however before launching the cluster creation, we need to retrieve the LLDP information from ONTAP to configure our network equipment.
The API returns this error:
{ "error": { "message": "Only POST/OPTIONS on /api/cluster, GET/HEAD/OPTIONS on /api/cluster/nodes, or calls on /api/cluster/jobs are available in precluster.", "code": "9241607" } }
Is there a way to get this information even when the cluster is not yet configured?
Any idea why REST API is more restrictive than ZAPIs?