1 <%doc>Copyright (C) 2010 HDE, Inc.</%doc>
2 <%inherit file="../include/common.part" />
4 <div id="network_storage_detail_display">
5 <table class="detail-contents">
7 <th>${_('General Information')}</th>
8 <td class="detail-separator">
9 <img src="${ctx.homepath}/static/images/table-space.gif">
12 <table cellspacing="0" class="border detail-sub-contents">
14 <th>${_('Network Storage Type')}</th>
15 <td class="detail-separator"><img src="${ctx.homepath}/static/images/table-space.gif" alt="" /></td>
16 <td><pre>${info['type'] | h}</pre></td>
19 <th>${_('Status')}</th>
20 <td class="detail-separator"><img src="${ctx.homepath}/static/images/table-space.gif" alt="" /></td>
21 %if info['activity'] == 1:
22 <td><pre>${_('Active')}</pre></td>
23 %elif info['activity'] == 0:
24 <td><pre>${_('Inactive')}</pre></td>
26 <td><pre>${_('Deleted')}</pre></td>
31 <th>${_('Auto Connect')}</th>
32 <td class="detail-separator"><img src="${ctx.homepath}/static/images/table-space.gif" alt="" /></td>
33 %if info['autostart'] == 1:
34 <td><pre>${_('ON')}</pre></td>
35 %elif info['autostart'] == 0:
36 <td><pre>${_('OFF')}</pre></td>
45 <tr><td colspan='3'><div class='detail-space'/></td></tr>
48 <th>${_('Details')}</th>
49 <td class="detail-separator">
50 <img src="${ctx.homepath}/static/images/table-space.gif">
53 <table cellspacing="0" class="border detail-sub-contents">
58 ・接続先のホスト名(iSCSIの場合は勝手にIPアドレスになる)
60 iSCSIターゲットを一意に識別するためのユニークキー
61 一つのホストで複数のIQNを持っている場合があります
64 iSCSIの場合は基本的に「認証なし」か「CHAP認証」のどちらか。
67 iSCSI接続を行うと/dev/sd*に出てくるデバイス名の一覧
69 <th>${_('Target Host Name')}</th>
70 <td class="detail-separator"><img src="${ctx.homepath}/static/images/table-space.gif" alt="" /></td>
71 <td><pre>${info['hostname'] | h}</pre></td>
74 <th>${_('Target IQN')}</th>
75 <td class="detail-separator"><img src="${ctx.homepath}/static/images/table-space.gif" alt="" /></td>
76 <td><pre>${info['iqn'] | h}</pre></td>
79 <th>${_('Port Number')}</th>
80 <td class="detail-separator"><img src="${ctx.homepath}/static/images/table-space.gif" alt="" /></td>
81 <td><pre>${info['port'] | h}</pre></td>
84 <th>${_('Authentication Type')}</th>
85 <td class="detail-separator"><img src="${ctx.homepath}/static/images/table-space.gif" alt="" /></td>
86 <td><pre>${info['auth'] | h}</pre></td>
88 %if info['activity'] == 1:
90 <th>${_('Volumes Connected')}</th>
91 <td class="detail-separator"><img src="${ctx.homepath}/static/images/table-space.gif" alt="" /></td>
93 %for disk in info['disk_list']:
94 <pre>${"%s/%s" % (disk['realpath_list'][0], disk['realpath_list'][1]) | h}</pre>