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

2015-11-26 Thread Anastasia Kuznetsova
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.w...@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-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>


-- 
Best regards,
Anastasia Kuznetsova
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


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

2015-11-26 Thread WANG, Ming Hao (Tony T)
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:akuznets...@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) 
> 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-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



--
Best regards,
Anastasia Kuznetsova
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


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

2015-11-25 Thread WANG, Ming Hao (Tony T)
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-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev