1 <ng-template #usageNotAvailableTooltipTpl
>
2 <ng-container i18n
>Only available for RBD images with
<strong>fast-diff
</strong> enabled
</ng-container>
5 <ng-container *
ngIf=
"selection && selection.source !== 'REMOVING'">
9 cdStatefulTab=
"rbd-details">
10 <li ngbNavItem=
"details">
13 <ng-template ngbNavContent
>
14 <table class=
"table table-striped table-bordered">
18 class=
"bold w-25">Name
</td>
19 <td class=
"w-75">{{ selection.name }}
</td>
23 class=
"bold">Pool
</td>
24 <td>{{ selection.pool_name }}
</td>
28 class=
"bold">Data Pool
</td>
29 <td>{{ selection.data_pool | empty }}
</td>
33 class=
"bold">Created
</td>
34 <td>{{ selection.timestamp | cdDate }}
</td>
38 class=
"bold">Size
</td>
39 <td>{{ selection.size | dimlessBinary }}
</td>
43 class=
"bold">Objects
</td>
44 <td>{{ selection.num_objs | dimless }}
</td>
48 class=
"bold">Object size
</td>
49 <td>{{ selection.obj_size | dimlessBinary }}
</td>
53 class=
"bold">Features
</td>
55 <span *
ngFor=
"let feature of selection.features_name">
56 <span class=
"badge badge-dark mr-2">{{ feature }}
</span>
62 class=
"bold">Provisioned
</td>
64 <span *
ngIf=
"selection.features_name?.indexOf('fast-diff') === -1">
65 <span class=
"form-text text-muted"
66 [ngbTooltip]=
"usageNotAvailableTooltipTpl"
70 <span *
ngIf=
"selection.features_name?.indexOf('fast-diff') !== -1">
71 {{ selection.disk_usage | dimlessBinary }}
77 class=
"bold">Total provisioned
</td>
79 <span *
ngIf=
"selection.features_name?.indexOf('fast-diff') === -1">
80 <span class=
"form-text text-muted"
81 [ngbTooltip]=
"usageNotAvailableTooltipTpl"
85 <span *
ngIf=
"selection.features_name?.indexOf('fast-diff') !== -1">
86 {{ selection.total_disk_usage | dimlessBinary }}
92 class=
"bold">Striping unit
</td>
93 <td>{{ selection.stripe_unit | dimlessBinary }}
</td>
97 class=
"bold">Striping count
</td>
98 <td>{{ selection.stripe_count }}
</td>
102 class=
"bold">Parent
</td>
104 <span *
ngIf=
"selection.parent">{{ selection.parent.pool_name }}
<span
105 *
ngIf=
"selection.parent.pool_namespace">/{{ selection.parent.pool_namespace }}
</span>/{{ selection.parent.image_name }}@{{ selection.parent.snap_name }}
</span>
106 <span *
ngIf=
"!selection.parent">-
</span>
111 class=
"bold">Block name prefix
</td>
112 <td>{{ selection.block_name_prefix }}
</td>
116 class=
"bold">Order
</td>
117 <td>{{ selection.order }}
</td>
121 class=
"bold">Format Version
</td>
122 <td>{{ selection.image_format }}
</td>
128 <li ngbNavItem=
"snapshots">
131 <ng-template ngbNavContent
>
132 <cd-rbd-snapshot-list [snapshots]=
"selection.snapshots"
133 [featuresName]=
"selection.features_name"
134 [poolName]=
"selection.pool_name"
135 [namespace]=
"selection.namespace"
136 [mirroring]=
"selection.mirror_mode"
137 [rbdName]=
"selection.name"></cd-rbd-snapshot-list>
140 <li ngbNavItem=
"configuration">
142 i18n
>Configuration
</a>
143 <ng-template ngbNavContent
>
144 <cd-rbd-configuration-table [data]=
"selection['configuration']"></cd-rbd-configuration-table>
148 <li ngbNavItem=
"performance">
151 <ng-template ngbNavContent
>
152 <cd-grafana [grafanaPath]=
"rbdDashboardUrl"
161 <div [ngbNavOutlet]=
"nav"></div>
163 <ng-container *
ngIf=
"selection && selection.source === 'REMOVING'">
164 <cd-alert-panel type=
"warning"
165 i18n
>Information can not be displayed for RBD in status 'Removing'.
</cd-alert-panel>
168 <ng-template #poolConfigurationSourceTpl
171 <ng-container *
ngIf=
"+value; else global">
174 ngbTooltip=
"This setting overrides the global value">Image
</strong>
176 <ng-template #global
>
179 ngbTooltip=
"This is the global value. No value for this option has been set for this image.">Global
</span>