5 <cd-table [autoReload]=
"false"
7 (fetchData)=
"getOsdList()"
9 selectionType=
"multiClick"
11 (setExpandedRow)=
"setExpandedRow($event)"
12 (updateSelection)=
"updateSelection($event)"
13 [updateSelectionOnRefresh]=
"'never'">
15 <div class=
"table-actions btn-toolbar">
16 <cd-table-actions [permission]=
"permissions.osd"
17 [selection]=
"selection"
20 [tableActions]=
"tableActions">
22 <cd-table-actions [permission]=
"{read: true}"
23 [selection]=
"selection"
24 dropDownOnly=
"Cluster-wide configuration"
27 id=
"cluster-wide-actions"
28 [tableActions]=
"clusterWideActions">
32 <cd-osd-details cdTableDetail
33 [selection]=
"expandedRow">
37 <ng-template #osdUsageTpl
39 <cd-usage-bar [totalBytes]=
"row.stats.stat_bytes"
40 [usedBytes]=
"row.stats.stat_bytes_used">
45 *
ngIf=
"permissions.grafana.read"
46 heading=
"Overall Performance">
47 <cd-grafana [grafanaPath]=
"'osd-overview?'"
54 <ng-template #markOsdConfirmationTpl
55 let-markActionDescription=
"markActionDescription">
56 <ng-container i18n
><strong>OSD(s) {{ getSelectedOsdIds() | join }}
</strong> will be marked
57 <strong>{{ markActionDescription }}
</strong> if you proceed.
</ng-container>
60 <ng-template #criticalConfirmationTpl
61 let-safeToPerform=
"safeToPerform"
63 let-actionDescription=
"actionDescription">
64 <div *
ngIf=
"!safeToPerform"
66 <cd-alert-panel type=
"warning"
67 i18n
>The {selection.hasSingleSelection, select,
1 {OSD is}
0 {OSDs are}} not safe to be {{ actionDescription }}! {{ message }}
</cd-alert-panel>
69 <ng-container i18n
><strong>OSD {{ getSelectedOsdIds() | join }}
</strong> will be
70 <strong>{{ actionDescription }}
</strong> if you proceed.
</ng-container>