permalink | sidebar | keywords | summary |
---|---|---|---|
api/reference_element_api_getprotectiondomainlayout.html |
sidebar |
layout,custom,protection domain,protection domains,retrieve protection domains |
You can use the GetProtectionDomainLayout method to return all protection domain information for a cluster, including which chassis and which custom protection domain each node is in. |
You can use the GetProtectionDomainLayout
method to return all protection domain information for a cluster, including which chassis and which custom protection domain each node is in.
This method has the following return value:
Name | Description | Type |
---|---|---|
protectionDomainLayout |
List of nodes, each with its associated protection domains. |
JSON list of nodeProtectionDomains objects. |
Requests for this method are similar to the following example:
{ "method": "GetProtectionDomainLayout", "params": {}, "id" : 1 }
This method returns a response similar to the following example:
{ "id": 1, "result": { "protectionDomainLayout": [ { "nodeID": 1, "protectionDomains": [ { "protectionDomainName": "QTFCR2914008D", "protectionDomainType": "chassis" }, { "protectionDomainName": "Rack-1", "protectionDomainType": "custom" } ] }, { "nodeID": 2, "protectionDomains": [ { "protectionDomainName": "QTFCR291500EA", "protectionDomainType": "chassis" }, { "protectionDomainName": "Rack-1", "protectionDomainType": "custom" } ] }, { "nodeID": 3, "protectionDomains": [ { "protectionDomainName": "QTFCR291500C3", "protectionDomainType": "chassis" }, { "protectionDomainName": "Rack-2", "protectionDomainType": "custom" } ] }, { "nodeID": 4, "protectionDomains": [ { "protectionDomainName": "QTFCR291400E6", "protectionDomainType": "chassis" }, { "protectionDomainName": "Rack-2", "protectionDomainType": "custom" } ] } ] } }