mirror of https://github.com/apache/cloudstack.git
IPv6: Disable untested features
Conflicts: api/src/com/cloud/api/commands/DeployVMCmd.java
This commit is contained in:
parent
ff06a26c4d
commit
41a815e762
|
|
@ -262,6 +262,10 @@ 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);
|
||||
|
|
|
|||
|
|
@ -764,10 +764,6 @@ public class NetworkServiceImpl implements NetworkService, Manager {
|
|||
|
||||
UserContext.current().setAccountId(owner.getAccountId());
|
||||
|
||||
if (startIPv6 != null && startIP != null) {
|
||||
throw new InvalidParameterValueException("Cannot support dualstack at this moment!");
|
||||
}
|
||||
|
||||
boolean ipv4 = false, ipv6 = false;
|
||||
if (startIP != null) {
|
||||
ipv4 = true;
|
||||
|
|
|
|||
Loading…
Reference in New Issue