manager can query and list IKE_SA status (no layout yet)
[strongswan.git] / src / manager / templates / status / ikesalist.cs
1 <?cs include:"templates/header.cs" ?>
2 <h1>List of IKE SA's</h1>
3 <table>
4   <tr>
5     <td>ID</td>
6     <td>Status</td>
7     <td>Role</td>
8     <td>Config</td>
9     <td colspan="3">Local</td>
10     <td colspan="3">Remote</td>
11   <tr>
12   <tr>
13     <td colspan="4"></td>
14     <td>ID</td>
15     <td>Address</td>
16     <td>SPI</td>
17     <td>ID</td>
18     <td>Address</td>
19     <td>SPI</td>
20   <tr>
21   <?cs each:ikesa = ikesas ?>
22     <td><?cs name:ikesa ?></td>
23     <td><?cs var:ikesa.status ?></td>
24     <td><?cs var:ikesa.role ?></td>
25     <td><?cs var:ikesa.peerconfig ?></td>
26     <td><?cs var:ikesa.local.identification ?></td>
27     <td><?cs var:ikesa.local.address ?>:<?cs var:ikesa.local.port ?></td>
28     <td><?cs var:ikesa.local.spi ?></td>
29     <td><?cs var:ikesa.remote.identification ?></td>
30     <td><?cs var:ikesa.remote.address ?>:<?cs var:ikesa.remote.port ?></td>
31     <td><?cs var:ikesa.remote.spi ?></td>
32   <?cs /each ?>
33   </tr>
34 </table>
35 <?cs include:"templates/footer.cs" ?>