|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] Implement VM.set_name_label.
# HG changeset patch
# User Ewan Mellor <ewan@xxxxxxxxxxxxx>
# Node ID 795a87426e48062106f3d188c57859a5e89bd5cb
# Parent cf1ca06154147cb49b41fc56835ee2cffea31e32
Implement VM.set_name_label.
Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>
---
tools/python/xen/xend/XendAPI.py | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff -r cf1ca0615414 -r 795a87426e48 tools/python/xen/xend/XendAPI.py
--- a/tools/python/xen/xend/XendAPI.py Wed Dec 06 11:02:32 2006 +0000
+++ b/tools/python/xen/xend/XendAPI.py Wed Dec 06 11:24:37 2006 +0000
@@ -821,8 +821,9 @@ class XendAPI:
dom = XendDomain.instance().get_vm_by_uuid(vm_ref)
return xen_api_todo()
- def VM_set_name_label(self, session, vm_ref):
- dom = XendDomain.instance().get_vm_by_uuid(vm_ref)
+ def VM_set_name_label(self, session, vm_ref, label):
+ dom = XendDomain.instance().get_vm_by_uuid(vm_ref)
+ dom.setName(label)
return xen_api_success_void()
def VM_set_name_description(self, session, vm_ref):
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] Implement VM.set_name_label.,
Xen patchbot-unstable <=
|
Previous by Date: |
[Xen-changelog] [xen-unstable] Added support for configuration file for xm, and use that to specify, Xen patchbot-unstable |
Next by Date: |
[Xen-changelog] [xen-unstable] Added Xen-API implementations for xm pause, xm unpause, xm destroy, xm rename,, Xen patchbot-unstable |
Previous by Thread: |
[Xen-changelog] [xen-unstable] Added support for configuration file for xm, and use that to specify, Xen patchbot-unstable |
Next by Thread: |
[Xen-changelog] [xen-unstable] Added Xen-API implementations for xm pause, xm unpause, xm destroy, xm rename,, Xen patchbot-unstable |
Indexes: |
[Date]
[Thread]
[Top]
[All Lists] |
|
|
|
|