Looking through the diagrams, I can only see Create and Destroy instance
methods performed on the IaaS.  However, [1] has a load of other methods,
but I can't see Create/Destroy.  [2] on the other hand has create/terminate
methods, but only one implementation - I was expecting to see an
Implementation of CloudControllerService for each IaaS.

Coming back to my original question, what is the minimal implementations I
need to create as a starting point?  It would be good to establish some
sort of connectivity from Stratos to Cloudstack without having to try and
implement all the methods in IaaS (and maybe CloudControllerService)
upfront.

---
[1]
https://github.com/apache/incubator-stratos/blob/master/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/interfaces/Iaas.java

[2]
https://github.com/apache/incubator-stratos/blob/master/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/interfaces/CloudControllerService.java



On Mon, Mar 31, 2014 at 7:55 AM, chris snow <[email protected]> wrote:

> Thanks everyone!
>
>
> On Mon, Mar 31, 2014 at 6:45 AM, Mariangela Hills <[email protected]>wrote:
>
>> Lakmal, I will l look into this!
>>
>> Regards,
>> Mariangela
>>
>>
>>
>>
>> *--*
>> Mariangela Hills
>> Senior Technical Writer
>>
>> *WSO2, Inc. *lean.enterprise.middleware.
>> m: +94 773 500185
>> w: http://wso2.com
>>  <http://wso2.com/events/>
>>
>>
>> On Mon, Mar 31, 2014 at 9:32 AM, Lakmal Warusawithana <[email protected]>wrote:
>>
>>> Hi Chris,
>>>
>>> Here I attached some sequence diagrams which I draw sometime back. I
>>> hope still they are valid please verify. Also attached source.txt, so you
>>> can easily modify.
>>>
>>>  @mari, you may need these for update wiki.
>>>
>>> thanks
>>>
>>>
>>> On Mon, Mar 31, 2014 at 1:10 AM, chris snow <[email protected]> wrote:
>>>
>>>> Thanks for the info Lakmal.   I think I my conceptual understanding of
>>>> cartridges is right, but it is now the detail that is lacking.  I.e.
>>>> 'how' does Stratos interact with cartridges?  What is the API? What
>>>> are the sequence of calls for different use cases of the cartridge
>>>> API?
>>>>
>>>> On Sun, Mar 30, 2014 at 8:26 PM, Lakmal Warusawithana <[email protected]>
>>>> wrote:
>>>> >
>>>> >
>>>> >
>>>> > On Mon, Mar 31, 2014 at 12:25 AM, chris snow <[email protected]>
>>>> wrote:
>>>> >>
>>>> >> What are the steps that need to be performed to support a new IaaS?
>>>> >>
>>>> >> Is an implementation of o.a.s.c.c.i.IaaS [1] required for each IaaS?
>>>> >>
>>>> >> Is there any documentation (e.g. sequence diagram) that shows how
>>>> >> Stratos interacts with the IaaS implementation?
>>>> >>
>>>> >> Is there a minimal implementation (which methods) that I can
>>>> initially
>>>> >> perform to test some connectivity with the IaaS?
>>>> >>
>>>> >> Please note that I don't fully understand cartridges yet, so it will
>>>> >> probably be quite a while before I get anything working!
>>>> >>
>>>> >
>>>> > Startos Cartridge run time is an instance. For example in EC2 its EC2
>>>> > instance. For OpenStacks its OpenStacks instance. For CloudStack its
>>>> > CloudStack instance.
>>>> >
>>>> > So what do we need to run an instance? For EC2 need AMI. For
>>>> OpenStack , if
>>>> > KVM then KVM image, if Docker then Docker image ..etc.
>>>> >
>>>> > I hope you are clear above. OK, then will take PHP Cartridge. To run
>>>> PHP, we
>>>> > need webserver+PHP runtime - (eg. apache+php5 setup). So making PHP
>>>> > cartridge mean we need to install Apache+PHP top of some OS. (Ubuntu
>>>> or
>>>> > CentOS or ..etc). To make it Stratos aware we need to put Startos
>>>> Cartridge
>>>> > Agent. Then if you want to run this cartridge top of EC2, you need to
>>>> create
>>>> > AMI. For OpenStack, need KVM image or Docker image. Summery after
>>>> setting up
>>>> > all required software for relevant cartridge, need to create image and
>>>> > register as a cartridge.
>>>> >
>>>> > PHP Cartridge = OS + Apache + PHP + Stratos Cartridge Agent.
>>>> >
>>>> > And for configuration easiness we are putting puppet agent and get all
>>>> > config (eg setting up stratos cartridge agent with relevant MB, CEP
>>>> hosts
>>>> > ..etc) from puppet master. therefore
>>>> >
>>>> > PHP Cartridge = (OS + Apache + PHP + Stratos Cartridge Agent + Puppet
>>>> Agent)
>>>> > image for relevant IaaS
>>>> >
>>>> >>
>>>> >> Many thanks,
>>>> >>
>>>> >> Chris
>>>> >> ---
>>>> >> [1]
>>>> >>
>>>> https://github.com/apache/incubator-stratos/blob/master/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/interfaces/Iaas.java
>>>> >
>>>> >
>>>> >
>>>> >
>>>> > --
>>>> > Lakmal Warusawithana
>>>> > Software Architect; WSO2 Inc.
>>>> > Mobile : +94714289692
>>>> > Blog : http://lakmalsview.blogspot.com/
>>>> >
>>>>
>>>>
>>>>
>>>> --
>>>> Check out my professional profile and connect with me on LinkedIn.
>>>> http://lnkd.in/cw5k69
>>>>
>>>
>>>
>>>
>>> --
>>> Lakmal Warusawithana
>>> Software Architect; WSO2 Inc.
>>> Mobile : +94714289692
>>> Blog : http://lakmalsview.blogspot.com/
>>>
>>>
>>
>
>
> --
> Check out my professional profile and connect with me on LinkedIn.
> http://lnkd.in/cw5k69
>



-- 
Check out my professional profile and connect with me on LinkedIn.
http://lnkd.in/cw5k69

Reply via email to