Commit 853fefa
committed
Linstor: Refactor resource creation methods to LinstorUtil
Move reusable methods from LinstorPrimaryDataStoreDriverImpl to LinstorUtil
to enable sharing with other components:
- logLinstorAnswer, logLinstorAnswers, checkLinstorAnswersThrow
- getRscGrp, getEncryptedLayerList, applyQoSSettings
- createResourceBase, createResource, spawnResource
- canShareTemplateForResourceGroup, foundShareableTemplate
Add LIN_PROP_DRBDOPT_EXACT_SIZE constant and exactSize parameter support
for DRBD exact-size property handling during resource creation.1 parent 9e86fdf commit 853fefa
File tree
3 files changed
+319
-297
lines changed- plugins/storage/volume/linstor/src
- main/java/org/apache/cloudstack/storage/datastore
- driver
- util
- test/java/org/apache/cloudstack/storage/datastore/driver
3 files changed
+319
-297
lines changed
0 commit comments