This is an automated email from the ASF dual-hosted git repository.

sureshanaparti pushed a commit to branch 4.19
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


The following commit(s) were added to refs/heads/4.19 by this push:
     new 7e00678691e set isSystem for SVM IPs (#9281)
7e00678691e is described below

commit 7e00678691e292568fb457ff36829f6cbbee7c99
Author: dahn <d...@onecht.net>
AuthorDate: Sun Jun 23 16:06:45 2024 +0200

    set isSystem for SVM IPs (#9281)
    
    * set isSystem for SSVM IPs
    
    * Revert "set isSystem for SSVM IPs"
    
    This reverts commit 4ba71b3d6b4ea377f6778d166ff9da7d41e5d007.
    
    * set isSystem flag for SSVMs
---
 server/src/main/java/com/cloud/network/guru/PublicNetworkGuru.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/src/main/java/com/cloud/network/guru/PublicNetworkGuru.java 
b/server/src/main/java/com/cloud/network/guru/PublicNetworkGuru.java
index e8374b39f53..4a426d6fb94 100644
--- a/server/src/main/java/com/cloud/network/guru/PublicNetworkGuru.java
+++ b/server/src/main/java/com/cloud/network/guru/PublicNetworkGuru.java
@@ -126,7 +126,7 @@ public class PublicNetworkGuru extends AdapterBase 
implements NetworkGuru {
             if (vm.getType().equals(VirtualMachine.Type.ConsoleProxy) || 
vm.getType().equals(VirtualMachine.Type.SecondaryStorageVm)) {
                 forSystemVms = true;
             }
-            PublicIp ip = _ipAddrMgr.assignPublicIpAddress(dc.getId(), null, 
vm.getOwner(), VlanType.VirtualNetwork, null, null, false, forSystemVms);
+            PublicIp ip = _ipAddrMgr.assignPublicIpAddress(dc.getId(), null, 
vm.getOwner(), VlanType.VirtualNetwork, null, null, forSystemVms, forSystemVms);
             nic.setIPv4Address(ip.getAddress().toString());
             nic.setIPv4Gateway(ip.getGateway());
             nic.setIPv4Netmask(ip.getNetmask());

Reply via email to