1 # STEPS TO START DEVELOPING TESTS LOCALLY
3 - generate environment using virtualenv:
6 # source env/bin/activate
7 - install python requirements for this project by executing:
8 # pip install -r requirements.txt
9 - make sure user mentioned in topology.py has NOPASSWD sudo access to
13 You can alternatively create the virtualenv with the flag --system-site-packages
14 It give access to the global site-packages dir to the virtual environment, which
15 is faster, but you may end up with some conflicts.
20 # STEPS TO START THE TESTS
23 # create topology, edit ip addresses
24 cp topologies/available/3_node_hw_topo1.yaml.example topologies/available/topology.yaml
25 ln -s ../available/topology.yaml topologies/enabled/topology.yaml
27 pybot -L TRACE -v TOPOLOGY_PATH:topologies/enabled/topology.yaml tests
29 ./main.py -t topologies/enabled/topology.yaml -i test_tag
34 # Dependencies on Nodes
41 - libpcap-devel (pypcap)
45 yum install -y python-virtualenv python-pip python python-devel libpcap-devel gcc
47 # if you have the following error during pycrypto
48 # gcc: error: /usr/lib/rpm/redhat/redhat-hardened-cc1 No such file or directory
49 yum install -y redhat-rpm-config