bitkeeper revision 1.1159.116.4 (4177df97ZOvl759Lo38Gv7CY081ZCA)

Add resource control parameter to migrate.
This commit is contained in:
mjw@wray-m-3.hpl.hp.com committed 2004-10-21 16:11:03 +00:00
1 parent e1ab5a1d0d
commit 4a22a3ffb9
9 files changed
+30 -16

No files matched your search

+3 -2
View File
@@ -244,11 +244,12 @@ class Xend:
{'op' : 'save',
'file' : filename })
def xend_domain_migrate(self, id, dst, live=0):
def xend_domain_migrate(self, id, dst, live=0, resource=0):
return self.xendPost(self.domainurl(id),
{'op' : 'migrate',
'destination': dst,
'live' : live })
'live' : live,
'resource' : resource })
def xend_domain_pincpu(self, id, cpu):
return self.xendPost(self.domainurl(id),
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.