@@ -525,28 +525,25 @@ def cancel_block_volume(self, volume_id,
525525 reason ,
526526 id = billing_item_id )
527527
528- def failover_to_replicant (self , volume_id , replicant_id , immediate = False ):
528+ def failover_to_replicant (self , volume_id , replicant_id ):
529529 """Failover to a volume replicant.
530530
531531 :param integer volume_id: The id of the volume
532532 :param integer replicant_id: ID of replicant to failover to
533- :param boolean immediate: Flag indicating if failover is immediate
534533 :return: Returns whether failover was successful or not
535534 """
536535
537536 return self .client .call ('Network_Storage' , 'failoverToReplicant' ,
538- replicant_id , immediate , id = volume_id )
537+ replicant_id , id = volume_id )
539538
540- def failback_from_replicant (self , volume_id , replicant_id ):
539+ def failback_from_replicant (self , volume_id ):
541540 """Failback from a volume replicant.
542541
543542 :param integer volume_id: The id of the volume
544- :param integer replicant_id: ID of replicant to failback from
545543 :return: Returns whether failback was successful or not
546544 """
547545
548- return self .client .call ('Network_Storage' , 'failbackFromReplicant' ,
549- replicant_id , id = volume_id )
546+ return self .client .call ('Network_Storage' , 'failbackFromReplicant' , id = volume_id )
550547
551548 def set_credential_password (self , access_id , password ):
552549 """Sets the password for an access host
0 commit comments