Add Vagrantfile for local testing.
[csit.git] / docs / testing_in_vagrant
diff --git a/docs/testing_in_vagrant b/docs/testing_in_vagrant
new file mode 100644 (file)
index 0000000..1007621
--- /dev/null
@@ -0,0 +1,16 @@
+HOWTO (will create a wiki page once one is created for CSIT project):
+ - copy Vagrantfile to separate dir on host
+ - vagrant up --parallel
+    sit-back-and-relax
+ - from VM that has access to the same host-only network (192.168.255.0 above)
+    - copy your ssh-key to csit@192.168.255.{101,102,250}
+    - cd ${csit_dir}
+    - virtualenv & pip as in README
+    - PYTHONPATH=`pwd` resources/tools/topology/update_topology.py \
+        topologies/available/vagrant.yaml \
+        -o topologies/available/vagrant_pci.yaml
+    - PYTHONPATH=`pwd` pybot -L TRACE \
+        -v TOPOLOGY_PATH:topologies/available/vagrant_pci.yaml -s \
+        "bridge domain" tests
+    - see tests results
+