summaryrefslogtreecommitdiff
path: root/quantumclient/shell.py
Commit message (Collapse)AuthorAgeFilesLines
* Client for agent scheduler extensiongongysh2013-02-281-1/+20
| | | | | | blueprint quantum-scheduler Change-Id: I5bad096d4892ebf1d309fc0a625dca4b2407bc94
* CLI support for network gateway feature2.2.0a1Salvatore Orlando2013-02-201-0/+15
| | | | | | | | | | Blueprint nvp-nwgw-extension-client Adds commands for gateway management, and for connecting networks to gateways. These commands use the nicira-specific extension 'nvp-network-gateway' Change-Id: Iefcba201bc9fd8dce35762514af0f56b29430ccd
* Merge "Allow known options after unknown ones in list and update command"Jenkins2013-02-191-3/+14
|\
| * Allow known options after unknown ones in list and update commandgongysh2013-02-191-3/+14
| | | | | | | | | | | | blueprint known-options-location-in-list-update-commands Change-Id: Icad4fbc0d9f1751bd36573b37ac7fe32987fada9
* | Client for agent extensiongongysh2013-02-191-0/+8
|/ | | | | | blueprint quantum-scheduler Change-Id: Ic5a2198017cacfb0ff5b5da1461c06b3a0f87ea1
* Add nvp queue support to clientAaron Rosen2013-02-141-0/+8
| | | | | | | This patch adds the nvp_qos_queue commands to the client Implements blueprint nvp-qos-extension-client Change-Id: Ic6d2a13ecb82e7e68b52b3143befb2f34b5e759f
* Stored the quantum commands list to the variable.Jason Zhang2013-02-051-2/+3
| | | | | | | | | | By storing the quantum commands list to the variable, the subclass can depend the quantum shell to parse the command. Fixes: bug 1116837 Change-Id: I0a6f3226d326cf015e262e4ddf364d6f9a91d041
* Remove gettext.install from quantumclient.__init__He Jie Xu2013-02-051-1/+1
| | | | | | fix bug 1097628 Change-Id: Ic6f2dfb4593fa507fb788786616bff6af3cbb896
* The change implements LBaaS CLI commands.Ilya Shakhat2013-01-281-0/+47
| | | | | | | | | | | | | | | | | Implements: blueprint lbaas-cli New commands: * Vip: lb-vip-create, lb-vip-list, lb-vip-show, lb-vip-update, lb-vip-delete * Pool: lb-pool-create, lb-pool-list, lb-pool-show, lb-pool-update, lb-pool-delete, lb-pool-stats * Member: lb-member-create, lb-member-list, lb-member-show, lb-member-update, lb-member-delete * Health Monitor: lb-healthmonitor-create, lb-healthmonitor-list, lb-healthmonitor-show, lb-healthmonitor-update, lb-healthmonitor-delete, lb-healthmonitor-associate, lb-healthmonitor-disassociate Change-Id: Idaa569024c24955886a836e3dfedd009fed87007
* Merge "Make "quantum help" to show a list of subcommands."Jenkins2013-01-151-0/+6
|\
| * Make "quantum help" to show a list of subcommands.Akihiro MOTOKI2013-01-091-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix bug 1023260 All other OpenStack clients (nova, keystone, glance, ....) accepts just "help" which displays a list of subcommands. This commit makes quantum command consist with other OpenStack projects. After this change help behavior of quantum command becomes as follows: Show general help message: quantum --help quantum help Show help message of subcommand quantum help <subcommand> quantum <subcommand> --help Change-Id: I34ca0df809da04f9b9b9275c697e6aafca312cfe
* | Allow known options defined after position arguments.gongysh2013-01-131-0/+40
|/ | | | | | | | | | | We run the argument parser to split known options and unknown options. Make '-' work and have the same effect as '_' in both known and unknown option parts. Make metavar Uppercase. blueprint options-location Change-Id: Ic27b278484133c8b83e3b031a0810a76b050219f
* Fix import order nitsZhongyue Luo2012-12-311-0/+1
| | | | Change-Id: I7c95fa2db1d719f6ed34468ad12b7a9e4c9e794d
* Ensures that help alignment is not hard codedGary Kotton2012-12-051-1/+6
| | | | | | Fixes bug 1086770 Change-Id: I6fa3edea83783e274d78e0c0195bca69d63b6e04
* Merge "Convenience cmds for l3"Jenkins2012-11-161-0/+4
|\
| * Convenience cmds for l3ivan-zhu2012-11-131-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | Bug #1049551 Add two CLI and unit tests: quantum net-external-list (runs net-list with router:external=True filter) quantum router-port-list <router-id/name> (runs port-list, filtering with device_id equal to specified router) Change-Id: I9a9668836ac24d4cbc6a3867ec031611b64ded14
* | Adds securitygroup implementationAaron Rosen2012-10-311-0/+16
| | | | | | | | | | | | Implements blueprint quantum-client-security-groups API Change-Id: I9b6ad8525909688915fadefc75075406b8380327
* | Generate bash_completion string so that we can use bash completion.gongysh2012-10-081-0/+21
|/ | | | | | | | | Bug #1063500 To install, copy tools/quantum.bash_completion to /etc/bash_completion.d/quantum Change-Id: I0afff3967c63111854455226fc90092f5bc7845a
* *-list command shows only limited fields normally.yong sheng gong2012-09-011-8/+0
| | | | | | | | | Bug #1036051 We add list_columns in list commands to limit the output columns. The behaviour is overriden if we use -c in command. Change-Id: I0fa6c73cd7270d86aff01d3790d59c8d4e8a235a
* Change '_' to '-' in optionsDean Troyer2012-08-241-15/+39
| | | | | | | | | | This changes every command-line option with a '_' in its name and changes them to '-'. The old option names are maintained for backward compatibility but are no longer in the help text. BP command-options Change-Id: I94daea544ab613321c0a1c4de45092be6dc8471d
* initial client + CLI support for routers + floating ipsDan Wendlandt2012-08-221-1/+31
| | | | | | | | | | bp quantum-client-l3-floating-ip The task also does the following: 1. Fixes alignment of the --help output 2. Ensures that a show command prints a dictionary correctly Change-Id: Ib61b3e8748a7bd476ec008ab6ce20ab852e92f58
* Merge "add ext list and show commands."Jenkins2012-08-141-0/+4
|\
| * add ext list and show commands.Yong Sheng Gong2012-08-121-0/+4
| | | | | | | | Change-Id: I3bdf1a3b066ee12572468b8d7abee96eb07f9257
* | Merge "remove cli.app in quantum client error message."Jenkins2012-08-131-2/+25
|\ \
| * | remove cli.app in quantum client error message.Yong Sheng Gong2012-08-121-2/+25
| | | | | | | | | | | | | | | | | | blueprint f-3-cli-usability-improvments Change-Id: I3f73f5f0e915ae62e5056abb3f04d7f7f2e68ceb
* | | Merge "enable -h | --help after command to show the command usage."Jenkins2012-08-121-0/+13
|\ \ \ | |_|/ |/| |
| * | enable -h | --help after command to show the command usage.Yong Sheng Gong2012-08-121-0/+13
| |/ | | | | | | | | | | | | | | Bug #1023260 we caculate the position of -h|--help and command, if -h|--help is after command, we replace the command with 'help' command. Change-Id: Ieb5fc9d37daafd704edb71e35b74dbf83cb69a4c
* | Add quota commands to change quota of a tenant.Yong Sheng Gong2012-08-121-1/+10
|/ | | | | | | | | | | | | | | | blueprint quantum-api-quotas quantum quota-show --tenant_id: if tenant_id is not specified, the server will get tenant_id from context quantum quota-update --network <num> --port <num> --subnet <num> --tenant_id <id>: if tenant_id is not specified, the server will get tenant_id from context quantum quota-list: list all tenants' quota values after the updation. quantum quota-delete --tenant_id <id>: delete the given tenant's customized quota values. Change-Id: Ib0efb159bea96837bf4e35eaefa5e172c1c9f34a
* Merge "Use -h, --help to show help messages."Jenkins2012-07-141-1/+1
|\
| * Use -h, --help to show help messages.Akihiro MOTOKI2012-07-131-1/+1
| | | | | | | | | | | | | | | | | | Fixes bug 1023260 "quantumv2" command used '-H' and '--Help' to show help messages, but it is inconsistent to the convention of option names used in other OpenStack client lib commands. This commit fixes it. Change-Id: I85c1e79c2cd08bcc0112ed2f10ca8210e9384687
* | Remove quantum client codes for API v1.0Yong Sheng Gong2012-07-131-60/+6
|/ | | | | | Bug #1021546 Change-Id: Ic628db01034bc6dfb5fad3d6a2905e243900229a
* Make quantum cli consistent with other cli's practice.Yong Sheng Gong2012-07-051-47/+47
| | | | | | | | | Bug 1011759 We use dash in command names, underscore in options or arguments, adopt noun-verb format command names. Change-Id: Ibeb2b4a31929dbb7008cec3b04bd77e75d9ace1a
* add --fixed-ip argument to create port0.1.0Yong Sheng Gong2012-06-251-30/+43
| | | | | | | | | | | | | | | | | | | | | | | | add --fixed-ip argument to create port and add list and dict type for unknow option now we can use known option feature: quantumv2 create_port --fixed-ip subnet_id=<id>,ip_address=<ip> --fixed-ip subnet_id=<id>, ip_address=<ip2> network_id or unknown option feature: one ip: quantumv2 create_port network_id --fixed_ips type=dict list=true subnet_id=<id>,ip_address=<ip> two ips: quantumv2 create_port network_id --fixed_ips type=dict subnet_id=<id>,ip_address=<ip> subnet_id=<id>,ip_address=<ip2> to create port Please download: https://review.openstack.org/#/c/8794/4 and set core_plugin = quantum.db.db_base_plugin_v2.QuantumDbPluginV2 on quantum server side Patch 2: support cliff 1.0 Patch 3: support specify auth strategy, for now, any other auth strategy than keystone will disable auth, format port output Patch 4: format None as '' when outputing, deal with list of dict, add QUANTUMCLIENT_DEBUG env to enable http req/resp print, which is helpful for testing nova integration Patch 5: fix interactive mode, and initialize_app problem Change-Id: I693848c75055d1947862d55f4b538c1dfb1e86db
* add keystone support, new command interface, API v2.0Yong Sheng Gong2012-06-211-0/+383
blueprint new-cli Bug #1001053 Implement new commands interface, ready for v2.0. adopt cliff arch. new client binary is quantumv2. After it is stable, we will remove quantum binary. Httplibs2 is used. usage: https://docs.google.com/document/d/1e_4UtnhFfgtnsB8EVB31BZKldaVzl_BlsGnGBrKmcDk/edit Patch 2: add license header Patch 3: add v1.0 support, fix show net details Patch 4: quantumclient network api v2.0 Patch 5: subnet and port commands for api v2.0, add fields selector Patch 6: add test cases Patch 7: fix interactive mode, modify according to comments and https://review.openstack.org/#/c/8366/, add two tasks to BP: noauth and openstack common Patch 8: fix log problem Patch 9: modify according to the comments by dan on patch 5 Patch 10: just trigger jenkins Patch 11: pep 1.3 fix Patch 12: cliff and prettytable to more than 0.6.0 Patch 13: change setup.py to include more packages Patch 14: pep check on jenkins Patch 15: add license text to empty __init__.py files Patch 16: fix v1.1 test cases after server changes Change-Id: Ibbbdd834371c6a023b31e4797718fc0fe9786d89