[StarCluster] access cluster object from plugin

Dan Yamins dyamins at gmail.com
Fri Nov 26 18:30:28 EST 2010


Great thanks.

Hope you (and all on this list) had a great Thanksgiving!

Dan

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.
>
> ~Justin
> _______________________________________________
> StarCluster mailing list
> StarCluster at mit.edu
> http://mailman.mit.edu/mailman/listinfo/starcluster
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/starcluster/attachments/20101126/a30a27fc/attachment.htm


More information about the StarCluster mailing list