[openstack-dev] [murano] Is it possible to use Murano RESTful API to create and deploy an application

WANG, Ming Hao (Tony T) tony.a.wang at alcatel-lucent.com
Thu Nov 26 09:45:59 UTC 2015


Hi Anastasia,

Thanks for your information.
“environment-apps-edit” can be used as “environment-apps-create”, I got it. ☺

Thanks,
Tony
From: Anastasia Kuznetsova [mailto:akuznetsova at mirantis.com]
Sent: Thursday, November 26, 2015 4:35 PM
To: OpenStack Development Mailing List (not for usage questions)
Subject: Re: [openstack-dev] [murano] Is it possible to use Murano RESTful API to create and deploy an application

Hi Tony,

We have already implemented commands which allow user to configure and deploy environments via CLI.
Please, take a look to this article: http://docs.openstack.org/developer/murano/draft/enduser-guide/deploying_using_cli.html

On Thu, Nov 26, 2015 at 9:18 AM, WANG, Ming Hao (Tony T) <tony.a.wang at alcatel-lucent.com<mailto:tony.a.wang at alcatel-lucent.com>> wrote:
Dear Murano developers and testers,

I want to use Murano RESTful API to create and deploy an application.
Based on my current understanding, I want to use muranoclient cli as following:

1.       “environment-create” to create Murano environment;

2.       “environment-session-create” to create session for the environment;

3.       “environment-apps-create” to create application for the session.

This command hasn’t been implemented yet, thus I implement it by studying “do_environment_apps_edit” to send POST request to “services” object.

Could you please help to check if my thought is right?

If it is right, I meet the following issue:
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.
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.

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?

Please advice,
Thanks,
Tony


__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe<http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe>
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



--
Best regards,
Anastasia Kuznetsova
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20151126/82a0ed9b/attachment.html>


More information about the OpenStack-dev mailing list