From 51c9f0e3b524f978eadb6a6ba630c3f7281b1a11 Mon Sep 17 00:00:00 2001 From: Wilder Rodrigues Date: Thu, 10 Dec 2015 19:51:28 +0100 Subject: [PATCH] CLOUDSTACK-9138 - Adds multiple providers back to VPC implementation - It is need and already allowed/used in the current implementation. For example, the Default [redundant] VPC offerings use two LB providers. If we cannot create offerings with 2 LB providers, the whole internal loadbalancer implementation won't work --- server/src/com/cloud/network/vpc/VpcManagerImpl.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/server/src/com/cloud/network/vpc/VpcManagerImpl.java b/server/src/com/cloud/network/vpc/VpcManagerImpl.java index bb857e44e51b..fe9a86f82091 100644 --- a/server/src/com/cloud/network/vpc/VpcManagerImpl.java +++ b/server/src/com/cloud/network/vpc/VpcManagerImpl.java @@ -412,10 +412,6 @@ public VpcOffering createVpcOffering(final String name, final String displayText final Network.Service service = Network.Service.getService(serviceEntry.getKey()); if (svcProviderMap.containsKey(service)) { final Set providers = new HashSet(); - // don't allow to specify more than 1 provider per service - if (serviceEntry.getValue() != null && serviceEntry.getValue().size() > 1) { - throw new InvalidParameterValueException("In the current release only one provider can be " + "specified for the service"); - } for (final String prvNameStr : serviceEntry.getValue()) { // check if provider is supported final Network.Provider provider = Network.Provider.getProvider(prvNameStr);