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 <[email protected]>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/167e5f68
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/167e5f68
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/167e5f68

Branch: refs/heads/marvin-refactor
Commit: 167e5f6896018154890b20f805701cbb0a5aac4b
Parents: a801696
Author: Prasanna Santhanam <[email protected]>
Authored: Wed Oct 2 20:16:41 2013 +0530
Committer: Prasanna Santhanam <[email protected]>
Committed: Wed Oct 2 20:28:17 2013 +0530

----------------------------------------------------------------------
 tools/marvin/marvin/cloudstackConnection.py | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/167e5f68/tools/marvin/marvin/cloudstackConnection.py
----------------------------------------------------------------------
diff --git a/tools/marvin/marvin/cloudstackConnection.py 
b/tools/marvin/marvin/cloudstackConnection.py
index 86c989c..e82e527 100644
--- a/tools/marvin/marvin/cloudstackConnection.py
+++ b/tools/marvin/marvin/cloudstackConnection.py
@@ -182,6 +182,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)
 

Reply via email to