Enable admin access to EC2 API server

Add a flag which allows you to enable or disable EC2 admin api through
nova flag. Is is similar to allow_admin_api for OS API.
Fixes bug 869908.

Change-Id: I0c786f7cd5f5c3470edc23f0b9b84e5dff1714e2
This commit is contained in:
Ahmad Hassan
2011-10-03 10:35:56 +01:00
committed by Stanislaw Pitucha
parent 176d998743
commit e84424404b
2 changed files with 6 additions and 0 deletions

View File

@@ -206,6 +206,10 @@ class Invalid(NovaException):
message = _("Unacceptable parameters.")
class InvalidRequest(Invalid):
message = _("The request is invalid.")
class InvalidSignature(Invalid):
message = _("Invalid signature %(signature)s for user %(user)s.")