How is the unit testing accomplished for changes to the configuration/startup scripts? I can obviously run the scripts in a different Debian build! Im trying to build something that can be tested easily without many changes to the baseline System VM image.
The current System VM build runs under vbox freestanding but has no net work unless parameter are passed to it via Grub/proc/cmdline which is used by cloud-early-config.sh to set up the network. How was the unit testing done in the past? Or was iit ntegration testing only? On Tuesday, July 8, 2014, Rohit Yadav <rohit.ya...@shapeblue.com> wrote: > Hi Karl, > > Karl Harris wrote: > >> What is the current framework used to test a Cloudstack Virtual Router >> (SystemVM) in isolation aka without Management Server if any? >> > > AFAIK we don't have any such testing/automation framework within Apache > CloudStack. > > I'd like to call a SystemVM script with a set of configuration parameters >> (changes for VPCVrr, etc.) and observe the changes to the virtual routers >> configuration. >> >> Since I will eventually need the ethernet connections to be added and >> deleted I would like to aviod using ethernet to make the connection to the >> SystemVM image. Ideally I don't want to change the SystemVM image from >> what >> is build by tools/appliance/build.sh. >> >> > The SystemVM image and the agent is tightly coupled with CloudStack, you > may have to change things in the build script (if you intend to > add/remove/modify packages, files and contents). > > How was this testing done in the past? >> > > In the past, I would create a systemvm template, have CloudStack > management to use it to boot up SSVMs, VRs etc. and ssh into them from > their respective hosts on their link local IP. Then, I would change the > internal state of the VM and check with management server to test things > and see if it would fix the state itself, execute platform apis etc. > > There is/was no automation framework to do the testing so it was mostly > manually. Any work in this regard would be great. > > Regards. > > >> Thanks, >> >> Karl >> >> Find out more about ShapeBlue and our range of CloudStack related > services > > IaaS Cloud Design & Build<http://shapeblue.com/ > iaas-cloud-design-and-build//> > CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/> > CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/> > CloudStack Infrastructure Support<http://shapeblue.com/ > cloudstack-infrastructure-support/> > CloudStack Bootcamp Training Courses<http://shapeblue.com/ > cloudstack-training/> > > This email and any attachments to it may be confidential and are intended > solely for the use of the individual to whom it is addressed. Any views or > opinions expressed are solely those of the author and do not necessarily > represent those of Shape Blue Ltd or related companies. If you are not the > intended recipient of this email, you must neither take any action based > upon its contents, nor copy or show it to anyone. Please contact the sender > if you believe you have received this email in error. Shape Blue Ltd is a > company incorporated in England & Wales. ShapeBlue Services India LLP is a > company incorporated in India and is operated under license from Shape Blue > Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil > and is operated under license from Shape Blue Ltd. ShapeBlue is a > registered trademark. > >