Merge lp://qastaging/~xtoddx/nova/disable_creds into lp://qastaging/~hudson-openstack/nova/trunk

Proposed by Todd Willey
Status: Work in progress
Proposed branch: lp://qastaging/~xtoddx/nova/disable_creds
Merge into: lp://qastaging/~hudson-openstack/nova/trunk
Diff against target: 56 lines (+27/-0)
2 files modified
nova/adminclient.py (+21/-0)
nova/api/ec2/admin.py (+6/-0)
To merge this branch: bzr merge lp://qastaging/~xtoddx/nova/disable_creds
Reviewer Review Type Date Requested Status
Christopher MacGown (community) Needs Fixing
termie (community) Approve
Thierry Carrez (community) ffe Needs Information
John Dewey (community) Needs Fixing
Review via email: mp+54453@code.qastaging.launchpad.net

Description of the change

In the case of compromised vpn credentials, we need to be able to terminate the affected vpn and revoke the credentials. This adds that functionality to the ec2 admin api.

To post a comment you must log in.
Revision history for this message
John Dewey (retr0h) wrote :

I do not see tests for adminclient.py, but maybe now is a good time to add them?

I have a hard time approving a feature that lacks tests, even if those before us didn't add them.

review: Needs Fixing
Revision history for this message
Thierry Carrez (ttx) wrote :

We just hit feature freeze, if you want this into Cactus rather than wait for Diablo, could you provide a quick benefit vs. risk of regression rationale, then request a specific FFe review from me ?

Revision history for this message
Thierry Carrez (ttx) :
review: Needs Information (ffe)
Revision history for this message
termie (termie) wrote :

diffline 33: please put StatusResponse on the next line, indented with the other args.

should we be internationalizing the response in the disable project creds call?

also looks like you'll need a newline before the StatusResponse class def.

Other than that, looking good. Other folks's comments still applicable, though I think tests will need to be in smoketests if you write them.

review: Needs Fixing
847. By Todd Willey

merge trunk

848. By Todd Willey

Fix style issues and add i18n.

Revision history for this message
Todd Willey (xtoddx) wrote :

Merged trunk and fixed style.

Decided against i18n as clients may be different language than api server.

849. By Todd Willey

Revert i18n on server-side.

Revision history for this message
termie (termie) wrote :

style-wise looks good, smoketests would be great

review: Approve
Revision history for this message
Matt Dietz (cerberus) wrote :

Looks good to me, though I agree that tests would be lovely.

Revision history for this message
Christopher MacGown (0x44) wrote :

Per the new testing policy decided at the Diablo summit, this needs tests before it can be merged.

review: Needs Fixing
Revision history for this message
Christopher MacGown (0x44) wrote :

> Per the new testing policy decided at the Diablo summit, this needs tests
> before it can be merged.

Otherwise, it looks good.

Unmerged revisions

849. By Todd Willey

Revert i18n on server-side.

848. By Todd Willey

Fix style issues and add i18n.

847. By Todd Willey

merge trunk

846. By Todd Willey

Admin api methods for disabling credentials & terminating vpns.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.