SoftLayer_Network_Storage :: failoverToReplicant,需要1個參數:replicantId SoftLayer_Network_Storage :: failbackFromReplicant,需要無參數。
但是從Python客戶端:
SoftLayer_Network_Storage :: failoverToReplicant,需要2個參數: replicantId,立即 SoftLayer_Network_Storage :: failbackFromReplicant,需要1個參數:replicantId
我不知道這是正確的,但python客戶端對我更有意義。
我猜元數據(https://api.softlayer.com/metadata/v3.1)需要修復到:
"failbackFromReplicant":
{
"name": "failbackFromReplicant",
"type": "boolean",
"doc": "Failback from a volume replicant. In order to failback the volume must have already been failed over to a replicant. "
},
"failoverToReplicant":
{
"name": "failoverToReplicant",
"type": "boolean",
"doc": "Failover to a volume replicant. During the time which the replicant is in use the local nas volume will not be available. ",
"parameters":
[
{
"name": "replicantId",
"type": "int",
"doc": "Replicant ID to failover to"
}
]
},