Commit 388b57a
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 c0b5358 commit 388b57a
3 files changed
Lines changed: 319 additions & 297 deletions
File tree
- plugins/storage/volume/linstor/src
- main/java/org/apache/cloudstack/storage/datastore
- driver
- util
- test/java/org/apache/cloudstack/storage/datastore/driver
0 commit comments