Re: access cluster object from plugin
This archive was generated by
Hope you (and all on this list) had a great Thanksgiving!
On Fri, Nov 26, 2010 at 6:27 PM, Justin Riley <jtriley_at_mit.edu> wrote:
> 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.
> StarCluster mailing list
Received on Fri Nov 26 2010 - 18:30:28 EST