weizhouapache commented on code in PR #9470:
URL: https://github.com/apache/cloudstack/pull/9470#discussion_r1702024836


##########
server/src/main/java/org/apache/cloudstack/network/router/deployment/RouterDeploymentDefinition.java:
##########
@@ -353,7 +353,8 @@ protected boolean prepareDeployment() {
         setupAccountOwner();
 
         // Check if public network has to be set on VR
-        isPublicNetwork = 
networkModel.isProviderSupportServiceInNetwork(guestNetwork.getId(), 
Service.SourceNat, Provider.VirtualRouter);
+        isPublicNetwork = 
networkModel.isProviderSupportServiceInNetwork(guestNetwork.getId(), 
Service.SourceNat, Provider.VirtualRouter)

Review Comment:
   done
   added a new method `networkModel.isAnyServiceSupportedInNetwork`



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to