A newer release of this product is available.
GetProtectionDomainLayout
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.
Parameter
This method has the no input parameters.
Return value
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. |
Request example
Requests for this method are similar to the following example:
{
"method": "GetProtectionDomainLayout",
"params": {},
"id" : 1
}
Response example
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"
}
]
}
]
}
}
New since version
12.0