You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2022/04/08 11:15:17 UTC

[GitHub] [cloudstack] SadiJr commented on a diff in pull request #5902: Allow users to view reserved System VM IPs, if they're already allocated to user

SadiJr commented on code in PR #5902:
URL: https://github.com/apache/cloudstack/pull/5902#discussion_r846007390


##########
server/src/main/java/com/cloud/server/ManagementServerImpl.java:
##########
@@ -2424,7 +2425,9 @@ private void setParameters(SearchCriteria<IPAddressVO> sc, final ListPublicIpAdd
             sc.setParameters("state", state);
         }
 
-        sc.setParameters( "forsystemvms", false);
+        if (sourceNetworkId == null && IpAddressManagerImpl.SystemVmPublicIpReservationModeStrictness.value()) {
+            sc.setParameters("forsystemvms", false);
+        }

Review Comment:
   Hi @weizhouapache 
   
   I apologize for the delay in my answer. I've been pretty busy the last few weeks, and I ended up not having time to review this PR. I will implement and test your suggestion. Thanks for the suggestion and I apologize again for the delay.



-- 
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: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org