incubator-cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mlsoren...@apache.org
Subject [20/50] git commit: cloudmonkey: misses a couple of verbs for 'lock' and 'disassociate'
Date Sat, 26 Jan 2013 05:25:10 GMT
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 <tsp@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/add_remove_nics
Commit: 75b059e6e4e482de3ad0629f9eb236beb0d257dd
Parents: 1e40551
Author: Prasanna Santhanam <tsp@apache.org>
Authored: Wed Jan 23 16:01:45 2013 +0530
Committer: Prasanna Santhanam <tsp@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',


Mime
View raw message