<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr">On Wed 4 Jul, 2018, 5:04 PM Vijay Bhaskar Reddy Avuthu, &lt;<a href="mailto:vavuthu@redhat.com">vavuthu@redhat.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hi All,<br><br>This thread is regarding the support of GD2 with &quot;glusto-tests&quot;. <br></div><div><br></div><div>Since we are fastly moving towards GCS/RHOCS which mainly build on GD2, we need to work towards supporting both GD2 and GD1.<br><br>Here are few thoughts:<br><br>1) Identify GD2 is running or not, then according we need modify libraries/tests to support latest command<br><br>eg:<br><br>new cmd : <br><br>glustercli volume start &lt;testvol&gt;<br>or<br>curl -X POST <a href="http://192.168.56.101:24007/v1/volumes/testvol/start" target="_blank" rel="noreferrer">http://192.168.56.101:24007/v1/volumes/testvol/start</a><br><br><br>In lib below is the modification snippet:<br><br>if glusterd2_enable():<br>    glustercli volume start &lt;testvol&gt;<br>else:<br>    gluster volume start &lt;testvol&gt;<br><br>For above approach, needs lot of re-work.<br><br>2) Versioning ?<br><br>not sure how versioning works<br><br>Any other thoughts whats is the best way to support both GD2 and GD1 ?<br></div></div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Gil had suggested branching and I echo that. </div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><br></div>Regards,<br></div>Vijay A<br></div>
</blockquote></div></div></div>