#NEWLINE# @ utils . arg ( 'id' , metavar = '<CLUSTER>' , nargs = '+' , help = _ ( 'ID or name of cluster(s) to operate on.' ) ) #NEWLINE# def do_cluster_recover( service , args ) : #NEWLINE# #INDENT# 'Recover the cluster(s).' #NEWLINE# show_deprecated ( 'senlin cluster-recover' , 'openstack cluster recover' ) #NEWLINE# for cid in args . id : #NEWLINE# #INDENT# resp = service . recover_cluster ( cid ) #NEWLINE# print ( ( 'Cluster recover request on cluster %(cid)s is accepted by action %(action)s.' % { #NEWLINE# #INDENT# 'cid' : cid , #NEWLINE# 'action' : resp [ 'action' ] , #NEWLINE# #UNINDENT# } ) )