From: Sumit Naiksatam Date: Mon, 8 Aug 2011 17:01:11 +0000 (-0700) Subject: Merging test cases from Shwetas' branch, and further modified README file. X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=820f1261b378ae931e91dcaad09677b8cdf6a894;p=openstack-build%2Fneutron-build.git Merging test cases from Shwetas' branch, and further modified README file. --- 820f1261b378ae931e91dcaad09677b8cdf6a894 diff --cc quantum/plugins/cisco/README index 3f02dc5a1,f3152e75e..5467fb03a --- a/quantum/plugins/cisco/README +++ b/quantum/plugins/cisco/README @@@ -56,3 -98,21 +56,13 @@@ mysql -uroot -p no /usr/lib/python2.6/site-packages/nova/virt/cisco_ucs.py * Restart nova-compute service + -**L2network database usage requirements - -* mysql database "quantum_l2network" is required for persistence of the l2network plugin data. - + The database can be created as follows - - - # mysql -uroot -pnova; (username/password here is root/nova) - - mysql> create database quantum_l2network; - - mysql> use quantum_l2network; - + The database and login details must be specified in quantum/plugins/cisco/db/db_conn.ini. - + ** Execute the Test cases -* The unit tests are located at quantum/plugins/cisco/tests/unit. They are executed from quantum/plugins/cisco/ using the runtests.py script. ++* The unit tests are located at quantum/plugins/cisco/tests/unit. They are executed from quantum/plugins/cisco/ using the runtests.py script. (Note that to execute the test cases one currently requires the environment setup as outlined in the pre-requisites.) + + * Execution of the runtests.py script. + All unit tests + python runtests.py unit + Specific Plugin unit test + python runtests.py unit. - ++ e.g. python run_tests.py unit.test_coreApi