Skip to content

Commit 27e5d1f

Browse files
committed
NiciraNvp Provider should not be marked as external as this will prevent
creation of networks when there is no default CIDR in the zone.
1 parent 43dc31b commit 27e5d1f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

api/src/com/cloud/network/Network.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,8 @@ public static class Provider {
135135
public static final Provider SecurityGroupProvider = new Provider("SecurityGroupProvider", false);
136136
public static final Provider VPCVirtualRouter = new Provider("VpcVirtualRouter", false);
137137
public static final Provider None = new Provider("None", false);
138-
public static final Provider NiciraNvp = new Provider("NiciraNvp", true);
138+
// NiciraNvp is not an "External" provider, otherwise we get in trouble with NetworkServiceImpl.providersConfiguredForExternalNetworking
139+
public static final Provider NiciraNvp = new Provider("NiciraNvp", false);
139140
public static final Provider MidokuraMidonet = new Provider("MidokuraMidonet", true);
140141

141142
private String name;

0 commit comments

Comments
 (0)