40 Commits

Author SHA1 Message Date
Ziad Sawalha
8db366c448 Support for version and extension discovery
- Supports unauthenticated call to Keystone to discover
  supported API versions
- Added command-line support (usage: keystone discover)
- Added client support (keystoneclient.genenric client).
  Client returns dicts, whereas shell command prints
  formated output.
- Added tests for genenric client
- Replicates 'nove discover' in python-novaclient
- Starts to address blueprint keystone-client
- keystone discover output looks like this:
    $ keystone discover
    Keystone found at http://localhost:35357
        - supports version v1.0 (DEPRECATED) here http://localhost:35357/v1.0
        - supports version v1.1 (CURRENT) here http://localhost:35357/v1.1
        - supports version v2.0 (BETA) here http://localhost:35357/v2.0
            - and HP-IDM: HP Token Validation Extension
            - and OS-KSADM: Openstack Keystone Admin
            - and OS-KSCATALOG: Openstack Keystone Catalog

Change-Id: Id16d34dac094c780d36afb3e31c98c318b6071ac
2012-01-20 12:14:02 -06:00
jakedahn
cbe1f82931 Implementing a minimal, but useful CLI.
Change-Id: I8181cc2395ae1aad6a324ec65395ebc62455f29b
2012-01-18 23:17:59 -08:00
Thierry Carrez
d1171195e7 Adjust version number to match other deliveries
Set version from 2.7 to 2012.1 to match the other OpenStack
Keystone deliveries (python-keystoneclient will be released
as part of Keystone 2012.1~e3). Also adjusted the location
of the git repository to match new location. Fixes bug 917656.

Change-Id: I4d8d071e3cdc5665e29a89067958f5f1e8964221
2012-01-17 15:06:25 +01:00
Jesse Andrews
d67df1a3d9 update ec2 crud responses we test against
this is to support blueprint: generate-ec2-access-secret

Change-Id: I55c2758e68b207adc363cde22e82ff9b5fdbf1f4
2012-01-16 17:04:53 -08:00
Jenkins
c7a72f15d7 Merge changes Iff60e659,Iff2102fc
* changes:
  Install a good version of pip in the venv.
  Modify tox.ini file to do the standard thigns.
2012-01-17 00:47:50 +00:00
Jesse Andrews
716d5ef25a support ec2 crud calls
This is to support blueprint generate-ec2-access-secret

Change-Id: I4474acc7d2193c4b04ecb11028d8ecb13e523266
2012-01-16 11:20:15 -08:00
Monty Taylor
572f250cd7 Install a good version of pip in the venv.
Change-Id: Iff60e6595a3a331961ac8d6be2224edf6548b470
2012-01-02 14:01:24 -08:00
Monty Taylor
f2796f1e81 Modify tox.ini file to do the standard thigns.
Change-Id: Iff2102fccdb60e8845ab2cd22c6661f1d56dde5c
2011-12-30 14:28:05 -08:00
Monty Taylor
64c42c838e Added in common test, venv and gitreview stuff. 2011-12-22 00:12:22 +00:00
Gabriel Hurley
5704463a70 Merge pull request #3 from anotherjesse/standardize
Standardize OS API variable naming and project cleanup.
2011-12-21 13:07:32 -08:00
Jesse Andrews
6e970244a0 log when no service catalog 2011-12-21 13:00:10 -08:00
Jesse Andrews
1805097c8b update comment to be tenant_name 2011-12-19 11:36:31 -08:00
Jesse Andrews
8ab0bb9d22 should have had tenant_name 2011-12-19 11:35:27 -08:00
Jesse Andrews
11a49bbe7d use full name for args in readme 2011-12-19 10:03:08 -08:00
Jesse Andrews
f765daf336 finish removing project_id 2011-12-19 10:00:39 -08:00
Jesse Andrews
977227ce3e update test env shell 2011-12-18 23:29:00 -08:00
Jesse Andrews
12969bb677 Fix the tests 2011-12-18 23:19:26 -08:00
Jesse Andrews
d37c20ca72 remove X-Auth-Project-Id, re-add auth by token support (most tests pass) 2011-12-18 22:08:26 -08:00
Jesse Andrews
604b748b51 pep8 2011-12-18 21:31:23 -08:00
Jesse Andrews
74bdba290b set the management_url from the service_catalog 2011-12-18 21:26:38 -08:00
Jesse Andrews
caad71d1b7 more work on standardizing project_id 2011-12-17 23:02:27 -08:00
Jesse Andrews
70f83389a9 typo in comments 2011-12-17 22:50:49 -08:00
Jesse Andrews
55c01652b2 remove print statements and uncomment exceptions 2011-12-17 22:48:37 -08:00
Jesse Andrews
a8001d3e6c more work on standardization of cliauth 2011-12-17 22:36:59 -08:00
Jesse Andrews
0f392a58c3 remove user_id as you shouldn't auth using it 2011-12-17 22:28:31 -08:00
Jesse Andrews
cfbebeeae0 initial pass to cliauth blueprint 2011-12-17 22:07:13 -08:00
Gabriel Hurley
6c164d2fe0 Improved error message when unable to communicate with keystone. 2011-12-07 13:05:13 -08:00
Gabriel Hurley
0c2a521974 Improved logging/error messages. 2011-11-17 14:25:04 -08:00
Gabriel Hurley
5539471003 Merge pull request #2 from 4P/pep8cleanup
PEP8 cleanup and test fixes.
2011-11-17 10:37:21 -08:00
Joe Heck
8aac166bda adding myself to authors 2011-11-17 10:07:29 -08:00
Joe Heck
c39261176b switching back per docs 2011-11-11 09:29:27 -08:00
Joe Heck
e109d09304 fixing up the VerifyAll() bits 2011-11-10 20:49:52 -08:00
Joe Heck
5788d215e9 more pep8 cleanup 2011-11-10 17:24:48 -08:00
Gabriel Hurley
0d228cfc7b Merge pull request #1 from 4P/pep8cleanup
pep8 cleanup
2011-11-10 11:44:47 -08:00
Joe Heck
e2d98e5844 pep8 cleanup 2011-11-10 08:51:12 -08:00
Gabriel Hurley
6cd7a43024 Updated the docs a little bit. 2011-10-31 15:59:25 -07:00
Gabriel Hurley
2cb99fccfe Project ID always treated as a string.
Keystone chokes on authorization if the project id is sent as an integer, so we'll cast it to a unicode string on our end.
2011-10-31 15:41:05 -07:00
Gabriel Hurley
cbaa587d62 Cleans up the data returned for a token a little. 2011-10-27 13:23:41 -07:00
Gabriel Hurley
d7995ebb1b Fixed a typo... "API" should've been "CLI". Thanks termie. ;-) 2011-10-27 13:23:20 -07:00
Gabriel Hurley
17f6b83ee6 Initial commit. 2011-10-25 16:50:08 -07:00