https://code.grnet.gr/2013-09-12T08:34:52+03:00Greek Research and Technology Network's projects./kamaki - Feature #4297: Easier arguments for server personalityhttps://code.grnet.gr/issues/4297?journal_id=150742013-09-12T08:34:52+03:00Vangelis Koukis
<ul></ul><p>There seem to be two problems with this syntax:<br />a) It's too verbose, b) how would it work for multiple personalities/files? How will the arguments be grouped together?</p>
<p>The current syntax has the advantage of having all information related to a single file inside a single --personality argument,<br />so the user can just use multiple --personality arguments.</p>
<p>Let's sort this out before any implementation begins.</p> ./kamaki - Feature #4297: Easier arguments for server personalityhttps://code.grnet.gr/issues/4297?journal_id=150802013-09-12T12:11:12+03:00Stavros Sachtourissaxtouri@admin.grnet.gr
<ul></ul><p>Vangelis Koukis is right. It would be a huge mistake to loose the multiple injections capability of /server create.</p>
<p>On the other, the current syntax makes destinctions between terms of personality. For example, if a user needs to inject file /local/file to /etc/local/file with <del>rw-r--r-</del>, they are also forced to provide an owner and a group for that file, in spite the fact that the corresponding cyclades API ( [[<a class="external" href="http://www.synnefo.org/docs/synnefo/latest/cyclades-api-guide.html#create-server">http://www.synnefo.org/docs/synnefo/latest/cyclades-api-guide.html#create-server</a>]] ) does not require anything like this.</p>
<p>Here is an idea for an alternative syntax:</p>
<pre>
--personality local-path=/local/path,remote=path=/etc/local/path,mode=-rw-r--r--
OR (since we keep the old syntax, the first argument is a local-path)
--personality /local/path,remote=path=/etc/local/path,mode=-rw-r--r--
OR (since we keep the old syntax, the first and second argument are local-path and remote-path resp.)
--personality /local/path,/etc/local/path,mode=-rw-r--r--
</pre> ./kamaki - Feature #4297: Easier arguments for server personalityhttps://code.grnet.gr/issues/4297?journal_id=150812013-09-12T12:12:41+03:00Stavros Sachtourissaxtouri@admin.grnet.gr
<ul></ul><p>Stavros Sachtouris wrote:</p>
<blockquote>
<p>Vangelis Koukis is right. It would be a huge mistake to loose the multiple injections capability of /server create.</p>
<p>On the other hand, the current syntax creates a hierarchy on the terms of personality. For example, if a user needs to inject file /local/file to /etc/local/file with <del>rw-r--r-</del>, they are also forced to provide an owner and a group for that file, in spite the fact that the corresponding cyclades API ( [[<a class="external" href="http://www.synnefo.org/docs/synnefo/latest/cyclades-api-guide.html#create-server">http://www.synnefo.org/docs/synnefo/latest/cyclades-api-guide.html#create-server</a>]] ) does not require anything like this.</p>
<p>Here is an idea for an alternative syntax:</p>
<p>[...]</p>
</blockquote> ./kamaki - Feature #4297: Easier arguments for server personalityhttps://code.grnet.gr/issues/4297?journal_id=154462013-10-01T18:32:09+03:00Stavros Sachtourissaxtouri@admin.grnet.gr
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Resolved</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul> ./kamaki - Feature #4297: Easier arguments for server personalityhttps://code.grnet.gr/issues/4297?journal_id=159332013-10-29T12:22:59+02:00Stavros Sachtourissaxtouri@admin.grnet.gr
<ul><li><strong>Status</strong> changed from <i>Resolved</i> to <i>Closed</i></li></ul>