diff options
author | Naoto Hanaue <hanaue.naoto@po.ntts.co.jp> | 2015-01-21 19:22:53 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-01-22 20:31:35 +0900 |
commit | 9ab4bb000ae0fa2ebe15c088baa0abcf2e726c7c (patch) | |
tree | 5148c023c3886d84e7b4f924a20c2eeb8609303f /test/scenario_test/README.md | |
parent | 94ed82255d6d7cc9d5c7aee9f9c71837bfd2e907 (diff) |
scenario_test: support test of best path selection and fixed following the display format of the rest
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'test/scenario_test/README.md')
-rw-r--r-- | test/scenario_test/README.md | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/test/scenario_test/README.md b/test/scenario_test/README.md new file mode 100644 index 00000000..a0a78a9b --- /dev/null +++ b/test/scenario_test/README.md @@ -0,0 +1,56 @@ +Route Server test +======================== + +Preparation +----------- +Set up Ubuntu 14.04 Server Edition Virtual Machine environment. + +and Please prepare in go language execution environment. + +Setup +----- +Open a terminal and execute the following commands: + +We will install the python library required to run the test program. +``` +% sudo su - +# apt-get install python-pip +# apt-get install python-dev +# git clone https://github.com/osrg/gobgp.git +# cd ./gobgp +# go get -v +# cd ./test/scenario_test +# pip install -r pip-requires.txt +``` + + +We will install the package, such as Docker required to perform the test. +``` +# fab -f docker_control.py install_docker_and_tools + +``` + +Please following package is sure that it is installed. + + ・docker + + ・bridge-utils + + ・pipework + + +Start +----- +Please run the command nosetests. +``` +# nosetests -v route_server_test.py + +``` + +if you run the test of malformed when execute this command. +``` +# nosetests -v route_server_malformed_test.py + +``` + +After the end of the test, gobgp is normally if OK is displayed. |