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

Pearl1594 pushed a commit to branch netris-improvements
in repository https://gitbox.apache.org/repos/asf/cloudstack.git

commit 34a15b5bc2d8f1b40d4f9c9018f40f405ef9389b
Author: Pearl Dsilva <[email protected]>
AuthorDate: Mon Jul 6 09:17:27 2026 -0400

    Add support to the VPC response to display if redundant routers are 
supported
    
    Co-authored-by: Pearl Dsilva <[email protected]>
---
 .../org/apache/cloudstack/api/response/VpcOfferingResponse.java   | 8 ++++++++
 .../main/java/com/cloud/api/query/dao/VpcOfferingJoinDaoImpl.java | 1 +
 ui/src/config/section/offering.js                                 | 2 +-
 3 files changed, 10 insertions(+), 1 deletion(-)

diff --git 
a/api/src/main/java/org/apache/cloudstack/api/response/VpcOfferingResponse.java 
b/api/src/main/java/org/apache/cloudstack/api/response/VpcOfferingResponse.java
index a0516e660e4..6c26a45b482 100644
--- 
a/api/src/main/java/org/apache/cloudstack/api/response/VpcOfferingResponse.java
+++ 
b/api/src/main/java/org/apache/cloudstack/api/response/VpcOfferingResponse.java
@@ -62,6 +62,10 @@ public class VpcOfferingResponse extends BaseResponse {
     @Param(description = "Indicates if the VPC offering supports distributed 
router for one-hop forwarding", since = "4.4")
     private Boolean supportsDistributedRouter;
 
+    @SerializedName(ApiConstants.REDUNDANT_ROUTER)
+    @Param(description = "Indicates if the VPC offering supports redundant 
routers")
+    private Boolean redundantRouter;
+
     @SerializedName((ApiConstants.SUPPORTS_REGION_LEVEL_VPC))
     @Param(description = "Indicated if the offering can support region level 
VPC", since = "4.4")
     private Boolean supportsRegionLevelVpc;
@@ -201,4 +205,8 @@ public class VpcOfferingResponse extends BaseResponse {
     public void setRoutingMode(String routingMode) {
         this.routingMode = routingMode;
     }
+
+    public void setRedundantRouter(Boolean redundantRouter) {
+        this.redundantRouter = redundantRouter;
+    }
 }
diff --git 
a/server/src/main/java/com/cloud/api/query/dao/VpcOfferingJoinDaoImpl.java 
b/server/src/main/java/com/cloud/api/query/dao/VpcOfferingJoinDaoImpl.java
index 7ea4b7d5834..8f6f6199085 100644
--- a/server/src/main/java/com/cloud/api/query/dao/VpcOfferingJoinDaoImpl.java
+++ b/server/src/main/java/com/cloud/api/query/dao/VpcOfferingJoinDaoImpl.java
@@ -71,6 +71,7 @@ public class VpcOfferingJoinDaoImpl extends 
GenericDaoBase<VpcOfferingJoinVO, Lo
         
offeringResponse.setSupportsDistributedRouter(offering.isSupportsDistributedRouter());
         
offeringResponse.setSupportsRegionLevelVpc(offering.isOffersRegionLevelVPC());
         offeringResponse.setCreated(offering.getCreated());
+        offeringResponse.setRedundantRouter(offering.isRedundantRouter());
         if (offering.getRoutingMode() != null) {
             
offeringResponse.setRoutingMode(offering.getRoutingMode().toString());
         }
diff --git a/ui/src/config/section/offering.js 
b/ui/src/config/section/offering.js
index 4a32619b8c2..1433533beab 100644
--- a/ui/src/config/section/offering.js
+++ b/ui/src/config/section/offering.js
@@ -508,7 +508,7 @@ export default {
       searchFilters: ['name', 'zoneid', 'domainid'],
       resourceType: 'VpcOffering',
       columns: ['name', 'state', 'displaytext', 'domain', 'zone', 'order'],
-      details: ['name', 'id', 'displaytext', 'internetprotocol', 
'distributedvpcrouter', 'tags', 'routingmode', 'specifyasnumber', 'service', 
'fornsx', 'networkmode', 'domain', 'zone', 'created'],
+      details: ['name', 'id', 'displaytext', 'internetprotocol', 
'distributedvpcrouter', 'redundantrouter', 'tags', 'routingmode', 
'specifyasnumber', 'service', 'fornsx', 'networkmode', 'domain', 'zone', 
'created'],
       related: [{
         name: 'vpc',
         title: 'label.vpc',

Reply via email to