From 77df8ddc47d575efad34b1b2d932bec7c0f3a270 Mon Sep 17 00:00:00 2001 From: mat Date: Wed, 16 May 2012 16:16:43 +0200 Subject: [PATCH] Cisco plugin CLI call to quantumclient CLI when Cisco plugin CLI is used, it wil call the quantumclient CLI if the command is not in its extensions. the version of the Quantum API must be specified when the the Cisco plugin CLI is looking for Quantum commands. Bug 1000251 Change-Id: I3e4039edb7cb79411fc60677ef6f99fca8007dc9 --- quantum/plugins/cisco/client/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quantum/plugins/cisco/client/cli.py b/quantum/plugins/cisco/client/cli.py index 7477eacfb60..cd6f7842bef 100644 --- a/quantum/plugins/cisco/client/cli.py +++ b/quantum/plugins/cisco/client/cli.py @@ -189,7 +189,7 @@ def main(): sys.exit(1) CMD = args[0] - if CMD in qcli.commands.keys(): + if CMD in qcli.commands['1.1'].keys(): qcli.main() sys.exit(1) if CMD not in COMMANDS.keys():