Skip to content

Commit 6be2cc7

Browse files
committed
Merge pull request #1215 from ekholabs/improve/mult-providers-CLOUDSTACK-9138
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. * pr/1215: CLOUDSTACK-9138 - Adds multiple providers back to VPC implementation Signed-off-by: Remi Bergsma <github@remi.nl>
2 parents c9985e9 + 51c9f0e commit 6be2cc7

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

server/src/com/cloud/network/vpc/VpcManagerImpl.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -412,10 +412,6 @@ public VpcOffering createVpcOffering(final String name, final String displayText
412412
final Network.Service service = Network.Service.getService(serviceEntry.getKey());
413413
if (svcProviderMap.containsKey(service)) {
414414
final Set<Provider> providers = new HashSet<Provider>();
415-
// don't allow to specify more than 1 provider per service
416-
if (serviceEntry.getValue() != null && serviceEntry.getValue().size() > 1) {
417-
throw new InvalidParameterValueException("In the current release only one provider can be " + "specified for the service");
418-
}
419415
for (final String prvNameStr : serviceEntry.getValue()) {
420416
// check if provider is supported
421417
final Network.Provider provider = Network.Provider.getProvider(prvNameStr);

0 commit comments

Comments
 (0)