From 08814903f084e0fa049354f4c8bde689c285767e Mon Sep 17 00:00:00 2001 From: Sheng Yang Date: Tue, 12 Feb 2013 16:39:05 -0800 Subject: [PATCH] IPv6: Enable dual stack support --- api/src/com/cloud/api/commands/CreateNetworkCmd.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/api/src/com/cloud/api/commands/CreateNetworkCmd.java b/api/src/com/cloud/api/commands/CreateNetworkCmd.java index 336dcec53b1..fcc1fa7ab31 100644 --- a/api/src/com/cloud/api/commands/CreateNetworkCmd.java +++ b/api/src/com/cloud/api/commands/CreateNetworkCmd.java @@ -262,10 +262,6 @@ public class CreateNetworkCmd extends BaseCmd { @Override // an exception thrown by createNetwork() will be caught by the dispatcher. public void execute() throws InsufficientCapacityException, ConcurrentOperationException, ResourceAllocationException{ - if (getStartIpv6() != null && getStartIp() != null) { - throw new InvalidParameterValueException("Cannot support dualstack at this moment!"); - } - Network result = _networkService.createGuestNetwork(this); if (result != null) { NetworkResponse response = _responseGenerator.createNetworkResponse(result);