Fixed testSetupGuestNetwork unit test as the SetupGuestnetwork prepare command got changed
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/41041360 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/41041360 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/41041360 Branch: refs/heads/4.4 Commit: 41041360623ada3c3e733a6c61e313b0726910e7 Parents: 0d99fc3 Author: Rajesh Battala <rajesh.batt...@citrix.com> Authored: Mon May 5 13:30:57 2014 +0530 Committer: Daan Hoogland <d...@onecht.net> Committed: Mon May 5 11:19:47 2014 +0200 ---------------------------------------------------------------------- .../agent/resource/virtualnetwork/VirtualRoutingResource.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/41041360/core/src/com/cloud/agent/resource/virtualnetwork/VirtualRoutingResource.java ---------------------------------------------------------------------- diff --git a/core/src/com/cloud/agent/resource/virtualnetwork/VirtualRoutingResource.java b/core/src/com/cloud/agent/resource/virtualnetwork/VirtualRoutingResource.java index a8986a3..7bb6f5e 100755 --- a/core/src/com/cloud/agent/resource/virtualnetwork/VirtualRoutingResource.java +++ b/core/src/com/cloud/agent/resource/virtualnetwork/VirtualRoutingResource.java @@ -783,10 +783,10 @@ public class VirtualRoutingResource { String args = ""; if(cmd.isAdd() == false) { //pass the argument to script to delete the network - args +=" -D "; + args +=" -D"; } else { // pass create option argument if the ip needs to be added to eth device - args +=" -C "; + args +=" -C"; } args += " -M " + nic.getMac(); args += " -d " + dev;