Fixing cleanup and setup 31/19931/2
authorJesus Arechiga <jesus.arechiga@gmail.com>
Fri, 8 May 2015 17:55:42 +0000 (10:55 -0700)
committerJesus Arechiga <jesus.arechiga@gmail.com>
Tue, 12 May 2015 17:33:57 +0000 (10:33 -0700)
commitc0b4730be4e94407744774880c310199e539fffa
tree1d76ca831497948fe1ffcbad02def489bc04f075
parent8a94c4f376a9bedb9270d1ff256af7d91ee80167
Fixing cleanup and setup

Change to switch initialization:
Making sure the interface is up after config by sending ifconfig up.
Otherwise If the interface had previously existed and brought down,
it never comes up and the  test case will fail.

Change to switch tear down:
Make sure to list down interfaces when deleting bridges, by using ifconfig -a modifier.
Otherwise if the interface is down (due to previous ifconfig down) the bridge is not deleted.

Also removing blank lines to pass tox test.

Change-Id: Ief23ca02d9f3bd0d14155642b517695ef23dcbe1
Signed-off-by: Jesus Arechiga <jesus.arechiga@gmail.com>
test/csit/libraries/SwitchClasses/Ovs.py