Skip to content

Commit 798c165

Browse files
committed
server: allow vr implement when external vm
Signed-off-by: Abhishek Kumar <[email protected]>
1 parent c27abcf commit 798c165

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/main/java/com/cloud/network/element/VirtualRouterElement.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ public boolean implement(final Network network, final NetworkOffering offering,
257257
@Override
258258
public boolean prepare(final Network network, final NicProfile nic, final VirtualMachineProfile vm, final DeployDestination dest, final ReservationContext context)
259259
throws ConcurrentOperationException, InsufficientCapacityException, ResourceUnavailableException {
260-
if (vm.getType() != VirtualMachine.Type.User || vm.getHypervisorType() == HypervisorType.BareMetal || vm.getHypervisorType() == HypervisorType.External) {
260+
if (vm.getType() != VirtualMachine.Type.User || vm.getHypervisorType() == HypervisorType.BareMetal) {
261261
return false;
262262
}
263263

0 commit comments

Comments
 (0)