Revision 551381cd
b/snf-astakos-app/astakos/im/templates/api/access.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
{% load filters %} |
|
3 |
<access xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|
4 |
xmlns="http://docs.openstack.org/identity/api/v2.0"> |
|
5 |
<token id="{{access.token.id}}" expires="{{access.token.expires}}"> |
|
6 |
<tenant id="{{access.token.tenant.id}}" name="{{access.token.tenant.name}}" /> |
|
7 |
</token> |
|
8 |
<user id="{{access.user.id}}" name="{{access.user.name}}"> |
|
9 |
<roles> |
|
10 |
{% for r in access.user.roles %} |
|
11 |
<role id="{{r.id}}" name="{{r.name}}"/> |
|
12 |
{% endfor %} |
|
13 |
</roles> |
|
14 |
</user> |
|
15 |
<serviceCatalog> |
|
16 |
{% for s in access.serviceCatalog %} |
|
17 |
<service type="{{s.type}}" name="{{s.name}}"> |
|
18 |
{% for e in s.endpoints %} |
|
19 |
<endpoint |
|
20 |
region="{{e.region}}" |
|
21 |
publicURL="{{e.publicURL}}" |
|
22 |
adminURL="{{e.adminURL}}" |
|
23 |
internalURL="{{e.internalURL}}" |
|
24 |
SNF:uiURL="{{e|lookup:'SNF:uiURL'}}"/> |
|
25 |
{% endfor %} |
|
26 |
</service> |
|
27 |
{% endfor %} |
|
28 |
</serviceCatalog> |
|
29 |
</access> |
Also available in: Unified diff