1 <ng-container *ngIf="gatewayGroup$ | async as gateways">
9 (updateSelection)="updateSelection($event)"
10 (fetchData)="fetchData()"
11 emptyStateTitle="No gateway group created"
13 emptyStateMessage="Set up your first gateway group to start using NVMe over Fabrics. This will allow you to create high-performance block storage with NVMe/TCP protocol."
14 i18n-emptyStateMessage>
15 <cd-table-actions class="table-actions"
16 [permission]="permission"
17 [selection]="selection"
18 [tableActions]="tableActions">
24 let-created="data.value">
25 <span *ngIf="created">{{ created | date:'EEE d MMM, yyyy' }}</span>
28 <ng-template #gatewayStatusTpl
29 let-gateway="data.value">
30 <div [cdsStack]="'horizontal'"
33 @if (gateway.running > 0) {
34 <span [ngClass]="gateway.error > 0 ? 'cds-mr-3' : ''">
35 <cd-icon type="success"></cd-icon>
36 <span class="cds-ml-3">{{ gateway.running }}</span>
40 @if (gateway.error > 0) {
42 <cd-icon type="error"></cd-icon>
43 <span class="cds-ml-3">{{ gateway.error }}</span>
48 <ng-template #deleteTpl
49 let-groupName="groupName"
50 let-subsystemCount="subsystemCount">
51 @if (subsystemCount > 0) {
52 <cd-alert-panel type="warning"
53 spacingClass="cds-mb-3">
54 <h1 class="cds--type-heading-compact-01"
55 i18n>Cannot delete gateway group</h1>
56 <p class="cds--type-body-compact-01"
57 i18n>This gateway group includes dependent NVMe-oF resources. Remove the associated initiators and gateway targets before proceeding with deletion.</p>