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.
Reviewed: https:/ /review. openstack. org/29157 github. com/openstack/ python- quantumclient/ commit/ 06375f089b9938f 1db7f6abc4b2144 df2ff6b4fd
Committed: http://
Submitter: Jenkins
Branch: master
commit 06375f089b9938f 1db7f6abc4b2144 df2ff6b4fd
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: Iaffcaff291d433 a605d8379dc89c1 308096d36c2
Fixes: Bug #1176197