<div dir="ltr">StarCluster only needs the first 3 function parameters, thus it relies on the default parameters for boto&#39;s create_volume() function. If all you want is to pass in the encrypted boolean, then you can add encrypted=True to the list of parameters for create_volume().<div>
<br></div><div>For you code to be general purpose enough to be included, you will need to add logic so that is does not always pass the encrypted=True bool into the function all the time, and instead read the user&#39;s choice from the command line (see createvolume.py).</div>
<div class="gmail_extra"><br clear="all"><div>Rayson<br><br>==================================================<br>Open Grid Scheduler - The Official Open Source Grid Engine<br><a href="http://gridscheduler.sourceforge.net/" target="_blank">http://gridscheduler.sourceforge.net/</a><br>
<a href="http://gridscheduler.sourceforge.net/GridEngine/GridEngineCloud.html" target="_blank">http://gridscheduler.sourceforge.net/GridEngine/GridEngineCloud.html</a></div>
<br><br><div class="gmail_quote">On Wed, Jul 2, 2014 at 5:42 PM, ronen artzi <span dir="ltr">&lt;<a href="mailto:ronen.artzi@gmail.com" target="_blank">ronen.artzi@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hello,<div><br></div><div>I am trying to extend  a   glusterfs plugin we have , and would like to introduce the options of encrypting the ESB bricks.</div><div><br></div><div>I&#39;d like to be able to use the full parameter list coming with ec2 fro volume creation : </div>


<div><br></div><div><tt style="padding:1px 2px;font-size:14px;font-weight:bold;line-height:21.599998474121094px">create_volume</tt><big style="color:rgb(62,67,73);font-family:&#39;Lucida Grande&#39;,&#39;Lucida Sans Unicode&#39;,Geneva,Verdana,Arial,sans-serif;line-height:21.599998474121094px">(</big><em style="color:rgb(62,67,73);font-family:&#39;Lucida Grande&#39;,&#39;Lucida Sans Unicode&#39;,Geneva,Verdana,Arial,sans-serif;font-size:14px;line-height:21.599998474121094px">size</em><span style="color:rgb(62,67,73);font-family:&#39;Lucida Grande&#39;,&#39;Lucida Sans Unicode&#39;,Geneva,Verdana,Arial,sans-serif;font-size:14px;line-height:21.599998474121094px">, </span><em style="color:rgb(62,67,73);font-family:&#39;Lucida Grande&#39;,&#39;Lucida Sans Unicode&#39;,Geneva,Verdana,Arial,sans-serif;font-size:14px;line-height:21.599998474121094px">zone</em><span style="color:rgb(62,67,73);font-family:&#39;Lucida Grande&#39;,&#39;Lucida Sans Unicode&#39;,Geneva,Verdana,Arial,sans-serif;font-size:14px;line-height:21.599998474121094px">, </span><em style="color:rgb(62,67,73);font-family:&#39;Lucida Grande&#39;,&#39;Lucida Sans Unicode&#39;,Geneva,Verdana,Arial,sans-serif;font-size:14px;line-height:21.599998474121094px">snapshot=None</em><span style="color:rgb(62,67,73);font-family:&#39;Lucida Grande&#39;,&#39;Lucida Sans Unicode&#39;,Geneva,Verdana,Arial,sans-serif;font-size:14px;line-height:21.599998474121094px">, </span><em style="color:rgb(62,67,73);font-family:&#39;Lucida Grande&#39;,&#39;Lucida Sans Unicode&#39;,Geneva,Verdana,Arial,sans-serif;font-size:14px;line-height:21.599998474121094px">volume_type=None</em><span style="color:rgb(62,67,73);font-family:&#39;Lucida Grande&#39;,&#39;Lucida Sans Unicode&#39;,Geneva,Verdana,Arial,sans-serif;font-size:14px;line-height:21.599998474121094px">, </span><em style="color:rgb(62,67,73);font-family:&#39;Lucida Grande&#39;,&#39;Lucida Sans Unicode&#39;,Geneva,Verdana,Arial,sans-serif;font-size:14px;line-height:21.599998474121094px">iops=None</em><span style="color:rgb(62,67,73);font-family:&#39;Lucida Grande&#39;,&#39;Lucida Sans Unicode&#39;,Geneva,Verdana,Arial,sans-serif;font-size:14px;line-height:21.599998474121094px">, </span><em style="color:rgb(62,67,73);font-family:&#39;Lucida Grande&#39;,&#39;Lucida Sans Unicode&#39;,Geneva,Verdana,Arial,sans-serif;font-size:14px;line-height:21.599998474121094px">encrypted=False</em><span style="color:rgb(62,67,73);font-family:&#39;Lucida Grande&#39;,&#39;Lucida Sans Unicode&#39;,Geneva,Verdana,Arial,sans-serif;font-size:14px;line-height:21.599998474121094px">, </span><em style="color:rgb(62,67,73);font-family:&#39;Lucida Grande&#39;,&#39;Lucida Sans Unicode&#39;,Geneva,Verdana,Arial,sans-serif;font-size:14px;line-height:21.599998474121094px">dry_run=False</em><big style="color:rgb(62,67,73);font-family:&#39;Lucida Grande&#39;,&#39;Lucida Sans Unicode&#39;,Geneva,Verdana,Arial,sans-serif;line-height:21.599998474121094px">)</big><br>


</div><div><br></div><div>Being very new to the starcluster code base I am not sure what areas are dealign with such volume creation. </div><div><br></div><div><font color="#3e4349" face="Lucida Grande, Lucida Sans Unicode, Geneva, Verdana, Arial, sans-serif" size="3"><span style="line-height:21.599998474121094px">it seems that under star cluster python packages area , volume.py support only the first 4 parameters.  </span></font></div>


<div><div><br></div><div>Any insights here are appreciated. </div><span class="HOEnZb"><font color="#888888">-- <br> Ronen<div><br></div>
</font></span></div></div>
<br>_______________________________________________<br>
StarCluster mailing list<br>
<a href="mailto:StarCluster@mit.edu">StarCluster@mit.edu</a><br>
<a href="http://mailman.mit.edu/mailman/listinfo/starcluster" target="_blank">http://mailman.mit.edu/mailman/listinfo/starcluster</a><br>
<br></blockquote></div><br></div></div>