Revision 75c866c2 lib/rapi/rlib2.py

b/lib/rapi/rlib2.py
1207 1207
def _ParseMigrateInstanceRequest(name, data):
1208 1208
  """Parses a request for an instance migration.
1209 1209

  
1210
  @rtype: L{opcodes.OpMigrateInstance}
1210
  @rtype: L{opcodes.OpInstanceMigrate}
1211 1211
  @return: Instance migration opcode
1212 1212

  
1213 1213
  """
......
1215 1215
  cleanup = baserlib.CheckParameter(data, "cleanup", exptype=bool,
1216 1216
                                    default=False)
1217 1217

  
1218
  return opcodes.OpMigrateInstance(instance_name=name, mode=mode,
1218
  return opcodes.OpInstanceMigrate(instance_name=name, mode=mode,
1219 1219
                                   cleanup=cleanup)
1220 1220

  
1221 1221

  

Also available in: Unified diff