1346 Commits

Author SHA1 Message Date
Gaurav Aradhye
4d05c3b966 CLOUDSTACK-8375: Marvin - Code Improvement - related to verifying VCenter port groups corresponding to traffic types in a zone
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-04-13 16:58:13 +05:30
Ian Duffy
66cded75e0 Move Devcloud4 into main repository 2015-04-11 16:17:02 +01:00
Rohit Yadav
d8eb2e5e48 systemvmtemplate: install open-vm-tools from wheezy-backports, install XStools
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-04-10 15:48:36 +05:30
KC Wang
01864ef77c CLOUDSTACK-6697: bigswitch networking plugin update
1. provide compatibility with the Big Cloud Fabric (BCF) controller
   L2 Connectivity Service in both VPC and non-VPC modes
2. virtual network terminology updates: VNS --> BCF_SEGMENT
3. uses HTTPS with trust-always certificate handling
4. topology sync support with BCF controller
5. support multiple (two) BCF controllers with HA
6. support VM migration
7. support Firewall, Static NAT, and Source NAT with NAT enabled option
8. add VifDriver for Indigo Virtual Switch (IVS)

This closes #151

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-04-09 13:02:02 +05:30
shweta agarwal
974c56423d Restore VM verification tests
This closes #148
Signed-off-by: SrikanteswaraRao Talluri<talluri@apache.org>
2015-04-08 12:39:16 +05:30
shweta agarwal
433e6a2bd4 added two test case related to restore VM functionality 2015-04-07 11:16:20 +05:30
Gaurav Aradhye
799a03398c CLOUDSTACK-8361: Adding functionality in marvin to check the port groups in VCenter corresponding to configuration of traffics in physical networks
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
This closes #144
2015-04-03 15:28:48 +05:30
Rohit Yadav
97ad1e24b8 systemvmtemplate: increase /opt parititon by 100MB
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-04-03 10:49:36 +05:30
Abhinav Roy
dedc860a62 CLOUDSTACK-8357 Add Test cases for vMotion support on VMFS as primary storage 2015-04-01 23:18:40 +05:30
Gaurav Aradhye
c05e37b28d CLOUDSTACK-8356: Mentioning netaddr module in setup.py in marvin as it is used across test cases
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-04-01 15:30:17 +05:30
SrikanteswaraRao Talluri
7a70f8ab19 Merge branch 'vcentermarvin' of https://github.com/srikanteswartalluri/cloudstack
This closes #134
2015-04-01 15:14:18 +05:30
Rohit Yadav
2de12b50f8 systemvmtemplate: zero out /var/log partition
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-30 15:52:51 +05:30
Rohit Yadav
6f907fb2cd systemvmtemplate: increase disk size to 3000
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-30 13:58:33 +05:30
Rohit Yadav
d0e65d7c34 systemvmtemplate: use separate partition for /var/log
/var/log fills up /var and fails operation of normal services. This fix
restricts /var/log to 100-200M. The fix for CLOUDSTACK-6885 tries to make sure
we don't keep a lot of logs.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-30 13:54:20 +05:30
SrikanteswaraRao Talluri
c9fc7e65b7 CLOUDSTACK-8352: vcenter library for marvin which makes use of 'pyvmomi'
vmware sdk python binding to interact with vcenter server.

Tested against vcenter 5.5
2015-03-30 10:56:03 +05:30
prashant kumar mishra
dede9d94fe CLOUDSTACK-8343:modifying update method in Configurations to take **kwargs 2015-03-30 10:55:31 +05:30
SrikanteswaraRao Talluri
c6581c17bd CLOUDSTACK-8352: vcenter library for marvin which makes use of 'pyvmomi'
vmware sdk python binding to interact with vcenter server.

