jclouds-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yury Kats <yuryk...@yahoo.com>
Subject OpenStack Keystone endpoints
Date Tue, 14 Oct 2014 02:20:53 GMT
Keystone server allows me to list/manage endpoints via /v2_0/endpoints URL.
I can't find corresponding APIs in jClouds. Have those not been implemented or am I missing
something?

Example REST calls:
$ keystone --debug --os-token ADMIN --os-endpoint http://127.0.0.1:4010/v2.0/  endpoint-list
DEBUG:keystoneclient.session:REQ: curl -i -X GET http://127.0.0.1:4010/v2.0/endpoints -H "User-Agent:
python-keystoneclient" -H "X-Auth-Token: ADMIN"

$ keystone --debug --os-token ADMIN --os-endpoint http://127.0.0.1:4010/v2.0/  endpoint-create
--service swift --publicurl qq
DEBUG:keystoneclient.session:REQ: curl -i -X POST http://127.0.0.1:4010/v2.0/endpoints -H
"User-Agent: python-keystoneclient" -H "Content-Type: application/json" -H "X-Auth-Token:
ADMIN" -d '{"endpoint": {"adminurl": null, "service_id": "e7573e3ef683477491766ff955221c94",
"region": "regionOne", "internalurl": null, "publicurl": "qq"}}'

$ keystone --debug --os-token ADMIN --os-endpoint http://127.0.0.1:4010/v2.0/  endpoint-delete
642503c6e32047b5a2f95c6558732a17
DEBUG:keystoneclient.session:REQ: curl -i -X DELETE http://127.0.0.1:4010/v2.0/endpoints/642503c6e32047b5a2f95c6558732a17
-H "User-Agent: python-keystoneclient" -H "X-Auth-Token: ADMIN"

Thanks,
Yury

Mime
View raw message