GitHub user sjcorbett opened a pull request:

    https://github.com/apache/incubator-brooklyn/pull/763

    Support suspending machines

    Locations can indicate that they can suspend machines by implementing a new 
`SuspendsMachines` interface. 
    
    A use of this is given in `MachineLifecycleEffectorTasks`, which provides a 
`suspend` effector implementation. Attaching this effector to entities is left 
to subclasses of MLET.
    
    An interface for locations that can resume machines is also given but 
unused. I began an implementation but realised that we need to discuss what it 
means to "resume" a machine. Eventually `JcloudsLocation` should implement 
`SuspendResumeLocation` rather than `SuspendsMachines`.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/sjcorbett/incubator-brooklyn 
feature/suspend-resume-location

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-brooklyn/pull/763.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #763
    
----
commit 944b9057e4e7d55d6958410b0a074b921fa7c11b
Author: Sam Corbett <[email protected]>
Date:   2015-07-21T11:00:44Z

    Adds suspend and resume interfaces to MachineManagementMixins.
    
    And uses them in JcloudsLocation.

commit 14b23cb5b9b0c01decae03c30fa6e3f9c6993c2c
Author: Sam Corbett <[email protected]>
Date:   2015-07-21T15:56:13Z

    MachineLifecycleEffectorTasks can suspend as well as stop machines.
    
    Leaves it to subclasses to attach the effector to entities.

----


---
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.
---

Reply via email to