Tested against vcenter 5.5
2015-03-30 10:40:50 +05:30
Daan Hoogland
7b51fda3b0 finbugs: mark false positive
hostuuid might be found after ten iterations.
2015-03-25 18:14:57 +01:00
Rohit Yadav
8fe3c0b8ba appliance: remove raw.img before exporting and building template for KVM
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-25 17:27:03 +05:30
Abhinav Roy
ead41f9215 changes made after second review
Signed-off-by: Sowmya Krishnan <sowmya.krishnan@citrix.com>
2015-03-24 17:46:22 +05:30
Yitao Jiang
52ffccff5f tools/apidoc: Fix the bug when build apidoc under windows cygwin environment
This closes #114

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-24 17:24:34 +05:30
Gaurav Aradhye
78fd8cf2cf Setting the default value of flag to False
This closes #127

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-24 16:58:11 +05:30
Gaurav Aradhye
191bcdd439 CLOUDSTACK-8251: Adding automation test cases for dedicated public IP ranges
This closes #128

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-24 16:56:33 +05:30
Rene Moser
dc2aa8a808 systemvm: use Debian http redirector for backports
This closes #123

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-24 16:51:05 +05:30
Rohit Yadav
6a881b9337 systemvmtemplate: install irqbalance from wheezy-backports
Ported systemvm enhancement by Rene Moser <rene.moser@swisstxt.ch> from
https://github.com/apache/cloudstack/pull/119

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-23 14:31:12 +05:30
Gaurav Aradhye
8031b62b7f Adding more test case for shared network
This closes #120
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-03-20 17:32:25 +05:30
Rohit Yadav
7a2e27c3b3 appliance: save md5 checksums after building systemvm templates
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-20 15:16:57 +05:30
Rohit Yadav
b011c9bad4 Add missing license headers from recent branch merge 3c429ee
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-18 11:03:54 +05:30
Leo Simons
3bd59a4bf3 veewee 0.5 alpha is breaking build 2015-03-16 11:38:14 +01:00
Leo Simons
9166848482 Stop using rvm 2015-03-16 11:35:35 +01:00
Leo Simons
d0281a3b41 Seems like some of these can be nil 2015-03-16 11:35:35 +01:00
Ian Southam
725c040d5c Added code to configure netusage for vpc and domR devices
Removed code from existing scripts that does the same
Fixed some more issues with CsNetfilter
Added rsync for/etc/iptables in rsync
2015-03-16 11:35:27 +01:00
Ian Southam
7e9a0fac0d Do not update etc or you will bring in a load of files that will have their
configuration overwritten
2015-03-16 11:35:19 +01:00
Ian Southam
cc5d72133e Removed chef as we will definitely not go this way 2015-03-16 11:35:14 +01:00
Sander Botman
fac3bdecd2 Adding the Vagrant configuration that will build xen and db servers. 2015-03-16 11:35:14 +01:00
Leo Simons
6e49675cf5 Have Vagrantfile errors go to STDERR so output is machine-parseable. 2015-03-16 11:35:13 +01:00
Leo Simons
f5e5b74646 Add more nics by default 2015-03-16 11:35:13 +01:00
Leo Simons
712fa9c92c Tests for update_config.py
These are failing on my machine with cloud.log lines like

  2014-08-07 14:34:09,509 Add dev eth2 table Table_eth2 10.0.2.0/24
  2014-08-07 14:34:09,511 Address 10.0.2.106/24 on device eth2 not configured
  2014-08-07 14:34:10,513 Device eth2 cannot be configured - device was not found

I think it's correct that they are failing -- this is work in progress.
2015-03-16 11:35:12 +01:00
Leo Simons
5f87bde909 Set up rsync for systemvm patches.
Note the convenience of 'vagrant rsync-auto'.
2015-03-16 11:35:12 +01:00
Ian Southam
348167db51 This was a good one
Any cd command will cause rvm to override the trap handler in the shell
These means that vagrant_destroy will not get called at the end because in the node function it cds

Run the nose tests in a subshell
2015-03-16 11:35:11 +01:00
Leo Simons
e405e94797 Replace serverspec with nose in systemvm test.sh
Also remove the serverspec-specific files.
2015-03-16 11:35:10 +01:00
Leo Simons
2188d8d633 Pure python tests for systemvm
This approach is instead of serverspec, but filling the same purpose. It's
main advantage is that it uses nose and python, just like the existing
marvin-based integration test suite.
2015-03-16 11:35:09 +01:00
Ian Southam
c7c1f3202e Plan B
Replace chef with a python script
configure.py will read the bags and (hopefully) create the desired state
At this stage this is ipassociation
This code should work for both VR and VPCrs

TODO:
iptables
ip route throw (present in VR but not in VPCr
Determine default route
Unit tests
2015-03-16 11:35:08 +01:00
Leo Simons
66b5260c90 Documentation and license headers for new systemvm testing tools. 2015-03-16 11:35:08 +01:00
Leo Simons
731a3bf9c3 Missing gem for vagrant magic 2015-03-16 11:35:08 +01:00
Leo Simons
8fb1deb33e Massively simpler serverspec invocation
Give up on using test-kitchen, busser, and more of its complexity and
simply run serverspec directly, via SSH.
2015-03-16 11:35:07 +01:00
Leo Simons
04ad01a064 Commit missing .kitchen.yml 2015-03-16 11:35:07 +01:00
Leo Simons
58537c76fa Use bundler to exec test-kitchen 2015-03-16 11:35:07 +01:00
Leo Simons
edfa79b770 junit report output for vagrant systemvm tests 2015-03-16 11:35:07 +01:00
Leo Simons
274b746365 A working test-kitchen setup for testing systemvm boxes. 2015-03-16 11:35:06 +01:00