This token is used for auth_token testing and is a valid v3 token other than the catalog which is in v2 format. Convert the catalog to V3 format. Whilst there pretty print the token so we can more easily see what's happening. Change-Id: I893ea6e76f3fcc20b13b331911d7b8288b98991d
121 lines
3.9 KiB
JSON
121 lines
3.9 KiB
JSON
{
|
|
"token": {
|
|
"methods": [
|
|
"password"
|
|
],
|
|
"roles": [
|
|
{
|
|
"name": "role1"
|
|
},
|
|
{
|
|
"name": "role2"
|
|
}
|
|
],
|
|
"expires_at": "2038-01-18T21:14:07Z",
|
|
"project": {
|
|
"id": "tenant_id1",
|
|
"domain": {
|
|
"id": "domain_id1",
|
|
"name": "domain_name1"
|
|
},
|
|
"enabled": true,
|
|
"description": null,
|
|
"name": "tenant_name1"
|
|
},
|
|
"catalog": [
|
|
{
|
|
"endpoints": [
|
|
{
|
|
"interface": "admin",
|
|
"url": "http://127.0.0.1:8776/v1/64b6f3fbcc53435e8a60fcf89bb6617a",
|
|
"region": "regionOne"
|
|
},
|
|
{
|
|
"interface": "internal",
|
|
"url": "http://127.0.0.1:8776/v1/64b6f3fbcc53435e8a60fcf89bb6617a",
|
|
"region": "regionOne"
|
|
},
|
|
{
|
|
"interface": "public",
|
|
"url": "http://127.0.0.1:8776/v1/64b6f3fbcc53435e8a60fcf89bb6617a",
|
|
"region": "regionOne"
|
|
}
|
|
],
|
|
"type": "volume",
|
|
"name": "volume"
|
|
},
|
|
{
|
|
"endpoints": [
|
|
{
|
|
"interface": "admin",
|
|
"url": "http://127.0.0.1:9292/v1",
|
|
"region": "regionOne"
|
|
},
|
|
{
|
|
"interface": "internal",
|
|
"url": "http://127.0.0.1:9292/v1",
|
|
"region": "regionOne"
|
|
},
|
|
{
|
|
"interface": "public",
|
|
"url": "http://127.0.0.1:9292/v1",
|
|
"region": "regionOne"
|
|
}
|
|
],
|
|
"type": "image",
|
|
"name": "glance"
|
|
},
|
|
{
|
|
"endpoints": [
|
|
{
|
|
"interface": "admin",
|
|
"url": "http://127.0.0.1:8774/v1.1/64b6f3fbcc53435e8a60fcf89bb6617a",
|
|
"region": "regionOne"
|
|
},
|
|
{
|
|
"interface": "internal",
|
|
"url": "http://127.0.0.1:8774/v1.1/64b6f3fbcc53435e8a60fcf89bb6617a",
|
|
"region": "regionOne"
|
|
},
|
|
{
|
|
"interface": "public",
|
|
"url": "http://127.0.0.1:8774/v1.1/64b6f3fbcc53435e8a60fcf89bb6617a",
|
|
"region": "regionOne"
|
|
}
|
|
],
|
|
"type": "compute",
|
|
"name": "nova"
|
|
},
|
|
{
|
|
"endpoints": [
|
|
{
|
|
"interface": "admin",
|
|
"url": "http://127.0.0.1:35357/v3",
|
|
"region": "RegionOne"
|
|
},
|
|
{
|
|
"interface": "internal",
|
|
"url": "http://127.0.0.1:35357/v3",
|
|
"region": "RegionOne"
|
|
},
|
|
{
|
|
"interface": "public",
|
|
"url": "http://127.0.0.1:5000/v3",
|
|
"region": "RegionOne"
|
|
}
|
|
],
|
|
"type": "identity",
|
|
"name": "keystone"
|
|
}
|
|
],
|
|
"user": {
|
|
"domain": {
|
|
"id": "domain_id1",
|
|
"name": "domain_name1"
|
|
},
|
|
"name": "user_name1",
|
|
"id": "user_id1"
|
|
}
|
|
}
|
|
}
|