cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yas...@apache.org
Subject git commit: refs/heads/network-refactor - IPv6: Enable dual stack support
Date Wed, 13 Feb 2013 23:10:08 GMT
Updated Branches:
  refs/heads/network-refactor 0ea19fc2a -> 08814903f


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/08814903
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/08814903
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/08814903

Branch: refs/heads/network-refactor
Commit: 08814903f084e0fa049354f4c8bde689c285767e
Parents: 0ea19fc
Author: Sheng Yang <sheng.yang@citrix.com>
Authored: Tue Feb 12 16:39:05 2013 -0800
Committer: Sheng Yang <sheng.yang@citrix.com>
Committed: Tue Feb 12 16:39:05 2013 -0800

----------------------------------------------------------------------
 .../com/cloud/api/commands/CreateNetworkCmd.java   |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/08814903/api/src/com/cloud/api/commands/CreateNetworkCmd.java
----------------------------------------------------------------------
diff --git a/api/src/com/cloud/api/commands/CreateNetworkCmd.java b/api/src/com/cloud/api/commands/CreateNetworkCmd.java
index 336dcec..fcc1fa7 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);


Mime
View raw message