marvin_refactor: remove the entity from passing to the apiserver entity attributes derived for each API should not be sent to the API server as it messes with the signature generation.
Signed-off-by: Prasanna Santhanam <t...@apache.org> Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/aff28f41 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/aff28f41 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/aff28f41 Branch: refs/heads/marvin_refactor Commit: aff28f4144ffd16bd4851d67b59b0a0ed55483fe Parents: f00fafe Author: Prasanna Santhanam <t...@apache.org> Authored: Wed Oct 2 20:16:41 2013 +0530 Committer: Prasanna Santhanam <t...@apache.org> Committed: Thu Oct 31 13:54:26 2013 +0530 ---------------------------------------------------------------------- tools/marvin/marvin/cloudstackConnection.py | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/aff28f41/tools/marvin/marvin/cloudstackConnection.py ---------------------------------------------------------------------- diff --git a/tools/marvin/marvin/cloudstackConnection.py b/tools/marvin/marvin/cloudstackConnection.py index 8c6c9cf..460630e 100644 --- a/tools/marvin/marvin/cloudstackConnection.py +++ b/tools/marvin/marvin/cloudstackConnection.py @@ -236,6 +236,8 @@ class CloudConnection(object): isAsync = getattr(cmd, attribute) elif attribute == "required": required = getattr(cmd, attribute) + elif attribute == "entity": + continue else: requests[attribute] = getattr(cmd, attribute)