# All files / src/app/ceph/pool/pool-list pool-list.component.html

100% Statements 1/1
100% Branches 0/0
100% Functions 0/0
100% Lines 1/1

Press n or j to go to the next uncovered block, b, p or k for the previous block.

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    423x

     <tabset>
      <tab i18n-heading heading="Pools List">
        <cd-view-cache *ngFor="let viewCacheStatus of viewCacheStatusList"
                       [status]="viewCacheStatus.status"
                       [statusFor]="viewCacheStatus.statusFor"></cd-view-cache>

        <cd-table #table
                  [data]="pools"
                  [columns]="columns"
                  selectionType="single"
                  (updateSelection)="updateSelection($event)">
          <cd-table-actions class="table-actions"
                            [permission]="permissions.pool"
                            [selection]="selection"
                            [tableActions]="tableActions">
          </cd-table-actions>
          <cd-pool-details cdTableDetail
                           [selection]="selection"
                           [permissions]="permissions"
                           [cacheTiers]="selectionCacheTiers">
          </cd-pool-details>
        </cd-table>

        <ng-template #poolUsageTpl
                     let-row="row">
          <cd-usage-bar *ngIf="row.stats?.max_avail?.latest"
                        [totalBytes]="row.stats.bytes_used.latest + row.stats.max_avail.latest"
                        [usedBytes]="row.stats.bytes_used.latest">
          </cd-usage-bar>
        </ng-template>
      </tab>

      <tab i18n-heading
           *ngIf="permissions.grafana.read"
           heading="Overall Performance">
        <cd-grafana [grafanaPath]="'ceph-pools-overview?'"
                    uid="z99hzWtmk"
                    grafanaStyle="two">
        </cd-grafana>
      </tab>
    </tabset>