|
28 | 28 | import javax.inject.Inject; |
29 | 29 | import javax.naming.ConfigurationException; |
30 | 30 |
|
| 31 | +import org.apache.cloudstack.api.command.admin.diagnostics.GetDiagnosticsDataCmd; |
| 32 | +import org.apache.cloudstack.api.command.admin.diagnostics.RunDiagnosticsCmd; |
| 33 | +import org.apache.cloudstack.diagnostics.fileprocessor.DiagnosticsFilesList; |
| 34 | +import org.apache.cloudstack.diagnostics.fileprocessor.DiagnosticsFilesListFactory; |
| 35 | +import org.apache.cloudstack.diagnostics.to.DiagnosticsDataObject; |
| 36 | +import org.apache.cloudstack.diagnostics.to.DiagnosticsDataTO; |
| 37 | +import org.apache.cloudstack.engine.orchestration.service.NetworkOrchestrationService; |
| 38 | +import org.apache.cloudstack.engine.subsystem.api.storage.DataObject; |
| 39 | +import org.apache.cloudstack.engine.subsystem.api.storage.DataStore; |
| 40 | +import org.apache.cloudstack.engine.subsystem.api.storage.DataStoreManager; |
| 41 | +import org.apache.cloudstack.engine.subsystem.api.storage.ZoneScope; |
| 42 | +import org.apache.cloudstack.framework.config.ConfigKey; |
| 43 | +import org.apache.cloudstack.framework.config.Configurable; |
| 44 | +import org.apache.cloudstack.managed.context.ManagedContextRunnable; |
| 45 | +import org.apache.cloudstack.poll.BackgroundPollManager; |
| 46 | +import org.apache.cloudstack.poll.BackgroundPollTask; |
| 47 | +import org.apache.cloudstack.storage.NfsMountManager; |
| 48 | +import org.apache.cloudstack.storage.image.datastore.ImageStoreEntity; |
| 49 | +import org.apache.commons.collections.CollectionUtils; |
| 50 | +import org.apache.commons.lang3.StringUtils; |
| 51 | +import org.apache.log4j.Logger; |
| 52 | + |
31 | 53 | import com.cloud.agent.AgentManager; |
32 | 54 | import com.cloud.agent.api.Answer; |
33 | 55 | import com.cloud.agent.api.routing.NetworkElementCommand; |
|
51 | 73 | import com.cloud.vm.VirtualMachineManager; |
52 | 74 | import com.cloud.vm.dao.VMInstanceDao; |
53 | 75 | import com.google.common.base.Strings; |
54 | | -import org.apache.cloudstack.api.command.admin.diagnostics.GetDiagnosticsDataCmd; |
55 | | -import org.apache.cloudstack.api.command.admin.diagnostics.RunDiagnosticsCmd; |
56 | | -import org.apache.cloudstack.diagnostics.fileprocessor.DiagnosticsFilesList; |
57 | | -import org.apache.cloudstack.diagnostics.fileprocessor.DiagnosticsFilesListFactory; |
58 | | -import org.apache.cloudstack.diagnostics.to.DiagnosticsDataObject; |
59 | | -import org.apache.cloudstack.diagnostics.to.DiagnosticsDataTO; |
60 | | -import org.apache.cloudstack.engine.orchestration.service.NetworkOrchestrationService; |
61 | | -import org.apache.cloudstack.engine.subsystem.api.storage.DataObject; |
62 | | -import org.apache.cloudstack.engine.subsystem.api.storage.DataStore; |
63 | | -import org.apache.cloudstack.engine.subsystem.api.storage.DataStoreManager; |
64 | | -import org.apache.cloudstack.engine.subsystem.api.storage.ZoneScope; |
65 | | -import org.apache.cloudstack.framework.config.ConfigKey; |
66 | | -import org.apache.cloudstack.framework.config.Configurable; |
67 | | -import org.apache.cloudstack.managed.context.ManagedContextRunnable; |
68 | | -import org.apache.cloudstack.poll.BackgroundPollManager; |
69 | | -import org.apache.cloudstack.poll.BackgroundPollTask; |
70 | | -import org.apache.cloudstack.storage.NfsMountManager; |
71 | | -import org.apache.cloudstack.storage.image.datastore.ImageStoreEntity; |
72 | | -import org.apache.commons.collections.CollectionUtils; |
73 | | -import org.apache.commons.lang3.StringUtils; |
74 | | -import org.apache.log4j.Logger; |
75 | 76 |
|
76 | 77 | import static org.apache.cloudstack.diagnostics.DiagnosticsHelper.getTimeDifference; |
77 | 78 | import static org.apache.cloudstack.diagnostics.DiagnosticsHelper.setDirFilePermissions; |
|
0 commit comments