Github user nvazquez commented on a diff in the pull request:
https://github.com/apache/cloudstack/pull/1602#discussion_r73753345
--- Diff:
plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java
---
@@ -537,15 +540,51 @@ public Answer executeRequest(Command cmd) {
protected void
checkStorageProcessorAndHandlerNfsVersionAttribute(StorageSubSystemCommand cmd)
{
if (storageNfsVersion != null) return;
if (cmd instanceof CopyCommand){
- examineStorageSubSystemCommandNfsVersion((CopyCommand) cmd);
+ EnumMap<VmwareStorageProcessorConfigurableFields,Object>
params = new
EnumMap<VmwareStorageProcessorConfigurableFields,Object>(VmwareStorageProcessorConfigurableFields.class);
+ examineStorageSubSystemCommandNfsVersion((CopyCommand) cmd,
params);
+
examineStorageSubSystemCommandFullCloneFlagForVmware((CopyCommand) cmd, params);
+ reconfigureProcessorByHandler(params);
+ }
+ }
+
+ /**
+ * Reconfigure processor by handler
+ * @param params params
+ */
+ protected void
reconfigureProcessorByHandler(EnumMap<VmwareStorageProcessorConfigurableFields,Object>
params) {
+ VmwareStorageSubsystemCommandHandler handler =
(VmwareStorageSubsystemCommandHandler) storageHandler;
+ boolean success = handler.reconfigureStorageProcessor(params);
+ if (success){
+ s_logger.info("VmwareStorageProcessor and
VmwareStorageSubsystemCommandHandler successfully reconfigured");
+ } else {
+ s_logger.error("Error while reconfiguring
VmwareStorageProcessor and VmwareStorageSubsystemCommandHandler");
--- End diff --
Done, thanks
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---