Merge lp:~rlane/nova/lp701164 into lp:~hudson-openstack/nova/trunk

Proposed by Ryan Lane
Status: Merged
Approved by: Devin Carlen
Approved revision: 396
Merged at revision: 540
Proposed branch: lp:~rlane/nova/lp701164
Merge into: lp:~hudson-openstack/nova/trunk
Diff against target: 15 lines (+5/-0)
1 file modified
bin/nova-manage (+5/-0)
To merge this branch: bzr merge lp:~rlane/nova/lp701164
Reviewer Review Type Date Requested Status
Devin Carlen (community) Approve
Vish Ishaya (community) Approve
Review via email: mp+45738@code.launchpad.net

Description of the change

Adds support to nova-manage to modify projects

To post a comment you must log in.
Revision history for this message
Vish Ishaya (vishvananda) wrote :

lgtm

review: Approve
Revision history for this message
Devin Carlen (devcamcar) wrote :

lgtm

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'bin/nova-manage'
2--- bin/nova-manage 2011-01-04 05:26:41 +0000
3+++ bin/nova-manage 2011-01-10 19:37:19 +0000
4@@ -333,6 +333,11 @@
5 arguments: name project_manager [description]"""
6 self.manager.create_project(name, project_manager, description)
7
8+ def modify(self, name, project_manager, description=None):
9+ """Modifies a project
10+ arguments: name project_manager [description]"""
11+ self.manager.modify_project(name, project_manager, description)
12+
13 def delete(self, name):
14 """Deletes an existing project
15 arguments: name"""