summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge "fix a minor comment error"2.1Jenkins2012-09-151-1/+1
|\
| * fix a minor comment errorJiajun Liu2012-09-131-1/+1
| | | | | | | | Change-Id: I8df6f16acf20d54290dc9687005571fb06aa7c00
* | Add document for using quantum client by python or cli invocation.gongysh2012-09-122-10/+45
|/ | | | | | | After this patch, we should see output at http://docs.openstack.org/developer/python-quantumclient/. Change-Id: I908c0d0e7f80a6eb73e97ee30eaab1bfbfec1e61
* Support shared option in CLISalvatore Orlando2012-09-112-2/+12
| | | | | | | | Fix bug 1049386 Add the 'shared' attribute to known parameters Change-Id: Ica3b00c6b4108a328748025f94ceebf8c935e662
* Limit list command for router and floating ipGary Kotton2012-09-114-2/+5
| | | | | | | | Fixes bug 1047751 Also removes tenant id from network list output Change-Id: I5302b97ed784580508d2ca2170ab3c240053c1a1
* Merge "Send all options with CreateFloatingIP"Jenkins2012-09-102-3/+26
|\
| * Send all options with CreateFloatingIPSalvatore Orlando2012-09-092-3/+26
| | | | | | | | | | | | Fix Bug 1048081 Change-Id: I87a66e80a42304508e3e9bc3afbe275b41918404
* | prevent floatingip-show and floatingip-delete from querying by "name"Dan Wendlandt2012-09-092-7/+25
|/ | | | | | | | | | | bug 1048088 floating IPs do not have names, but the show and delete commands inherited logic that implied that they did, leading to very odd results that would result is "floating-ip show X" return a result even if X was not a valid UUID for any floating IP. Change-Id: I5939a2a28ae4abf94d44fadb75a657fe706f1295
* router/floating commands support resource reference by nameAkihiro MOTOKI2012-09-062-11/+26
| | | | | | Fixes bug 1046855. Change-Id: I7cc578246019a895c020e822e2d636625363fdde
* update error message to make clear that we were search for a name.Dan Wendlandt2012-09-041-2/+3
| | | | Change-Id: I0abce71fbb8964d7dee74a904167db76c9f65e67
* *-list command shows only limited fields normally.yong sheng gong2012-09-0111-19/+73
| | | | | | | | | 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
* Fix printout of dns name servers and host routesGary Kotton2012-08-291-1/+19
| | | | | | Fixes bug 1043105 Change-Id: I20e9310088767a57f078554025728ae2eb1953e2
* Change '_' to '-' in optionsDean Troyer2012-08-2412-42/+164
| | | | | | | | | | 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
* Merge "initial client + CLI support for routers + floating ips"Jenkins2012-08-238-2/+731
|\
| * initial client + CLI support for routers + floating ipsDan Wendlandt2012-08-228-2/+731
| | | | | | | | | | | | | | | | | | | | 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 nosehtmloutput as a test dependency."Jenkins2012-08-231-0/+1
|\ \
| * | Add nosehtmloutput as a test dependency.Clark Boylan2012-08-211-0/+1
| |/ | | | | | | | | | | | | | | Adding nosehtmloutput as a test dependency allows nose to output its results to an html file. This will be used by Jenkins to save logs on a different server. Change-Id: I378954997a5d893ac1156c2ae254532c617f78c7
* | Merge "Fix warning when creating the sdist package."Jenkins2012-08-231-1/+0
|\ \ | |/ |/|
| * Fix warning when creating the sdist package.Bhuvan Arumugam2012-08-171-1/+0
| | | | | | | | | | | | | | | | | | Bug: 1037334 * MANIFEST.in version.py not exists. Change-Id: Id5eb6a5f5f48827bf053f7d18694eeca38f20a32
* | Add install_requires in setuptools.setup().Akihiro MOTOKI2012-08-191-0/+1
|/ | | | | | Fixes bug 1038587 Change-Id: I173cfd3ac8e53f6fb9ce58f30cc40afc9936165d
* Merge "add ext list and show commands."Jenkins2012-08-143-0/+111
|\
| * add ext list and show commands.Yong Sheng Gong2012-08-123-0/+111
| | | | | | | | Change-Id: I3bdf1a3b066ee12572468b8d7abee96eb07f9257
* | Support --no-gateway optionNachi Ueno2012-08-142-1/+45
| | | | | | | | | | | | | | if --no-gateway is specified, null is used for gateway value. Fixs bug 1035987 Change-Id: I6b9e00563cc2993f40de204e2c399218f00b88c4
* | Merge "Refreshes keystone token if a token is expired."Jenkins2012-08-142-2/+137
|\ \
| * | Refreshes keystone token if a token is expired.Akihiro MOTOKI2012-08-122-2/+137
| | | | | | | | | | | | | | | | | | Fixes bug 1034212 Change-Id: I523d289807caff74068328f612451cee74b94cbb
* | | Merge "update mailing list, etc in setup.py"2.0Jenkins2012-08-131-3/+3
|\ \ \
| * | | update mailing list, etc in setup.pyDan Wendlandt2012-08-091-3/+3
| |/ / | | | | | | | | | Change-Id: I0f50dd8d2d76b66e39b09d2fe65be66d6d405761
* | | 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 "add pyparsing to pip-requires"Jenkins2012-08-131-2/+1
|\ \ \
| * | | add pyparsing to pip-requiresDan Wendlandt2012-08-121-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | bug 1035953 Change-Id: Ie18fa78f242920e1acfdf1af15232591908c8de8
* | | | Merge "deal with -c option when the list result is empty."Jenkins2012-08-123-1/+35
|\ \ \ \ | |/ / / |/| | |
| * | | deal with -c option when the list result is empty.Yong Sheng Gong2012-08-123-0/+34
| |/ / | | | | | | | | | | | | | | | bug #1033123 Change-Id: Idd10e9ae8fd57e6173ef7f92411176834efebff5
* | | 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-124-5/+313
|/ | | | | | | | | | | | | | | | 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
* Add name or id to quantum cli commands.Yong Sheng Gong2012-08-059-134/+303
| | | | | | | | | | | | | | Bug #1030180 We first lookup the resource id via id if it looks like an id. If we cannot find it via id, we will look it up via name. All of the update/show/delete support reference resource via name or id. To create port/subnet, we can refercen network via network's name. Also in port creation, we support reference subnet in fixed_ip via its name. quantum_test.sh is added to test the command lines after running 'python setup.py install' Change-Id: I54b6912e2c4044ba70aaf604cd79520022de262f
* Allow to retrieve objects by nameSalvatore Orlando2012-07-269-28/+134
| | | | | | | | | | | | | | | Fixes bug 979527 xxx-show commands now can accept either an id or a name of the resource to retrieve, similarly to the "nova get" command. This has been preferred to using mutually exclusive keyword argument, in order to avoid confusion with other CLI tools. NOTE: the current patch allow search by name only for networks. The restriction will be lifted once name attributes for port and subnets are added. Change-Id: Id186139a01c9f2cfc36ca3405b4024bd7780622e
* 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-1316-3911/+14
| | | | | | | | | | | | Bug #1021546 Change-Id: Ic628db01034bc6dfb5fad3d6a2905e243900229a
* | Support allocation pools for subnetGary Kotton2012-07-113-9/+73
|/ | | | | | | | | | | | | Fixes bug 1022227 Usage examples: create_subnet --tenant_id <id> --allocation_pool start=1.1.1.1,end=1.1.1.10 <networkid> <gw> More than one allocation pool can be added by doing the following: --allocation_pool start=1.1.1.1,end=1.1.1.10 --allocation_pool start=1.1.1.123,end=1.1.1.125 ... Change-Id: I313625b6a8c1da6eaca8b1943da52738978ed72b
* Make quantum cli consistent with other cli's practice.Yong Sheng Gong2012-07-058-168/+113
| | | | | | | | | Bug 1011759 We use dash in command names, underscore in options or arguments, adopt noun-verb format command names. Change-Id: Ibeb2b4a31929dbb7008cec3b04bd77e75d9ace1a
* Add post-tag versioning.0.1.1Monty Taylor2012-06-265-73/+117
| | | | Change-Id: I0667c7b72c36a20827730dd829a12430954b666e
* add --fixed-ip argument to create port0.1.0Yong Sheng Gong2012-06-259-43/+146
| | | | | | | | | | | | | | | | | | | | | | | | 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-2132-114/+3550
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Add initial docs.Monty Taylor2012-06-1411-58/+369
| | | | Change-Id: I846eec12e800c15a545946604fe77a0a6b83fb46
* quit and print usage when unsupported version specified.Yong Sheng Gong2012-05-241-1/+2
| | | | | | bug 974835 Change-Id: Iddbf72281be0d4dd819b6f51cc7950d90af0dbbc
* Use --debug to enable printing HTTP message(s) between client andfolsom-1Yong Sheng Gong2012-05-232-6/+14
| | | | | | | | | | | | server, besides logging verbosely. fix Bug #993859 change --verbose into --debug, which is a practice by other clients (nova and glance). note: httplib prints message by print. Patch 2: fix pep8, modify according to some comments Change-Id: Ibc959cca7d89c18b6d5c902f2e98bb856102c51c
* Add HACKING.rst to generated tarballsThierry Carrez2012-05-221-1/+1
| | | | | | | Add HACKING.rst to MANIFEST.in so that it shows in tarballs. Fixes bug 1002776. Change-Id: I937d0673d23d922137e684217a8c4c75a5424800