1 <ng-template #usageNotAvailableTooltipTpl
>
2 <ng-container i18n
>Only available for RBD images with
<strong>fast-diff
</strong> enabled
</ng-container>
5 <tabset *
ngIf=
"selection">
8 <table class=
"table table-striped table-bordered">
12 class=
"bold w-25">Name
</td>
13 <td class=
"w-75">{{ selection.name }}
</td>
17 class=
"bold">Pool
</td>
18 <td>{{ selection.pool_name }}
</td>
22 class=
"bold">Data Pool
</td>
23 <td>{{ selection.data_pool | empty }}
</td>
27 class=
"bold">Created
</td>
28 <td>{{ selection.timestamp | cdDate }}
</td>
32 class=
"bold">Size
</td>
33 <td>{{ selection.size | dimlessBinary }}
</td>
37 class=
"bold">Objects
</td>
38 <td>{{ selection.num_objs | dimless }}
</td>
42 class=
"bold">Object size
</td>
43 <td>{{ selection.obj_size | dimlessBinary }}
</td>
47 class=
"bold">Features
</td>
49 <span *
ngFor=
"let feature of selection.features_name">
50 <span class=
"badge badge-dark mr-2">{{ feature }}
</span>
56 class=
"bold">Provisioned
</td>
58 <span *
ngIf=
"selection.features_name?.indexOf('fast-diff') === -1">
59 <span class=
"form-text text-muted"
60 [tooltip]=
"usageNotAvailableTooltipTpl"
64 <span *
ngIf=
"selection.features_name?.indexOf('fast-diff') !== -1">
65 {{ selection.disk_usage | dimlessBinary }}
71 class=
"bold">Total provisioned
</td>
73 <span *
ngIf=
"selection.features_name?.indexOf('fast-diff') === -1">
74 <span class=
"form-text text-muted"
75 [tooltip]=
"usageNotAvailableTooltipTpl"
79 <span *
ngIf=
"selection.features_name?.indexOf('fast-diff') !== -1">
80 {{ selection.total_disk_usage | dimlessBinary }}
86 class=
"bold">Striping unit
</td>
87 <td>{{ selection.stripe_unit | dimlessBinary }}
</td>
91 class=
"bold">Striping count
</td>
92 <td>{{ selection.stripe_count }}
</td>
96 class=
"bold">Parent
</td>
98 <span *
ngIf=
"selection.parent">{{ selection.parent.pool_name }}
<span *
ngIf=
"selection.parent.pool_namespace">/{{ selection.parent.pool_namespace }}
</span>/{{ selection.parent.image_name }}@{{ selection.parent.snap_name }}
</span>
99 <span *
ngIf=
"!selection.parent">-
</span>
104 class=
"bold">Block name prefix
</td>
105 <td>{{ selection.block_name_prefix }}
</td>
109 class=
"bold">Order
</td>
110 <td>{{ selection.order }}
</td>
114 class=
"bold">Format Version
</td>
115 <td>{{ selection.image_format }}
</td>
122 <cd-rbd-snapshot-list [snapshots]=
"selection.snapshots"
123 [featuresName]=
"selection.features_name"
124 [poolName]=
"selection.pool_name"
125 [namespace]=
"selection.namespace"
126 [rbdName]=
"selection.name"></cd-rbd-snapshot-list>
129 heading=
"Configuration">
130 <cd-rbd-configuration-table [data]=
"selection['configuration']"></cd-rbd-configuration-table>
133 heading=
"Performance">
134 <cd-grafana [grafanaPath]=
"rbdDashboardUrl"
142 #poolConfigurationSourceTpl
145 <ng-container *
ngIf=
"+value; else global">
148 tooltip=
"This setting overrides the global value">Image
</strong>
150 <ng-template #global
>
153 tooltip=
"This is the global value. No value for this option has been set for this image.">Global
</span>