cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From syed <...@git.apache.org>
Subject [GitHub] cloudstack pull request: Notify listeners when a host has been add...
Date Mon, 09 May 2016 14:18:55 GMT
Github user syed commented on a diff in the pull request:

    https://github.com/apache/cloudstack/pull/816#discussion_r62505096
  
    --- Diff: engine/api/src/org/apache/cloudstack/engine/subsystem/api/storage/HypervisorHostListener.java
---
    @@ -21,7 +21,13 @@
     import com.cloud.exception.StorageConflictException;
     
     public interface HypervisorHostListener {
    +    boolean hostAdded(long hostId);
    +
         boolean hostConnect(long hostId, long poolId) throws StorageConflictException;
     
         boolean hostDisconnected(long hostId, long poolId);
    +
    +    boolean hostAboutToBeRemoved(long hostId);
    --- End diff --
    
    I am assuming this event is generated when moving to `Removing` state. Is there any action
that is performed here which cannot be done when the host is in `Removed` state? 


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message