]> git.apps.os.sepia.ceph.com Git - ceph.git/blob
ef072c8af68085392881e6dc3183731ed2873069
[ceph.git] /
1 <tabset *ngIf="selection">
2   <tab i18n-heading
3        heading="Devices">
4     <cd-device-list [hostname]="selection['hostname']"></cd-device-list>
5   </tab>
6   <tab i18n-heading
7        heading="Inventory"
8        *ngIf="permissions.hosts.read">
9     <cd-inventory [hostname]="selectedHostname"></cd-inventory>
10   </tab>
11   <tab i18n-heading
12        heading="Daemons"
13        *ngIf="permissions.hosts.read">
14     <cd-service-daemon-list [hostname]="selectedHostname">
15     </cd-service-daemon-list>
16   </tab>
17   <tab i18n-heading
18        heading="Performance Details"
19        *ngIf="permissions.grafana.read">
20     <cd-grafana [grafanaPath]="'host-details?var-ceph_hosts=' + selectedHostname"
21                 uid="rtOg0AiWz"
22                 grafanaStyle="three">
23     </cd-grafana>
24   </tab>
25   <tab heading="Device health"
26        i18n-heading>
27     <cd-smart-list *ngIf="selectedHostname; else noHostname"
28                    [hostname]="selectedHostname"></cd-smart-list>
29   </tab>
30 </tabset>
31
32 <ng-template #noHostname>
33   <cd-alert-panel type="error"
34                   i18n>No hostname found.</cd-alert-panel>
35 </ng-template>