Chinmay048 opened a new pull request, #13622:
URL: https://github.com/apache/cloudstack/pull/13622

   ### Description
   
   This PR resolves an issue where the `networkmode` parameter (ROUTED vs 
NATTED) was treated as optional during the creation of VPC and Network 
Offerings, leading to ambiguous network configurations.
   
   **Full-Stack Boundary Enforcement:**
   * **Frontend (Vue.js / Ant Design):** Added reactive validation rules 
(`required: true`) in `AddVpcOffering.vue` and `AddNetworkOffering.vue` to give 
administrators immediate visual feedback and prevent form submission if a 
network mode is not selected.
   * **Backend (Java API):** Hardened the serialization contract by adding 
`required = true` to the `@Parameter` annotation in `CreateVPCOfferingCmd.java` 
and `NetworkOfferingBaseCmd.java` (which governs creation and cloning 
operations without impacting updates).
   
   ### Types of changes
   - [x] Improvement (non-breaking change which enhances UX and API stability)
   - [ ] Bug fix (non-breaking change which fixes an issue)
   - [ ] New feature (non-breaking change which adds functionality)
   - [ ] Breaking change (fix or feature that would cause existing 
functionality to change)
   
   ### Checklist:
   - [x] My code follows the code style of this project.
   - [x] I have read the **CONTRIBUTING** document.
   - [x] My changes generate no new warnings or checkstyle errors.


-- 
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