cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject [15/51] [abbrv] git commit: updated refs/heads/4.9-bountycastle-daan to d8c42a9
Date Wed, 18 May 2016 11:46:40 GMT
Merge pull request #816 from mike-tutkowski/addremovehosts2

Notify listeners when a host has been added to a cluster, is about to be removed from a cluster,
or has been removed from a cluster

This PR addresses the following JIRA ticket:

https://issues.apache.org/jira/browse/CLOUDSTACK-8813

The problem is that there needs to be notifications sent when a host is added to, about to
be removed from, and removed from a cluster.

Such notifications can be used for many purposes. For example, it can allow storage plug-ins
to update ACLs on their storage systems. Also, it can allow us to clean up IQNs from ESXi
hosts that are no longer needed.

* pr/816:
  CLOUDSTACK-8813: Notify listeners when a host has been added to a cluster, is about to be
removed from a cluster, or has been removed from a cluster

Signed-off-by: Will Stevens <williamstevens@gmail.com>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/7e41747c
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/7e41747c
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/7e41747c

Branch: refs/heads/4.9-bountycastle-daan
Commit: 7e41747c339ac827e9a1d063d7cd6bca13a7795e
Parents: 143265c dad9e5d
Author: Will Stevens <williamstevens@gmail.com>
Authored: Thu May 12 11:07:35 2016 -0400
Committer: Will Stevens <williamstevens@gmail.com>
Committed: Thu May 12 11:07:36 2016 -0400

----------------------------------------------------------------------
 .../agent/api/CreateStoragePoolCommand.java     |    7 +-
 .../agent/api/ModifyStoragePoolAnswer.java      |   37 +-
 .../agent/api/ModifyStoragePoolCommand.java     |   46 +-
 .../cloud/agent/api/ModifyTargetsAnswer.java    |   23 +
 .../cloud/agent/api/ModifyTargetsCommand.java   |   57 +
 .../api/storage/DataStoreProviderManager.java   |    4 +
 .../api/storage/HypervisorHostListener.java     |    6 +
 .../api/storage/PrimaryDataStoreDriver.java     |   16 +-
 .../src/com/cloud/agent/AgentManager.java       |   10 +-
 .../src/com/cloud/agent/Listener.java           |   18 +
 .../com/cloud/agent/manager/AgentAttache.java   |    8 +-
 .../cloud/agent/manager/AgentManagerImpl.java   |   53 +-
 .../agent/manager/SynchronousListener.java      |   12 +
 .../com/cloud/vm/VirtualMachineManagerImpl.java |   12 +
 .../orchestration/NetworkOrchestrator.java      |   11 +
 .../datastore/db/PrimaryDataStoreDao.java       |    2 +
 .../datastore/db/PrimaryDataStoreDaoImpl.java   |    8 +
 .../test/DirectAgentManagerSimpleImpl.java      |    9 +-
 .../cloudstack/storage/RemoteHostEndPoint.java  |   12 +
 .../provider/DataStoreProviderManagerImpl.java  |    1 +
 .../datastore/provider/DefaultHostListener.java |   14 +
 .../discoverer/HypervServerDiscoverer.java      |   12 +
 .../ovm3/resources/Ovm3Discoverer.java          |   12 +
 .../com/cloud/resource/SimulatorDiscoverer.java |   12 +
 .../resource/SimulatorSecondaryDiscoverer.java  |   12 +
 .../vmware/manager/VmwareManagerImpl.java       |   12 +
 .../vmware/resource/VmwareResource.java         |   51 +-
 .../resource/VmwareStorageProcessor.java        |   78 +-
 .../discoverer/XcpServerDiscoverer.java         |   17 +-
 .../CitrixModifyStoragePoolCommandWrapper.java  |    5 +-
 .../network/manager/NuageVspManagerImpl.java    |   15 +
 .../provider/ElastistorHostListener.java        |   14 +
 .../datastore/provider/NexentaHostListener.java |   29 +-
 .../driver/SolidFirePrimaryDataStoreDriver.java |   27 +-
 .../SolidFirePrimaryDataStoreLifeCycle.java     |    6 +-
 ...olidFireSharedPrimaryDataStoreLifeCycle.java |   62 +-
 .../provider/SolidFireHostListener.java         |  230 ++-
 .../provider/SolidFireSharedHostListener.java   |  181 +-
 .../storage/datastore/util/SolidFireUtil.java   |  129 +-
 .../com/cloud/capacity/CapacityManagerImpl.java |   12 +
 .../cloud/capacity/ComputeCapacityListener.java |   12 +
 .../cloud/capacity/StorageCapacityListener.java |   12 +
 .../consoleproxy/ConsoleProxyListener.java      |   12 +
 .../deploy/DeploymentPlanningManagerImpl.java   |   12 +
 .../kvm/discoverer/LibvirtServerDiscoverer.java |   12 +
 .../cloud/network/NetworkUsageManagerImpl.java  |   12 +
 .../com/cloud/network/SshKeysDistriMonitor.java |   16 +-
 .../VirtualNetworkApplianceManagerImpl.java     |  229 +--
 .../network/security/SecurityGroupListener.java |   16 +-
 .../com/cloud/resource/ResourceManagerImpl.java |   59 +-
 .../storage/ImageStoreUploadMonitorImpl.java    |   12 +
 .../cloud/storage/LocalStoragePoolListener.java |   30 +-
 .../com/cloud/storage/StorageManagerImpl.java   |    2 +-
 .../storage/download/DownloadListener.java      |   18 +-
 .../storage/listener/StoragePoolMonitor.java    |   83 +-
 .../storage/listener/StorageSyncListener.java   |   12 +
 .../secondary/SecondaryStorageListener.java     |   12 +
 .../cloud/storage/upload/UploadListener.java    |   15 +-
 .../plugins/solidfire/TestAddRemoveHosts.py     |  710 ++++++++
 .../plugins/solidfire/TestSnapshots.py          | 1472 +++++++++++++++
 .../plugins/solidfire/TestVMSnapshots.py        |  862 +++++++++
 .../plugins/solidfire/TestVolumes.py            | 1676 ++++++++++++++++++
 ui/scripts/system.js                            |    7 +-
 63 files changed, 6210 insertions(+), 375 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/7e41747c/engine/orchestration/src/com/cloud/agent/manager/AgentManagerImpl.java
----------------------------------------------------------------------

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/7e41747c/server/src/com/cloud/resource/ResourceManagerImpl.java
----------------------------------------------------------------------

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/7e41747c/ui/scripts/system.js
----------------------------------------------------------------------


Mime
View raw message