summaryrefslogtreecommitdiffstats
path: root/nova/adminclient.py
diff options
context:
space:
mode:
authorTodd Willey <todd@ansolabs.com>2011-02-01 12:33:24 -0500
committerTodd Willey <todd@ansolabs.com>2011-02-01 12:33:24 -0500
commitce219ae1adc4b5bd761f4efe068ea5c4c494c0dc (patch)
treea6cf9d6014083c185e2f21b83211f5aa10e3a945 /nova/adminclient.py
parentd552158b19bf1652da795e1681c9dc904bdc425b (diff)
parent256186ddbb1474d2396b8fa81a3bb16713d589a4 (diff)
Merge trunk.
Diffstat (limited to 'nova/adminclient.py')
-rw-r--r--nova/adminclient.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/nova/adminclient.py b/nova/adminclient.py
index f4da9f375..c96d6e1fe 100644
--- a/nova/adminclient.py
+++ b/nova/adminclient.py
@@ -396,6 +396,13 @@ class NovaAdminClient(object):
'MemberUsers': member_users}
return self.apiconn.get_object('RegisterProject', params, ProjectInfo)
+ def modify_project(self, projectname, manager_user=None, description=None):
+ """Modifies an existing project."""
+ params = {'Name': projectname,
+ 'ManagerUser': manager_user,
+ 'Description': description}
+ return self.apiconn.get_status('ModifyProject', params)
+
def delete_project(self, projectname):
"""Permanently deletes the specified project."""
return self.apiconn.get_object('DeregisterProject',