cloudstack/tools/vagrant/systemvm
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
..
.gitignore Documentation and license headers for new systemvm testing tools. 2015-03-16 11:35:08 +01:00
.ruby-version Commit missing .kitchen.yml 2015-03-16 11:35:07 +01:00
.rvmrc Commit missing .kitchen.yml 2015-03-16 11:35:07 +01:00
Gemfile Replace serverspec with nose in systemvm test.sh 2015-03-16 11:35:10 +01:00
README.md Replace serverspec with nose in systemvm test.sh 2015-03-16 11:35:10 +01:00
VBoxManage Documentation and license headers for new systemvm testing tools. 2015-03-16 11:35:08 +01:00
Vagrantfile Tests for update_config.py 2015-03-16 11:35:12 +01:00
test.sh This was a good one 2015-03-16 11:35:11 +01:00
vagrant.pub Vagrant virtualbox based testing suite 2015-03-16 11:35:00 +01:00

README.md

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

===========================================================

Allows spinning up the systemvm appliance from ../../appliance inside vagrant, and then running tests against it with nose.

To use, install vagrant, rvm, ruby, bundler, python and pip. Then run ./test.sh.

To write tests, create files underneath ../../../test/systemvm named test_xxx.py. These tests are standard python unit tests with some logic to SSH into the SystemVM. See ../../../test/systemvm/README.md for more info.