~ubuntu-branches/ubuntu/raring/nova/raring-proposed

« back to all changes in this revision

Viewing changes to nova/conductor/rpcapi.py

  • Committer: Package Import Robot
  • Author(s): Chuck Short, James Page, Chuck Short
  • Date: 2013-04-02 08:44:39 UTC
  • mfrom: (1.1.70)
  • Revision ID: package-import@ubuntu.com-20130402084439-e6veyayncnqpxxct
Tags: 1:2013.1~rc2-0ubuntu1
[ James Page ]
* d/control: Promote novnc and websockify to Depends for
  nova-novncproxy (LP: #1066845). 

[ Chuck Short ]
*  New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
83
83
    1.43 - Added compute_stop
84
84
    1.44 - Added compute_node_delete
85
85
    1.45 - Added project_id to quota_commit and quota_rollback
 
86
    1.46 - Added compute_confirm_resize
86
87
    """
87
88
 
88
89
    BASE_RPC_API_VERSION = '1.0'
437
438
        msg = self.make_msg('compute_stop', instance=instance_p,
438
439
                            do_cast=do_cast)
439
440
        return self.call(context, msg, version='1.43')
 
441
 
 
442
    def compute_confirm_resize(self, context, instance, migration_ref):
 
443
        instance_p = jsonutils.to_primitive(instance)
 
444
        migration_p = jsonutils.to_primitive(migration_ref)
 
445
        msg = self.make_msg('compute_confirm_resize', instance=instance_p,
 
446
                            migration_ref=migration_p)
 
447
        return self.call(context, msg, version='1.46')