Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@sandbox glance]# curl -d '{"auth": {"tenantName": "service", "passwordCredentials":{"username": "glance", "password": "glance"}}}' -H "Content-type: application/json" http://192.168.1.51:35357/v2.0/tokens | python -mjson.tool
- % Total % Received % Xferd Average Speed Time Time Time Current
- Dload Upload Total Spent Left Speed
- 104 2416 100 2416 0 103 28291 1206 --:--:-- --:--:-- --:--:-- 28555
- {
- "access": {
- "metadata": {
- "is_admin": 0,
- "roles": [
- "d38000b6af574feb8737a9409177e04d"
- ]
- },
- "serviceCatalog": [
- {
- "endpoints": [
- {
- "adminURL": "http://192.168.1.51:8774/v2/3605a45aa39045e49b57e4af0abe83fc",
- "id": "58a29bdb49774dcfa63e657b96202909",
- "internalURL": "http://192.168.1.51:8774/v2/3605a45aa39045e49b57e4af0abe83fc",
- "publicURL": "http://192.168.1.51:8774/v2/3605a45aa39045e49b57e4af0abe83fc",
- "region": "myregion"
- }
- ],
- "endpoints_links": [],
- "name": "nova",
- "type": "compute"
- },
- {
- "endpoints": [
- {
- "adminURL": "http://192.168.1.51:9292/v1",
- "id": "9bcd0e6b7e924007b5ed53b467bbb15f",
- "internalURL": "http://192.168.1.51:9292/v1",
- "publicURL": "http://192.168.1.51:9292/v1",
- "region": "myregion"
- }
- ],
- "endpoints_links": [],
- "name": "glance",
- "type": "image"
- },
- {
- "endpoints": [
- {
- "adminURL": "http://192.168.1.51:8776/v1/3605a45aa39045e49b57e4af0abe83fc",
- "id": "b34d3088379b4f578df5d98c53712366",
- "internalURL": "http://192.168.1.51:8776/v1/3605a45aa39045e49b57e4af0abe83fc",
- "publicURL": "http://192.168.1.51:8776/v1/3605a45aa39045e49b57e4af0abe83fc",
- "region": "myregion"
- }
- ],
- "endpoints_links": [],
- "name": "volume",
- "type": "volume"
- },
- {
- "endpoints": [
- {
- "adminURL": "http://192.168.1.51:8773/services/Admin",
- "id": "22c82fb92363442a92175750571f04cb",
- "internalURL": "http://192.168.1.51:8773/services/Cloud",
- "publicURL": "http://192.168.1.51:8773/services/Cloud",
- "region": "myregion"
- }
- ],
- "endpoints_links": [],
- "name": "ec2",
- "type": "ec2"
- },
- {
- "endpoints": [
- {
- "adminURL": "http://192.168.1.51:8080/v1",
- "id": "f8ea8e3483124a7db87550244e1093a9",
- "internalURL": "http://192.168.1.51:8080/v1/AUTH_3605a45aa39045e49b57e4af0abe83fc",
- "publicURL": "http://192.168.1.51:8080/v1/AUTH_3605a45aa39045e49b57e4af0abe83fc",
- "region": "myregion"
- }
- ],
- "endpoints_links": [],
- "name": "swift",
- "type": "object-store"
- },
- {
- "endpoints": [
- {
- "adminURL": "http://192.168.1.51:35357/v2.0",
- "id": "08cf32580b064657a9a58688d1aa8baf",
- "internalURL": "http://192.168.1.51:5000/v2.0",
- "publicURL": "http://192.168.1.51:5000/v2.0",
- "region": "myregion"
- }
- ],
- "endpoints_links": [],
- "name": "keystone",
- "type": "identity"
- }
- ],
- "token": {
- "expires": "2013-01-30T14:37:08Z",
- "id": "39751458a4944ce789b1231d56cd0bb3",
- "tenant": {
- "description": null,
- "enabled": true,
- "id": "3605a45aa39045e49b57e4af0abe83fc",
- "name": "service"
- }
- },
- "user": {
- "id": "0e54aecf6ab84346957add9c6517682b",
- "name": "glance",
- "roles": [
- {
- "name": "admin"
- }
- ],
- "roles_links": [],
- "username": "glance"
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement