SetProtectionDomainLayoutこの方法を使用して、ノードをカスタム保護ドメインに割り当てることができます。
このメソッドの入力パラメータは次のとおりです。
名前 | 説明 | タイプ | デフォルト値 | 必須 |
---|---|---|---|---|
protectionDomainLayout | 各ノードの保護ドメイン情報。 | NodeProtectionDomains オブジェクトの JSON リスト。 | なし | 有効 |
このメソッドの戻り値は次のとおりです。
名前 | 説明 | タイプ |
---|---|---|
ProtectionDomainLayout | ノードのリスト。各ノードに関連付けられている保護ドメインが表示されます。 | NodeProtectionDomains オブジェクトの JSON リスト。 |
このメソッドの要求例を次に示します。
{ "id": 1, 「メソッド」:「 SetProtectionDomainLayout 」、 "params": { "ProtectionDomainLayout" : [ { "nodeID": 1, "ProtectionDomains" : [ { ProtectionDomainName :「 rack-1 」、 "ProtectionDoMainType" : "Custom" } ] }, { "nodeID": 2, "ProtectionDomains" : [ { ProtectionDomainName :「 rack-1 」、 "ProtectionDoMainType" : "Custom" } ] }, { "nodeID": 3, "ProtectionDomains" : [ { ProtectionDomainName :「 rack-2 」、 "ProtectionDoMainType" : "Custom" } ] }, { "nodeID": 4, "ProtectionDomains" : [ { ProtectionDomainName :「 rack-2 」、 "ProtectionDoMainType" : "Custom" } ] } ] } }
このメソッドの応答例を次に示します。
{ "id": 1, "result": { "ProtectionDomainLayout" : [ { "nodeID": 1, "ProtectionDomains" : [ { "ProtectionDomainName" : "QTFCR 2914008D" 、 ProtectionDomaType :「シャーシ」 }, { ProtectionDomainName :「 rack-1 」、 "ProtectionDoMainType" : "Custom" } ] }, { "nodeID": 2, "ProtectionDomains" : [ { 「 ProtectionDomainName 」:「 QTFCR 291500EA 」、 ProtectionDomaType :「シャーシ」 }, { ProtectionDomainName :「 rack-1 」、 "ProtectionDoMainType" : "Custom" } ] }, { "nodeID": 3, "ProtectionDomains" : [ { "ProtectionDomainName" : "QTFCR 291500C3" 、 ProtectionDomaType :「シャーシ」 }, { ProtectionDomainName :「 rack-2 」、 "ProtectionDoMainType" : "Custom" } ] }, { "nodeID": 4, "ProtectionDomains" : [ { 「 ProtectionDomainName 」:「 QTFCR 291400E 6 」、 ProtectionDomaType :「シャーシ」 }, { ProtectionDomainName :「 rack-2 」、 "ProtectionDoMainType" : "Custom" } ] } ] } }
12.0