You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ya...@apache.org on 2013/02/14 00:09:45 UTC

git commit: refs/heads/master - IPv6: Enable dual stack support

Updated Branches:
  refs/heads/master 48118a4f9 -> 78ca6ceef


IPv6: Enable dual stack support


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/78ca6cee
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/78ca6cee
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/78ca6cee

Branch: refs/heads/master
Commit: 78ca6ceefe2af9293d1ac10fecb95f5cd9e3a93e
Parents: 48118a4
Author: Sheng Yang <sh...@citrix.com>
Authored: Wed Feb 13 11:43:41 2013 -0800
Committer: Sheng Yang <sh...@citrix.com>
Committed: Wed Feb 13 15:09:39 2013 -0800

----------------------------------------------------------------------
 .../api/command/user/network/CreateNetworkCmd.java |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/78ca6cee/api/src/org/apache/cloudstack/api/command/user/network/CreateNetworkCmd.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/command/user/network/CreateNetworkCmd.java b/api/src/org/apache/cloudstack/api/command/user/network/CreateNetworkCmd.java
index 5ec7cef..fc7bd9f 100644
--- a/api/src/org/apache/cloudstack/api/command/user/network/CreateNetworkCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/user/network/CreateNetworkCmd.java
@@ -268,10 +268,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);