diff options
| author | Todd Willey <todd@ansolabs.com> | 2011-02-01 12:33:24 -0500 |
|---|---|---|
| committer | Todd Willey <todd@ansolabs.com> | 2011-02-01 12:33:24 -0500 |
| commit | ce219ae1adc4b5bd761f4efe068ea5c4c494c0dc (patch) | |
| tree | a6cf9d6014083c185e2f21b83211f5aa10e3a945 /nova/adminclient.py | |
| parent | d552158b19bf1652da795e1681c9dc904bdc425b (diff) | |
| parent | 256186ddbb1474d2396b8fa81a3bb16713d589a4 (diff) | |
Merge trunk.
Diffstat (limited to 'nova/adminclient.py')
| -rw-r--r-- | nova/adminclient.py | 7 |
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', |
