Is it possible to confirm via API whether a node is in the "waiting for giveback" state on ASA r2?
Applies to
- ONTAP 9
- ASA r2
Answer
- Yes, it is possible.
/cluster/nodes?fields=state
returns node state:
curl -X GET "https://cluster1.demo.netapp.com/api/cluster/nodes?fields=state" -H "accept: application/json" -H "authorization: Basic xxxxxxxxxxx" -k
{
"records": [
{
"uuid": "6249f502-b31d-11ef-81e1-005056b0cea0",
"name": "cluster1-01",
"state": "waiting_for_giveback"
},
{
"uuid": "653955d3-b31d-11ef-a19d-005056b0ed1a",
"name": "cluster1-02",
"state": "up"
}
],
"num_records": 2
Additional Information
N/A