@api_versions.wraps('2.23')
@utils.arg('server', metavar='<server>', help=_('Name or ID of server.'))
@utils.arg('migration', metavar='<migration>', help=_('ID of migration.'))
def do_server_migration_show(cs, args):
 server = _find_server(cs, args.server)
 migration = cs.server_migrations.get(server, args.migration)
 utils.print_dict(migration.to_dict())

@ api_versions . wraps ( '2.23' ) @ utils . arg ( 'server' , metavar = '<server>' , help = _ ( 'Name or ID of server.' ) ) @ utils . arg ( 'migration' , metavar = '<migration>' , help = _ ( 'ID of migration.' ) ) def do_server_migration_show ( cs , args ) : server = _find_server ( cs , args . server ) migration = cs . server_migrations . get ( server , args . migration ) utils . print_dict ( migration . to_dict ( ) )
get the migration of specified server .