Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@controller:/tmp/images# curl -d '{"auth": {"tenantName": "openstackDemo", "passwordCredentials":{"username": "adminUser", "password": "password"}}}' -H "Content-type: application/json" http://controller.lab:35357/v2.0/tokens | python -mjson.tool
- % Total % Received % Xferd Average Speed Time Time Time Current
- Dload Upload Total Spent Left Speed
- 100 2288 0 2174 100 114 13897 728 --:--:-- --:--:-- --:--:-- 14025
- {
- "access": {
- "serviceCatalog": [
- {
- "endpoints": [
- {
- "adminURL": "http://controller.lab:8774/v2/281bfc42089444659c1d3da4be76ae44",
- "internalURL": "http://controller.lab:8774/v2/281bfc42089444659c1d3da4be76ae44",
- "publicURL": "http://controller.lab:8774/v2/281bfc42089444659c1d3da4be76ae44",
- "region": "RegionOne"
- }
- ],
- "endpoints_links": [],
- "name": "nova",
- "type": "compute"
- },
- {
- "endpoints": [
- {
- "adminURL": "http://controller.lab:9292/v1",
- "internalURL": "http://controller.lab:9292/v1",
- "publicURL": "http://controller.lab:9292/v1",
- "region": "RegionOne"
- }
- ],
- "endpoints_links": [],
- "name": "glance",
- "type": "image"
- },
- {
- "endpoints": [
- {
- "adminURL": "http://127.0.0.1:8080/",
- "internalURL": "http://127.0.0.1:8080/v1/AUTH_281bfc42089444659c1d3da4be76ae44",
- "publicURL": "http://127.0.0.1:8080/v1/AUTH_281bfc42089444659c1d3da4be76ae44",
- "region": "RegionOne"
- }
- ],
- "endpoints_links": [],
- "name": "swift",
- "type": "storage"
- },
- {
- "endpoints": [
- {
- "adminURL": "http://controller.lab:8776/v1/281bfc42089444659c1d3da4be76ae44",
- "internalURL": "http://controller.lab:8776/v1/281bfc42089444659c1d3da4be76ae44",
- "publicURL": "http://controller.lab:8776/v1/281bfc42089444659c1d3da4be76ae44",
- "region": "RegionOne"
- }
- ],
- "endpoints_links": [],
- "name": "volume",
- "type": "volume"
- },
- {
- "endpoints": [
- {
- "adminURL": "http://controller.lab:8773/services/Admin",
- "internalURL": "http://controller.lab:8773/services/Cloud",
- "publicURL": "http://controller.lab:8773/services/Cloud",
- "region": "RegionOne"
- }
- ],
- "endpoints_links": [],
- "name": "ec2",
- "type": "ec2"
- },
- {
- "endpoints": [
- {
- "adminURL": "http://controller.lab:35357/v2.0",
- "internalURL": "http://controller.lab:5000/v2.0",
- "publicURL": "http://controller.lab:5000/v2.0",
- "region": "RegionOne"
- }
- ],
- "endpoints_links": [],
- "name": "keystone",
- "type": "identity"
- }
- ],
- "token": {
- "expires": "2012-05-04T15:54:23Z",
- "id": "819c5876c3d54cfead14b19cfd95fc7a",
- "tenant": {
- "description": "Default Tenant",
- "enabled": true,
- "id": "281bfc42089444659c1d3da4be76ae44",
- "name": "openstackDemo"
- }
- },
- "user": {
- "id": "c6aec1f834334614bbed8e7711581774",
- "name": "adminUser",
- "roles": [
- {
- "id": "b8215c1892de4a45879ba97f8a16c47d",
- "name": "admin"
- }
- ],
- "roles_links": [],
- "username": "adminUser"
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement