1 <cd-rbd-tabs></cd-rbd-tabs>
3 <cd-view-cache *
ngFor=
"let viewCacheStatus of viewCacheStatusList"
4 [status]=
"viewCacheStatus.status"
5 [statusFor]=
"viewCacheStatus.statusFor"></cd-view-cache>
11 identifier=
"unique_id"
12 [searchableObjects]=
"true"
13 forceIdentifier=
"true"
14 selectionType=
"single"
16 (setExpandedRow)=
"setExpandedRow($event)"
17 (updateSelection)=
"updateSelection($event)">
18 <cd-table-actions class=
"table-actions"
19 [permission]=
"permission"
20 [selection]=
"selection"
21 [tableActions]=
"tableActions">
23 <cd-rbd-details cdTableDetail
24 [selection]=
"expandedRow">
28 <ng-template #usageNotAvailableTooltipTpl
>
30 [innerHtml]=
"'Only available for RBD images with <strong>fast-diff</strong> enabled'"></div>
33 <ng-template #parentTpl
35 <span *
ngIf=
"value">{{ value.pool_name }}
<span
36 *
ngIf=
"value.pool_namespace">/{{ value.pool_namespace }}
</span>/{{ value.image_name }}@{{ value.snap_name }}
</span>
37 <span *
ngIf=
"!value">-
</span>
40 <ng-template #flattenTpl
42 You are about to flatten
43 <strong>{{ value.child }}
</strong>.
45 <br> All blocks will be copied from parent
46 <strong>{{ value.parent }}
</strong> to child
47 <strong>{{ value.child }}
</strong>.
50 <ng-template #deleteTpl
51 let-hasSnapshots=
"hasSnapshots"
52 let-snapshots=
"snapshots">
53 <div class=
"alert alert-warning"
56 <span i18n
>Deleting this image will also delete all its snapshots.
</span>
58 <ng-container *
ngIf=
"snapshots.length > 0">
59 <span i18n
>The following snapshots are currently protected and will be removed:
</span>
61 <li *
ngFor=
"let snapshot of snapshots">{{ snapshot }}
</li>
67 <ng-template #removingStatTpl
72 <i [ngClass]=
"[icons.spinner, icons.spin]"
73 *
ngIf=
"row.cdExecuting"></i>
74 <span [ngClass]=
"column?.customTemplateConfig?.valueClass">
77 <span *
ngIf=
"row.cdExecuting"
78 [ngClass]=
"column?.customTemplateConfig?.executingClass ?
79 column.customTemplateConfig.executingClass :
81 ({{ row.cdExecuting }})
83 <i *
ngIf=
"row.source && row.source === 'REMOVING'"
85 title=
"RBD in status 'Removing'"
86 class=
"{{ icons.warning }} warn"></i>