Skip to content

Improvement/Ui: Make network mode mandatory or validate when creating vpc offering and network offering #13607

Description

@kiranchavala

The required feature described as a wish

As a Admin/Operator I would like to see if the particular vpc or network offering is natted or routed

If the admin user doesn't select the network mode , identifying if the offering is routed or natted is difficult

https://cloudstack.apache.org/api/apidocs-4.22/apis/createVPCOffering.html
https://cloudstack.apache.org/api/apidocs-4.22/apis/createNetworkOffering.html

https://cloudstack.apache.org/api/apidocs-4.22/apis/listVPCOfferings.html
https://cloudstack.apache.org/api/apidocs-4.22/apis/listNetworkOfferings.html

Currently, we support the creation of vpc offering without selecting the network mode

Image Image

Select Natted mode when creating vpc offering > Check the details > natted mode is mentioned

Image

Similarly, for network offerings, cloudstack shows natted mode only when the admin user selects the network mode

Image

Activity

  1. Chinmay048 commented on Jul 15, 2026

    @Chinmay048
    Contributor

    Hello @kiranchavala, I would like to work on this issue!

    I am currently investigating the UI form validation schemas in Vue (ui/) along with the API parameter enforcement in CreateVPCOfferingCmd and CreateNetworkOfferingCmd (api/) to ensure the network mode is properly validated across both boundaries. Could you please assign this to me? Thanks!

  2. Chinmay048 commented on Jul 16, 2026

    @Chinmay048
    Contributor

    Thank you for assigning me, @kiranchavala!

    I have already completed the investigation and submitted the full-stack fix for this here: #13622

    The PR enforces mandatory network mode selection across both the Vue.js UI (AddVpcOffering.vue / AddNetworkOffering.vue) and the Java backend framework (CreateVPCOfferingCmd.java / NetworkOfferingBaseCmd.java). Let me know if any changes are needed!

  3. added this to the 4.24.0 milestone on Jul 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions