@utils.arg('server', metavar='<server>', help=_('Name or ID of server.'))
@utils.arg('attachment_id', metavar='<attachment>', help=_('Attachment ID of the volume.'))
@utils.arg('new_volume', metavar='<volume>', help=_('ID of the volume to attach.'))
def do_volume_update(cs, args):
 cs.volumes.update_server_volume(_find_server(cs, args.server).id, args.attachment_id, args.new_volume)

@ utils . arg ( 'server' , metavar = '<server>' , help = _ ( 'Name or ID of server.' ) ) @ utils . arg ( 'attachment_id' , metavar = '<attachment>' , help = _ ( 'Attachment ID of the volume.' ) ) @ utils . arg ( 'new_volume' , metavar = '<volume>' , help = _ ( 'ID of the volume to attach.' ) ) def do_volume_update ( cs , args ) : cs . volumes . update_server_volume ( _find_server ( cs , args . server ) . id , args . attachment_id , args . new_volume )
update volume attachment .