Fixed testSetupGuestNetwork unit test as the SetupGuestnetwork prepare command got changed

This commit is contained in:
Rajesh Battala 2014-05-05 13:30:57 +05:30
parent f9cf2c241b
commit cc92f3bbe3

View File

@ -783,10 +783,10 @@ public class VirtualRoutingResource {
String args = ""; String args = "";
if(cmd.isAdd() == false) { if(cmd.isAdd() == false) {
//pass the argument to script to delete the network //pass the argument to script to delete the network
args +=" -D "; args +=" -D";
} else { } else {
// pass create option argument if the ip needs to be added to eth device // pass create option argument if the ip needs to be added to eth device
args +=" -C "; args +=" -C";
} }
args += " -M " + nic.getMac(); args += " -M " + nic.getMac();
args += " -d " + dev; args += " -d " + dev;