commit 46a739531f9c2eb55c65000eca6b5737b16145ab
Author: David Lyle <email address hidden>
Date: Fri May 29 11:10:12 2015 -0600
Adding download for openrc file for keystone v3
The existing openrc file download only works for keystone v2. Regardless
of whether v3 is enabled in Horizon.
This adds support for both. A v2.0 and a v3 compatible openrc file
download. A couple of different situations are covered.
1) support for keystone v2 only: OPENSTACK_API_VERSION={'identity': 2.0}
In this case only the v2 option is shown.
2) Use of keystone v3 in a potentially mixed environment. Since it is
possible to use keystone v2 and v3 in the same enviroment, having
OPENSTACK_API_VERSION={'identity': 3} displays options for downloading
v2 or v3 compatible openrc files.
Rationale for making the existing methods and urls support v3+. By
moving the v2.0 functionality to new version specific methods, they can
be more easily excised when v2 is obsolete and we're left with the newer
version support.
Reviewed: https:/ /review. openstack. org/186846 /git.openstack. org/cgit/ openstack/ horizon/ commit/ ?id=46a739531f9 c2eb55c65000eca 6b5737b16145ab
Committed: https:/
Submitter: Jenkins
Branch: master
commit 46a739531f9c2eb 55c65000eca6b57 37b16145ab
Author: David Lyle <email address hidden>
Date: Fri May 29 11:10:12 2015 -0600
Adding download for openrc file for keystone v3
The existing openrc file download only works for keystone v2. Regardless
of whether v3 is enabled in Horizon.
This adds support for both. A v2.0 and a v3 compatible openrc file
download. A couple of different situations are covered.
1) support for keystone v2 only: OPENSTACK_ API_VERSION= {'identity' : 2.0}
In this case only the v2 option is shown.
2) Use of keystone v3 in a potentially mixed environment. Since it is API_VERSION= {'identity' : 3} displays options for downloading
possible to use keystone v2 and v3 in the same enviroment, having
OPENSTACK_
v2 or v3 compatible openrc files.
Rationale for making the existing methods and urls support v3+. By
moving the v2.0 functionality to new version specific methods, they can
be more easily excised when v2 is obsolete and we're left with the newer
version support.
Change-Id: I29c62dc7436cc3 9adc1a4af9d90ce b6767e7a177
Closes-Bug: #1460150