| Commit message (Collapse) | Author | Age | Files | Lines |
| |\ |
|
| | |
| |
| |
| |
| | |
Change-Id: Ie7faeb604e0813401e5d1816a8f7c6791a16b001
Implements: blueprint fwaas-client-cli
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Even in case of DEBUG level logging credentials (especially those that
give admin level access) should not be saved into log files.
This way of handling it has the side effect that if someone uses
password "password", it will be replaced in another place too... but
password "password" or some other keyword that can be found in the
request itself was a pretty bad idea to begin with.
Shell utilities are not affected and the verbose mode will still
display the passwords to make debugging easy.
Implements: blueprint limit-credentials-logging
Change-Id: I50d0ebbfbd44c7a5b162d9334b4fdbda67e5c28d
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
implements blueprint service-types-cli
Add command service-provider-list - lists service providers available
in neutron configuration
Change-Id: I2ea25abc6d54b93fd9d11e8c494d7e3f77f25c53
|
| |/
|
|
|
|
|
|
| |
Due to the mox object being created twice, anything that was mocked
by the original instance only will never be unset. Remove the repeated
self.mox creation to allow new tests to run properly.
Change-Id: Icf644178f5a8270f913997e7e3f10dade412b321
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- add --os-cacert option which allows to set a file containing
certificates of root CAs (certificate authorities) that are
required for validation of HTTPS servers SSL certificates
- wrap httplib2 SSL certificates validation errors with a
custom quantumclient exception
Blueprint: quantum-client-ssl
Change-Id: I4e6a7d177ba14314ba9bed613ec2684bffc35222
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
port-update --security_groups list=true ... is not user-friendly.
bug 1161078
This commit also changes the followings:
- Add --no-security-groups options to port-create for consistency.
- Make --security-group and --no-security-groups mutual-exclusive
to prevent both options specified at the same time.
Change-Id: Ibfe165a0cbdfb0eb582784c80a3371de33108fdb
|
| | |/
|/|
| |
| |
| |
| | |
blueprint lbaas-agent-scheduler
Change-Id: Iba1682b122d5ae411f67ab535aecbfc4696aa925
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When a duplicate match is found the client previously raised a
NeutronClientException which made it hard for programs using the client
to handle errors. This patch now makes it raise a
NeutronClientNoUniqueMatch exception instead.
Fixes bug: 1200323
Change-Id: I6ef6f9a9e257104f676dde7ec26be98417ec70e0
|
| |\ \ |
|
| | | |
| | |
| | |
| | | |
Change-Id: I0813a7594774d34b798fc8be316cfc325d4e4a95
|
| |\ \ \
| |/ /
|/| | |
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Bug #1086232
We introduce the action=clear to unknown argument part of
the command line. With this option, user can specify which
attribute will have None value.
For example to set dns_nameservers of subnet to None, we use:
quantum subnet-update subnetname --dns_nameservers action=clear
Of course, client command developer can use known option like --no-gateway
to do the same job.
Change-Id: Ia8dffcfd1122259d545a61e71db25e459639d130
|
| |\ \ |
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Currently HTTPClient class sets the 'force_exception_to_status_code'
instance variable to True. This actually leads to the next problem:
there is no way to distinguish between errors which have the same
status code. E. g. both SSL handshake error and a general Bad Request
error have status code 400, and the only way to distinguish between them
is to analyze the error message content, that is both error-prone and ugly.
The proposed solution:
- leaves the 'force_exception_to_status_code' set to False
- adds a try/except wrapper for the request() call to handle
httplib2 exceptions (e. g. host not found, socket timeout, etc)
Blueprint: quantum-client-ssl
Change-Id: Ib168fadc67568d5d6247f7addbe731e8832a39de
|
| |/
|
|
|
|
|
|
|
|
| |
Under the Keystone v3 API Tenant names are not necessarily uniques
across Domains for a User, so the client should also allow
authentication by tenant_id
Fixes bug 1196486
Change-Id: I3f385a19c1d3d66f5539f901796bbaa22d315762
|
| |
|
|
|
|
| |
Implements Blueprint: remove-use-of-quantum
Change-Id: Idebe92d56d277435ffd23f292984f9b8b8fdb2df
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | | |
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
|
| |/
|
|
|
|
|
|
| |
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
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| |/
|
|
|
|
|
|
|
| |
Partially fixes bug 1137783. Add tests for:
quantumclient.common.utils
Partially Fixes: bug #1137783
Change-Id: I6491eb881d3f465d11a649d55cde7caba77ed19b
|
| |
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
|
|
|
|
|
| |
* 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
|
|
|
Implements: blueprint tests-in-root
Change-Id: I6a1dbc59720abcaafb6fd9b8585f3f6065dcde92
|