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
This patch adds the nvp_qos_queue commands to the client
Implements blueprint nvp-qos-extension-client
Change-Id: Ic6d2a13ecb82e7e68b52b3143befb2f34b5e759f
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
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 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
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
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
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
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
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
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
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
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 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
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