1 <cd-orchestrator-doc-panel *
ngIf=
"!hasOrchestrator"></cd-orchestrator-doc-panel>
2 <div class=
"cd-col-form"
3 *
ngIf=
"!loading && hasOrchestrator">
9 <div i18n=
"form title|Example: Create Pool@@formTitle"
10 class=
"card-header">{{ action | titlecase }} {{ resource | upperFirst }}
</div>
11 <div class=
"card-body">
13 <cd-osd-devices-selection-groups #dataDeviceSelectionGroups
16 [availDevices]=
"availDevices"
17 [canSelect]=
"availDevices.length !== 0"
18 (selected)=
"onDevicesSelected($event)"
19 (cleared)=
"onDevicesCleared($event)">
20 </cd-osd-devices-selection-groups>
23 <!-- Shared devices -->
25 <legend i18n
>Shared devices
</legend>
27 <!-- WAL devices button and table -->
28 <cd-osd-devices-selection-groups #walDeviceSelectionGroups
31 [availDevices]=
"availDevices"
32 [canSelect]=
"dataDeviceSelectionGroups.devices.length !== 0"
33 (selected)=
"onDevicesSelected($event)"
34 (cleared)=
"onDevicesCleared($event)">
35 </cd-osd-devices-selection-groups>
38 <div class=
"form-group row"
39 *
ngIf=
"walDeviceSelectionGroups.devices.length !== 0">
40 <label class=
"cd-col-form-label"
42 <ng-container i18n
>WAL slots
</ng-container>
44 <span i18n
>How many OSDs per WAL device.
</span>
46 <span i18n
>Specify
0 to let Orchestrator backend decide it.
</span>
49 <div class=
"cd-col-form-input">
50 <input class=
"form-control"
55 formControlName=
"walSlots">
56 <span class=
"invalid-feedback"
57 *
ngIf=
"form.showError('walSlots', formDir, 'min')"
58 i18n
>Value should be greater than or equal to
0</span>
62 <!-- DB devices button and table -->
63 <cd-osd-devices-selection-groups #dbDeviceSelectionGroups
66 [availDevices]=
"availDevices"
67 [canSelect]=
"dataDeviceSelectionGroups.devices.length !== 0"
68 (selected)=
"onDevicesSelected($event)"
69 (cleared)=
"onDevicesCleared($event)">
70 </cd-osd-devices-selection-groups>
73 <div class=
"form-group row"
74 *
ngIf=
"dbDeviceSelectionGroups.devices.length !== 0">
75 <label class=
"cd-col-form-label"
77 <ng-container i18n
>DB slots
</ng-container>
79 <span i18n
>How many OSDs per DB device.
</span>
81 <span i18n
>Specify
0 to let Orchestrator backend decide it.
</span>
84 <div class=
"cd-col-form-input">
85 <input class=
"form-control"
90 formControlName=
"dbSlots">
91 <span class=
"invalid-feedback"
92 *
ngIf=
"form.showError('dbSlots', formDir, 'min')"
93 i18n
>Value should be greater than or equal to
0</span>
98 <!-- Configuration -->
100 <legend i18n
>Configuration
</legend>
103 <div class=
"form-group row"
104 formGroupName=
"features">
106 class=
"cd-col-form-label"
107 for=
"features">Features
</label>
108 <div class=
"cd-col-form-input">
109 <div class=
"custom-control custom-checkbox"
110 *
ngFor=
"let feature of featureList">
111 <input type=
"checkbox"
112 class=
"custom-control-input"
113 id=
"{{ feature.key }}"
114 name=
"{{ feature.key }}"
115 formControlName=
"{{ feature.key }}">
116 <label class=
"custom-control-label"
117 for=
"{{ feature.key }}">{{ feature.desc }}
</label>
123 <div class=
"card-footer">
124 <div class=
"button-group text-right">
125 <cd-submit-button #previewButton
126 (submitAction)=
"submit()"
129 [disabled]=
"dataDeviceSelectionGroups.devices.length === 0">Preview
</cd-submit-button>
130 <cd-back-button></cd-back-button>