| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
Change-Id: Id0f758b105b51059c6788afb92ac5840caff6102
|
| |
|
|
| |
Change-Id: I95a351071e68dfc2d67f3895c87f45ad2221767f
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| |\ \ \ |
|
| | |/ /
| | |
| | |
| | |
| | |
| | | |
Fix bug 1168998
Change-Id: I25bf357d069b99db467db43900d293f30c2a7d30
|
| |\ \ \ |
|
| | |/ /
| | |
| | |
| | |
| | |
| | | |
Fixes bug 1061638
Change-Id: Ie36126a38627a6707e82116fb6b7bd97755f8fd0
|
| |\ \ \ |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| |\ \ \ \
| |/ / /
|/| | | |
|
| | | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| |\ \ \
| |_|/
|/| | |
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |/
|
|
|
|
|
|
| |
Fixes bug 1167901
This commit also removes backslashes for line break.
Change-Id: Id26fdfd2af4862652d7270aec132d40662efeb96
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |\ \
| |/
|/| |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
blueprint l3-ext-gw-modes
Adds the --disable-snat option to the router-gateway-set command
Change-Id: I1e6e339e3332d7073f761f407318811f22d283b1
|
| |\ \ |
|
| | |/
| |
| |
| |
| |
| | |
Fixes bug 1179007
Change-Id: I6d7a6b7c85361e1568719ad11035158f4f6d9b35
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| |\ \ \ |
|
| | | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | | |
make it possible to edit the name and description of security groups.
Fixes: bug #918393
Change-Id: I7b9dd3f9ad2f59aee1b37e06350ce8f5e3a40f64
|
| |/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |\ \
| |/
|/| |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* 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
|
| |\ \ |
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fix bug 1160704
* httplib2 doesn't work with unicode url and params. So encode all unicode
to utf-8 before request.
* Fix xml serializer doesn't work with unicode
* Decode command argument to unicode in main function
* Exception's message maybe include unicode, decode message to unicode
before logging or print.
* Sync the changing of serializer/deserilizer's code with quantum server code
https://review.openstack.org/#/c/25482/
https://review.openstack.org/#/c/25046/
https://review.openstack.org/#/c/21410/
* Enable xml test
Change-Id: Ib140e34d54cc916e2ea172e4bad9e4a77388723a
|
| |/
|
|
|
|
|
|
| |
Fix bug 1165962
And upgrade cliff to 1.3.2, because cliff 1.3.1 depends on prettytable<0.7
Change-Id: I6b38a2d77f6b9bf88d6d64f6c02b98b6c21fda3a
|
| |
|
|
|
|
|
|
|
| |
* flake8 supports more checks than pep8 (e.g. detection of
unused imports and variables), and has an extension mechanism.
A plugin to support automatic HACKING validation is planned.
* See: http://flake8.readthedocs.org/
Change-Id: I1cba551fadf87f3dbc40a002736c1009e7b9d5b5
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
In help info required args are changed to go after optional. The change
affects 'lb-healthmonitor-create' and 'lb-member-create' commands.
Fixes bug 1157502
Change-Id: I5bb2337796c8b725333ed23a662061a4f276985c
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Implements: blueprint tests-in-root
Change-Id: I6a1dbc59720abcaafb6fd9b8585f3f6065dcde92
|
| |/ /
| |
| |
| |
| |
| |
| |
| |
| | |
auth info (in particular token and endpoint_url) can be reused
in different quantum client instances to reduce roundtrips with keystone
fixes bug 1150051
Change-Id: I3b2f23f364099bdb08992130d5edb87222e8d387
|
| |\ \
| | |
| | |
| | | |
constructor"
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Fixes bug 1152427
Change-Id: Ic7811d928fd00cde0a72f451b5ede8351092a54c
|
| |\ \ \ |
|
| | | |/
| |/|
| | |
| | |
| | |
| | | |
These 2 modules are useful for cleaning up of the exceptions hierarchy.
Change-Id: I0bb84e1969523be2eea077711acc5702bc63b023
|
| |\ \ \ |
|
| | | |/
| |/|
| | |
| | |
| | |
| | | |
Bug #1160332
Change-Id: I4da1df900ff29f75e11b91186200d7841602bff4
|
| |/ /
| |
| |
| |
| |
| |
| |
| | |
The metavar value for --remote-group-id was left out in the patch
that renamed source_(group_id|ip_prefix) to remote. This patch
renames this instance of SOURCE to REMOTE.
Change-Id: I99d538e1cdc0b29e62b499c9c8ba8b3a31d77f7a
|
| | |
| |
| |
| |
| |
| | |
Bug #1160203
Change-Id: I01c6aed18ccd7fe61a5ea4562c79d47222175147
|