<div dir="ltr">Hi Tony,<div><br></div><div>We have already implemented commands which allow user to configure and deploy environments via CLI. </div><div>Please, take a look to this article: <a href="http://docs.openstack.org/developer/murano/draft/enduser-guide/deploying_using_cli.html">http://docs.openstack.org/developer/murano/draft/enduser-guide/deploying_using_cli.html</a></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 26, 2015 at 9:18 AM, WANG, Ming Hao (Tony T) <span dir="ltr"><<a href="mailto:tony.a.wang@alcatel-lucent.com" target="_blank">tony.a.wang@alcatel-lucent.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal">Dear Murano developers and testers,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I want to use Murano RESTful API to create and deploy an application.<u></u><u></u></p>
<p class="MsoNormal">Based on my current understanding, I want to use muranoclient cli as following:<u></u><u></u></p>
<p><u></u><span>1.<span style="font:7.0pt "Times New Roman"">
</span></span><u></u>“<span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";color:black">environment-create</span>” to create Murano environment;<u></u><u></u></p>
<p><u></u><span>2.<span style="font:7.0pt "Times New Roman"">
</span></span><u></u>“<span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";color:black">environment-session-create</span>” to create session for the environment;<u></u><u></u></p>
<p><u></u><span>3.<span style="font:7.0pt "Times New Roman"">
</span></span><u></u>“<span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";color:black">environment-apps-create</span>” to create application for the session.<u></u><u></u></p>
<p>This command hasn’t been implemented yet, thus I implement it by studying “<span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";color:black">do_environment_apps_edit</span>” to send POST request to “services” object.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Could you please help to check if my thought is right?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">If it is right, I meet the following issue:<u></u><u></u></p>
<p class="MsoNormal">When an environment includes several applications, I need to generate an uuid for each application, and use the uuid to let one application reference to another application.<u></u><u></u></p>
<p class="MsoNormal">It is a little strange to let user provide this kind of information, and I doubt if I’m using Murano in a wrong way, and Murano isn’t designed for this.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Could you please help to check? Is Murano designed to be able to expose RESTful to do all the works(including application creation/deployment) that user can do from UI?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Please advice,<u></u><u></u></p>
<p class="MsoNormal">Thanks,<u></u><u></u></p>
<p class="MsoNormal">Tony<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Best regards,<div>Anastasia Kuznetsova</div></div></div>
</div>