5 <cd-table [data]=
"osds"
6 (fetchData)=
"getOsdList()"
8 selectionType=
"multiClick"
9 (updateSelection)=
"updateSelection($event)"
10 [updateSelectionOnRefresh]=
"'never'">
12 <div class=
"table-actions btn-toolbar">
13 <cd-table-actions [permission]=
"permissions.osd"
14 [selection]=
"selection"
17 [tableActions]=
"tableActions">
19 <cd-table-actions [permission]=
"{read: true}"
20 [selection]=
"selection"
21 dropDownOnly=
"Cluster-wide configuration"
24 id=
"cluster-wide-actions"
25 [tableActions]=
"clusterWideActions">
29 <cd-osd-details cdTableDetail
30 [selection]=
"selection">
34 <ng-template #osdUsageTpl
36 <cd-usage-bar [totalBytes]=
"row.stats.stat_bytes"
37 [usedBytes]=
"row.stats.stat_bytes_used">
42 *
ngIf=
"permissions.grafana.read"
43 heading=
"Overall Performance">
44 <cd-grafana [grafanaPath]=
"'osd-overview?'"
51 <ng-template #markOsdConfirmationTpl
52 let-markActionDescription=
"markActionDescription">
53 <ng-container i18n
><strong>OSD(s) {{ getSelectedOsdIds() | join }}
</strong> will be marked
54 <strong>{{ markActionDescription }}
</strong> if you proceed.
</ng-container>
57 <ng-template #criticalConfirmationTpl
58 let-safeToPerform=
"safeToPerform"
60 let-actionDescription=
"actionDescription">
61 <div *
ngIf=
"!safeToPerform"
63 <cd-alert-panel type=
"warning"
64 i18n
>The {selection.hasSingleSelection, select,
1 {OSD is}
0 {OSDs are}} not safe to be {{ actionDescription }}! {{ message }}
</cd-alert-panel>
66 <ng-container i18n
><strong>OSD {{ getSelectedOsdIds() | join }}
</strong> will be
67 <strong>{{ actionDescription }}
</strong> if you proceed.
</ng-container>