7 <ng-template ngbNavContent
>
8 <cd-table [data]=
"osds"
9 (fetchData)=
"getOsdList()"
11 selectionType=
"multiClick"
13 (setExpandedRow)=
"setExpandedRow($event)"
14 (updateSelection)=
"updateSelection($event)"
15 [updateSelectionOnRefresh]=
"'never'">
17 <div class=
"table-actions btn-toolbar">
18 <cd-table-actions [permission]=
"permissions.osd"
19 [selection]=
"selection"
22 [tableActions]=
"tableActions">
24 <cd-table-actions [permission]=
"{read: true}"
25 [selection]=
"selection"
26 dropDownOnly=
"Cluster-wide configuration"
29 id=
"cluster-wide-actions"
30 [tableActions]=
"clusterWideActions">
34 <cd-osd-details cdTableDetail
35 [selection]=
"expandedRow">
42 *
ngIf=
"permissions.grafana.read">
44 i18n
>Overall Performance
</a>
45 <ng-template ngbNavContent
>
46 <cd-grafana [grafanaPath]=
"'osd-overview?'"
54 <div [ngbNavOutlet]=
"nav"></div>
56 <ng-template #markOsdConfirmationTpl
57 let-markActionDescription=
"markActionDescription"
59 <ng-container i18n
><strong>OSD(s) {{ osdIds | join }}
</strong> will be marked
60 <strong>{{ markActionDescription }}
</strong> if you proceed.
</ng-container>
63 <ng-template #criticalConfirmationTpl
64 let-safeToPerform=
"safeToPerform"
66 let-actionDescription=
"actionDescription"
68 <div *
ngIf=
"!safeToPerform"
70 <cd-alert-panel type=
"warning"
71 i18n
>The {selection.hasSingleSelection, select, true {OSD is} other {OSDs are}} not safe to be
72 {{ actionDescription }}! {{ message }}
</cd-alert-panel>
74 <ng-container i18n
><strong>OSD {{ osdIds | join }}
</strong> will be
75 <strong>{{ actionDescription }}
</strong> if you proceed.
</ng-container>
78 <ng-template #flagsTpl
80 <span *
ngFor=
"let flag of row.cdClusterFlags;"
81 class=
"badge badge-hdd mr-1">{{ flag }}
</span>
82 <span *
ngFor=
"let flag of row.cdIndivFlags;"
83 class=
"badge badge-info mr-1">{{ flag }}
</span>
86 <ng-template #osdUsageTpl
88 <cd-usage-bar [total]=
"row.stats.stat_bytes"
89 [used]=
"row.stats.stat_bytes_used"
90 [warningThreshold]=
"osdSettings.nearfull_ratio"
91 [errorThreshold]=
"osdSettings.full_ratio">
95 <ng-template #deleteOsdExtraTpl
97 <ng-container [formGroup]=
"form">
98 <ng-container formGroupName=
"child">
99 <div class=
"form-group">
100 <div class=
"custom-control custom-checkbox">
101 <input type=
"checkbox"
102 class=
"custom-control-input"
105 formControlName=
"preserve">
106 <label class=
"custom-control-label"
108 i18n
>Preserve OSD ID(s) for replacement.
</label>