StarCluster - Mailing List Archive

Re: access cluster object from plugin

From: Dan Yamins <no email>
Date: Fri, 26 Nov 2010 18:30:28 -0500

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
>
Received on Fri Nov 26 2010 - 18:30:28 EST
This archive was generated by hypermail 2.3.0.

Search:

Sort all by:

Date

Month

Thread

Author

Subject