From 75b059e6e4e482de3ad0629f9eb236beb0d257dd Mon Sep 17 00:00:00 2001 From: Prasanna Santhanam Date: Wed, 23 Jan 2013 16:01:45 +0530 Subject: [PATCH] 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 --- tools/cli/cloudmonkey/common.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/cli/cloudmonkey/common.py b/tools/cli/cloudmonkey/common.py index 3199af26c85..0865a8ee8cc 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',