incubator-cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebgoa <run...@gmail.com>
Subject Re: devcloud with a script
Date Wed, 08 Aug 2012 11:38:34 GMT

On Aug 7, 2012, at 4:29 PM, Edison Su wrote:

> Seems you are using the networkoffering.
> In order to add network into basic zone, needs to choose DefaultSharedNetworkOfferingWithSGService
or (DefaultSharedNetworkOffering and displaytext = "Offering for Shared networks")
> See the code in https://git-wip-us.apache.org/repos/asf?p=incubator-cloudstack.git;a=blob;f=tools/marvin/marvin/deployDataCenter.py;h=4284d12a542fe87910652b053da5fc6e08fc5b23;hb=HEAD
> 

Thanks Edison

I was doing that properly but looking at the Marvin script helped a lot. 
Basically I was not configuring (enabling) the virtual router, which makes you go through:
listNetworkServiceProviders
listVirtualRouterElements
configureVirtualRouterElement
updateNetworkServiceProvider

The other thing I was doing wrong was that without Security Group I had to define an untagged
vlan IP range

With all that, I was able to finish it: http://paste.cloudstack.org/XgZx/

After doing a rdeploydb and rdebug, if you run this script, it will reset the devcloud infrastructure.
Of course as mentioned in the wiki by Chiradeep, marvin can do that as well :)

Cheers,

-Sebastien


> 
>> -----Original Message-----
>> From: sebgoa [mailto:runseb@gmail.com]
>> Sent: Tuesday, August 07, 2012 12:43 PM
>> To: cloudstack-dev@incubator.apache.org
>> Subject: devcloud with a script
>> 
>> Hi,
>> 
>> While testing cloudbridge using devcloud, I have decided to write a
>> script to re-create the setup using the API.
>> I think I could use marvin to do that, but It's also a good way to
>> learn the api..
>> 
>> The basic script I have so far is at: http://paste.cloudstack.org/IBF5/
>> 
>> When I try to create the guest network, I get an error saying that I
>> cannot specify gateway/startip/endip/netmask for a basic zone.
>> 
>> Devcloud is a basic Zone correct ? So where am I wrong :)
>> 
>> thanks,
>> 
>> -sebastien
>> 
>> 
>> -Sebastien Goasguen
>> Apache Cloudstack Evangelist, EMEA
>> 
>> 
> 

-Sebastien Goasguen
Apache Cloudstack Evangelist, EMEA




Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message