Comment 4 for bug 1176197

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-quantumclient (master)

Reviewed: https://review.openstack.org/29157
Committed: http://github.com/openstack/python-quantumclient/commit/06375f089b9938f1db7f6abc4b2144df2ff6b4fd
Submitter: Jenkins
Branch: master

commit 06375f089b9938f1db7f6abc4b2144df2ff6b4fd
Author: Carl Baldwin <email address hidden>
Date: Tue Apr 30 15:20:10 2013 -0600

    Allow the HTTPClient consumer to pass endpoint_type.

    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