]> git.apps.os.sepia.ceph.com Git - ceph.git/blob
06490a6c76f90cdf1021da41258e10c39a7791c4
[ceph.git] /
1 <cd-iscsi-tabs></cd-iscsi-tabs>
2
3 <cd-alert-panel type="info"
4                 *ngIf="available === false"
5                 title="iSCSI Targets not available"
6                 i18n-title>
7   <ng-container i18n>Please consult the <cd-doc section="iscsi"></cd-doc> on
8     how to configure and enable the iSCSI Targets management functionality.</ng-container>
9
10   <ng-container *ngIf="status">
11     <br>
12     <span i18n>Available information:</span>
13     <pre>{{ status }}</pre>
14   </ng-container>
15 </cd-alert-panel>
16
17 <cd-table #table
18           *ngIf="available === true"
19           [data]="targets"
20           columnMode="flex"
21           [columns]="columns"
22           identifier="target_iqn"
23           forceIdentifier="true"
24           selectionType="single"
25           [hasDetails]="true"
26           [autoReload]="false"
27           [status]="tableStatus"
28           (fetchData)="getTargets()"
29           (setExpandedRow)="setExpandedRow($event)"
30           (updateSelection)="updateSelection($event)">
31   <div class="table-actions">
32     <cd-table-actions class="btn-group"
33                       [permission]="permission"
34                       [selection]="selection"
35                       [tableActions]="tableActions">
36     </cd-table-actions>
37
38     <button class="btn btn-light"
39             type="button"
40             (click)="configureDiscoveryAuth()">
41       <i [ngClass]="[icons.key]"
42          aria-hidden="true">
43       </i>
44       <ng-container i18n>Discovery authentication</ng-container>
45     </button>
46   </div>
47
48   <ng-container *ngIf="expandedRow">
49     <cd-iscsi-target-details *cdTableDetail
50                              [cephIscsiConfigVersion]="cephIscsiConfigVersion"
51                              [selection]="expandedRow"
52                              [settings]="settings"></cd-iscsi-target-details>
53   </ng-container>
54 </cd-table>