libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From erjohnso <>
Subject [GitHub] libcloud pull request: [google compute] Add node stop/start suppor...
Date Fri, 30 Jan 2015 22:36:02 GMT
GitHub user erjohnso opened a pull request:

    [google compute] Add node stop/start support

    GCE now supports node (instance) stop/start.  This PR adds the two new driver methods
and supporting tests to include these new features.  Note that these methods only return a
boolean, so the node object must be queried again to get the new status.  For example,
    >>> node = gce_driver.ex_get_node('foo', 'us-central1-f')
    >>> print node.extra['status']
    >>> gce_driver.stop_node(node)
    >>> node = gce_driver.ex_get_node('foo', 'us-central1-f')
    >>> print node.extra['status']
    Note that the correct state for a stopped node is TERMINATED.
    Upstream docs are at:
    /cc @Kami - I'd like to get this into the next release if you're OK with that.

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

    $ git pull gce_stop_start

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

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

    This closes #442
commit 17bee44769ece6c58d69ee83473a5b8d9ea96b7f
Author: Eric Johnson <>
Date:   2015-01-30T22:29:54Z

    [google compute] Add node stop/start support


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

View raw message