StarCluster - Mailing List Archive

Re: access cluster object from plugin

From: Justin Riley <no email>
Date: Fri, 26 Nov 2010 18:27:14 -0500

On 11/26/10 6:19 PM, Dan Yamins wrote:
> Is there any way to access to the cluster object (and in particular
> the cluster object's .ec2 attribute) from within the plugin?
> What I want to be able to do is modify the cluster permissions (e.g.
> to open a specific port) in the plugin logic ... I could do it via
> boto with the cluster.ec2 object if that object is available ... or
> what is the right way?

Assuming you're using the latest github code, each Node instance now has
an 'ec2' attribute the same as the Cluster class. So you could use
master.ec2.* in a plugin.

Received on Fri Nov 26 2010 - 18:27:26 EST
This archive was generated by hypermail 2.3.0.


Sort all by: