You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ki...@apache.org on 2013/01/28 13:22:52 UTC

[16/50] [abbrv] git commit: cloudmonkey: misses a couple of verbs for 'lock' and 'disassociate'

cloudmonkey: misses a couple of verbs for 'lock' and 'disassociate'

The following api commands have no cloudmonkey equivalent because
cloudmonkey grammar misses the related verbs.

~/tools/cli/cloudmonkey/marvin/cloudstackAPI(branch:master*) $ ls disassociateIpAddress.py
disassociateIpAddress.py

------------------------------------------------------------
~/tools/cli/cloudmonkey/marvin/cloudstackAPI(branch:master*) $ ls lock*
lockAccount.py lockUser.py
------------------------------------------------------------

Signed-off-by: Prasanna Santhanam <ts...@apache.org>


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

Branch: refs/heads/regions
Commit: 75b059e6e4e482de3ad0629f9eb236beb0d257dd
Parents: 1e40551
Author: Prasanna Santhanam <ts...@apache.org>
Authored: Wed Jan 23 16:01:45 2013 +0530
Committer: Prasanna Santhanam <ts...@apache.org>
Committed: Wed Jan 23 16:05:41 2013 +0530

----------------------------------------------------------------------
 tools/cli/cloudmonkey/common.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/75b059e6/tools/cli/cloudmonkey/common.py
----------------------------------------------------------------------
diff --git a/tools/cli/cloudmonkey/common.py b/tools/cli/cloudmonkey/common.py
index 3199af2..0865a8e 100644
--- a/tools/cli/cloudmonkey/common.py
+++ b/tools/cli/cloudmonkey/common.py
@@ -40,9 +40,9 @@ config_fields = {'host': 'localhost', 'port': '8080',
                  os.path.expanduser('~/.cloudmonkey_history')}
 
 # Add verbs in grammar
-grammar = ['create', 'list', 'delete', 'update',
+grammar = ['create', 'list', 'delete', 'update', 'lock',
            'enable', 'activate', 'disable', 'add', 'remove',
-           'attach', 'detach', 'associate', 'generate', 'ldap',
+           'attach', 'detach', 'associate', 'disassociate', 'generate', 'ldap',
            'assign', 'authorize', 'change', 'register', 'configure',
            'start', 'restart', 'reboot', 'stop', 'reconnect',
            'cancel', 'destroy', 'revoke', 'mark', 'reset',