summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* OpenDev Migration PatchquantumclientOpenDev Sysadmins2019-04-191-1/+1
| | | | | | | | | | | | | | | This commit was bulk generated and pushed by the OpenDev sysadmins as a part of the Git hosting and code review systems migration detailed in these mailing list posts: http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html Attempts have been made to correct repository namespaces and hostnames based on simple pattern matching, but it's possible some were updated incorrectly or missed entirely. Please reach out to us via the contact information listed at https://opendev.org/ with any questions you may have.
* Proxy find_resource_by_name_or_id from neutron client2.2.4.3Matt Riedemann2013-09-301-2/+3
| | | | | | | | | | | | | Change I95a351071e68dfc2d67f3895c87f45ad2221767f gutted quantumclient so it serves as a proxy for neutronclient, but in the process the static method find_resource_by_name_or_id was removed. Nova is using find_resource_by_name_or_id directly so it needs to still exist in quantumclient and proxy through to neutronclient. This is needed for the stable branches which are still using python-quantumclient. Closes-Bug: #1233264 Change-Id: I01b099aa34fedb63967517f288905321816eaf18
* add missing symbols for 3rd party libs2.2.4.2Mark McClain2013-09-272-0/+6
| | | | Change-Id: Id0f758b105b51059c6788afb92ac5840caff6102
* Remove quantumclient and proxy to neutronclient2.2.4.1Mark McClain2013-09-2566-10992/+35
| | | | Change-Id: I95a351071e68dfc2d67f3895c87f45ad2221767f
* Merge "Remove the monkey patching of _ into the builtins."2.2.3Jenkins2013-07-0111-9/+8
|\
| * Remove the monkey patching of _ into the builtins.Alex Gaynor2013-06-1411-9/+8
| | | | | | | | | | | | | | | | Previous _ was monkey patched into builtins whenever certain modules were imported. This removes that and simply imports it when it is needed. Change-Id: I8b7cdc7a8da21ed3e8bc69b18414dfc89e8935b8
* | Merge "Enables H404 check (multi line docstring) in flake8"Jenkins2013-07-017-292/+115
|\ \
| * | Enables H404 check (multi line docstring) in flake8Akihiro MOTOKI2013-06-177-292/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | This commit ensures docstring follows the docstring convention. Also enables H301 (one import per line) in flake8. There is already no violation the source codes. Change-Id: Icf6ce5bae40b2e6492c060a28587d825a1837b43
* | | Merge "Allow subnet name in lb-vip-create and lb-pool-create"Jenkins2013-06-292-2/+8
|\ \ \
| * | | Allow subnet name in lb-vip-create and lb-pool-createAkihiro MOTOKI2013-06-162-2/+8
| |/ / | | | | | | | | | | | | | | | Fix bug 1168998 Change-Id: I25bf357d069b99db467db43900d293f30c2a7d30
* | | Merge "Support router-interface-add/delete by port_id"Jenkins2013-06-293-44/+96
|\ \ \
| * | | Support router-interface-add/delete by port_idAkihiro MOTOKI2013-06-173-44/+96
| |/ / | | | | | | | | | | | | | | | Fixes bug 1061638 Change-Id: Ie36126a38627a6707e82116fb6b7bd97755f8fd0
* | | python3: Introduce py33 to tox.iniChuck Short2013-06-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Introduce py33 to tox.ini to make testing with python3 easier. Change-Id: Id50ca397612d4948325a0ad0f39451a16b86d5bd Signed-off-by: Chuck Short <chuck.short@canonical.com>
* | | Merge "Fix mocking of HTTPClient.request() method."Jenkins2013-06-212-11/+14
|\ \ \
| * | | Fix mocking of HTTPClient.request() method.Roman Podolyaka2013-06-182-11/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The test_extend_list_exceed_max_uri_len test case mocks the request() method of HTTPClient class so that it raises the RequestURITooLong exception. But the real method can't possibly raise it (Client.do_request() does this instead). Mocks should emulate the behavior of methods they stub out and not change it in any way. Fixes bug 1192197. Change-Id: I62b2db111ef251f95eb9aa9c9cc00b53fdbccc68
* | | | Merge "Make --version option print a more detailed client version."Jenkins2013-06-212-1/+24
|\ \ \ \ | |/ / / |/| | |
| * | | Make --version option print a more detailed client version.Carl Baldwin2013-06-212-1/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The python quantum client was printing "quantum 2.0" regardless of the version of the client. This seems to be the version of the API but people expect the version of the client to be printed. I looked at the implementation of --version in nova and keystone. The one in keystone worked and was fairly straight-forward utilizing code from the pbr package. I added this code to version.py rather than __init__.py. Change-Id: I53264b454eb16d5c294ad40ab6494387637950db Fixes: Bug #1190652
* | | | Merge "Add metavar for --fixed-ip"Jenkins2013-06-171-1/+1
|\ \ \ \ | |_|/ / |/| | |
| * | | Add metavar for --fixed-iparosen2013-06-101-1/+1
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | This patch adds a metavar for the --fixed-ip option so that it's more clear that the user needs to pass in ip_address=IP_ADDR. Fixes bug 1188889 Change-Id: I66efd444a2df52603f124637072f194497e241e2
* | | Merge "Remove class-based import in the code repo"Jenkins2013-06-1521-408/+340
|\ \ \ | |_|/ |/| |
| * | Remove class-based import in the code repoAkihiro MOTOKI2013-06-1321-408/+340
| | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 1167901 This commit also removes backslashes for line break. Change-Id: Id26fdfd2af4862652d7270aec132d40662efeb96
* | | Merge "update to latest pbr & remove distribute from tox"2.2.2a12.2.2Jenkins2013-06-142-2/+3
|\ \ \
| * | | update to latest pbr & remove distribute from toxMark McClain2013-06-132-2/+3
| |/ / | | | | | | | | | Change-Id: I61eb9902446a4fd975d5ea6fa7909ddcb3f7e761
* | | Merge "Remove explicit distribute depend."Jenkins2013-06-131-1/+0
|\ \ \ | |/ / |/| |
| * | Remove explicit distribute depend.Monty Taylor2013-06-111-1/+0
| |/ | | | | | | | | | | | | Causes issues with the recent re-merge with setuptools. Advice from upstream is to stop doing explicit depends. Change-Id: I70638f239794e78ba049c60d2001190910a89c90
* | Merge "Rename README to README.rst"Jenkins2013-06-123-2/+2
|\ \ | |/ |/|
| * Rename README to README.rstDirk Mueller2013-06-013-2/+2
| | | | | | | | | | | | | | README.rst seems to be more standard accross OpenStack modules. Change-Id: I82cd80e1e816b9c2e9774ad87c1a68bcf7dd8342
* | Merge " Rename requires files to standard names."Jenkins2013-06-093-2/+2
|\ \
| * | Rename requires files to standard names.Carlos D. Garza2013-05-283-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rename tools/pip-requires to requirements.txt and tools/test-requires to test-requirements.txt. These are standard files, and tools in the general world are growing intelligence about them. adding test-requirements.txt to quantumclient/openstack/common/setup.py per review instructions. Change-Id: Ibf991b400bfbeb4222216649901586e01a0255b1 Fixes: bug #1179008
* | | Merge "Set default columns in ext-list"Jenkins2013-06-0513-82/+77
|\ \ \
| * | | Set default columns in ext-listAkihiro MOTOKI2013-05-2713-82/+77
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously ext-list does not inherits ListCommand base class for listing and cannot specify columns to display. This commit changes ext-list to use ListCommand and adds a unit test for extensions. This also changes the default value of _formatters in ListCommand to {}. By this subclasses no longer override _formatters unless required. Fixes bug 1161866 Change-Id: Ifd9ab54d4e84a2b7a1d7eecd67f6270ec643db1d
* | | Merge "CLI support for disabling SNAT"Jenkins2013-06-022-3/+9
|\ \ \ | |_|/ |/| |
| * | CLI support for disabling SNATSalvatore Orlando2013-05-162-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | blueprint l3-ext-gw-modes Adds the --disable-snat option to the router-gateway-set command Change-Id: I1e6e339e3332d7073f761f407318811f22d283b1
* | | add readme for 2.2.22.2.2aMark McClain2013-05-291-0/+8
| |/ |/| | | | | Change-Id: Id32a4a72ec1d13992b306c4a38e73605758e26c7
* | Merge "Migrate to pbr."Jenkins2013-05-258-442/+55
|\ \
| * | Migrate to pbr.Clark Boylan2013-05-248-442/+55
| | | | | | | | | | | | | | | | | | Fixes bug 1179007 Change-Id: I6d7a6b7c85361e1568719ad11035158f4f6d9b35
* | | Merge "Avoid error 414 when retrieving subnet cidrs for ListNetworks"Jenkins2013-05-225-4/+110
|\ \ \
| * | | Avoid error 414 when retrieving subnet cidrs for ListNetworksSalvatore Orlando2013-05-035-4/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug 1172537 In order to avoif 414 the list subnet requests will be split in multiple requests. The total URI len for each of these requests will be lower than 8K (the default maximum for eventlet.wsgi.server). The patch tries to submit a single request, and if the URI is too long an exception is raised before the request is sent over the wire; the exception handler will split the subnet id list, and submit the new requests. This patch does not address the case in which the server is configured with a maximum URI length different from 8K. Change-Id: Ia2414cd5374a91d3d12215807037a5d46b836ad6
* | | | Merge "Add update method of security group name and description"Jenkins2013-05-224-0/+58
|\ \ \ \
| * | | | Add update method of security group name and descriptionZhenguo Niu2013-05-154-0/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | make it possible to edit the name and description of security groups. Fixes: bug #918393 Change-Id: I7b9dd3f9ad2f59aee1b37e06350ce8f5e3a40f64
* | | | | Merge "Allow the HTTPClient consumer to pass endpoint_type."Jenkins2013-05-217-6/+216
|\ \ \ \ \ | |_|_|_|/ |/| | | |
| * | | | Allow the HTTPClient consumer to pass endpoint_type.Carl Baldwin2013-05-217-6/+216
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes the default behavior of the client. It will now choose publicURL by default rather than adminURL. Now allows the consumer to pass adminURL, internalURL or some other endpoint type when constructing a Client to override this default behavior. Adds --endpoint-type option to the shell client. Defaults to the environment variable OS_ENDPOINT_TYPE or publicURL. This was patterned after the same option in the Nova client. Adds a new exception type to handle the case where a suitable endpoint type is not found in the catalog. Without this, the exception encountered is a KeyError that was not clearly reported to the caller of the quantum command line. Change-Id: Iaffcaff291d433a605d8379dc89c1308096d36c2 Fixes: Bug #1176197
* | | | Merge "Make flake8 deps consistent with other projects."Jenkins2013-05-141-2/+6
|\ \ \ \ | |/ / / |/| | / | | |/ | |/|
| * | Make flake8 deps consistent with other projects.Clark Boylan2013-05-111-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | Make the flake8 dependencies consistent with openstack/requirements and the other OpenStack projects. Fixes bug 1172444. Change-Id: I04bd814ad51cf53a3fa0026028a36de461da45d4
* | | Merge "Improve unit tests for python-quantumclient"Jenkins2013-05-131-0/+190
|\ \ \ | |/ / |/| |
| * | Improve unit tests for python-quantumclientTatyana Leontovich2013-04-261-0/+190
| | | | | | | | | | | | | | | | | | | | | | | | | | | Partially fixes bug 1137783. Add tests for: quantumclient.common.utils Partially Fixes: bug #1137783 Change-Id: I6491eb881d3f465d11a649d55cde7caba77ed19b
* | | Merge "Change variable name of admin_state_down to admin_state"Jenkins2013-05-108-21/+20
|\ \ \ | |_|/ |/| |
| * | Change variable name of admin_state_down to admin_stateAkihiro MOTOKI2013-04-088-21/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is confusing that admin_state_down=False means admin-state is DOWN. It is easy to understand if the variable name matches its value. Also removes 'default=xxx' from options with store_true/false action since store_true/false sets the default value implicitly. Fixes bug 1161853 Change-Id: I3146dd8974990c94e5f9b3b5bf6a8b28a245d64e
* | | Fix a comment formatting to make pep8 test passRoman Podolyaka2013-04-191-6/+6
| |/ |/| | | | | | | | | | | | | | | | | New version of pyflakes does checking of doctests. We have a comment that looks like a doctest, but in fact it's not. This makes pep8 test fail. Fixes bug 1170639. Change-Id: Iee4f1bb8fd8284c6d1bb0111e23a61f434f3f457
* | Enable automatic validation of many HACKING rules.Maru Newby2013-04-0827-81/+90
| | | | | | | | | | | | | | | | | | | | * Add hacking to the tox build - a set of flake8 plugins that perform automatic validation of many HACKING.rst rules. * This patch configures hacking in the tox build and performs the mechanical cleanup required to allow the checks to pass. * See https://pypi.python.org/pypi/hacking Change-Id: Ib41313b5aae991e6ffef2a89dd69e83985bdc36d