@api_versions.wraps('2.22')
@utils.arg('server', metavar='<server>', help=_('Name or ID of server.'))
@utils.arg('migration', metavar='<migration>', help=_('ID of migration.'))
def do_live_migration_force_complete(cs, args):
 server = _find_server(cs, args.server)
 cs.server_migrations.live_migrate_force_complete(server, args.migration)

@ api_versions . wraps ( '2.22' ) @ utils . arg ( 'server' , metavar = '<server>' , help = _ ( 'Name or ID of server.' ) ) @ utils . arg ( 'migration' , metavar = '<migration>' , help = _ ( 'ID of migration.' ) ) def do_live_migration_force_complete ( cs , args ) : server = _find_server ( cs , args . server ) cs . server_migrations . live_migrate_force_complete ( server , args . migration )
force on-going live migration to complete .