root / snf-astakos-app / astakos / im / templates / api / access.xml @ 8cb96389
History | View | Annotate | Download (1022 Bytes)
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="{{d.access.token.id}}" expires="{{d.access.token.expires}}"> |
6 |
<tenant id="{{d.access.token.tenant.id}}" name="{{d.access.token.tenant.name}}" /> |
7 |
</token>
|
8 |
<user id="{{d.access.user.id}}" name="{{d.access.user.name}}"> |
9 |
<roles>
|
10 |
{% for r in d.access.user.roles %} |
11 |
<role id="{{r.id}}" name="{{r.name}}"/> |
12 |
{% endfor %} |
13 |
</roles>
|
14 |
</user>
|
15 |
<serviceCatalog>
|
16 |
{% for s in d.access.serviceCatalog %} |
17 |
<service type="{{s.type}}" name="{{s.name}}" SNF:uiURL="{{s.component.url}}"> |
18 |
{% for e in s.endpoints %} |
19 |
<endpoint
|
20 |
{% for , v e.items %} |
21 |
{{k}}="{{v}}" |
22 |
{% endfor %} |
23 |
{% endfor %} |
24 |
</service |
25 |
{% endfor %} |
26 |
</serviceCatalog |
27 |
</access |