Skip to content

Conversation

@lucas-a-martins
Copy link
Collaborator

Description

When creating a L2 network offering via UI, the compute offering parameter is required despite L2 networks not using a virtual router and the compute offering itself.

This PR removes the compute offering parameter from Add Network Offering form when L2 guest type is selected.

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)
  • build/CI
  • test (unit or integration test code)

Feature/Enhancement Scale or Bug Severity

Feature/Enhancement Scale

  • Major
  • Minor

Screenshots (if appropriate):

L2-network-offering-PR

How Has This Been Tested?

As shown in the screenshot above, the compute offering option is no longer present when selecting L2 guest type. By selecting the Isolated and Shared types, I checked that the parameter still available.

I also created some network offerings of each type and everything is working as intended.

@codecov
Copy link

codecov bot commented Feb 13, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 16.07%. Comparing base (0dcb8da) to head (5f38d92).
Report is 44 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##               main   #10389   +/-   ##
=========================================
  Coverage     16.07%   16.07%           
- Complexity    13189    13191    +2     
=========================================
  Files          5664     5664           
  Lines        497599   497609   +10     
  Branches      60214    60216    +2     
=========================================
+ Hits          79983    79993   +10     
+ Misses       408666   408660    -6     
- Partials       8950     8956    +6     
Flag Coverage Δ
uitests 4.00% <ø> (+<0.01%) ⬆️
unittests 16.91% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Co-authored-by: Bernardo De Marco Gonçalves <[email protected]>
@bernardodemarco
Copy link
Member

@blueorangutan ui

@blueorangutan
Copy link

@bernardodemarco a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

@blueorangutan
Copy link

UI build: ✔️
Live QA URL: https://qa.cloudstack.cloud/simulator/pr/10389 (QA-JID-554)

Copy link
Contributor

@DaanHoogland DaanHoogland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tested in QA

Copy link
Member

@bernardodemarco bernardodemarco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, tested in the QA environment

@bernardodemarco bernardodemarco added this to the 4.21.0 milestone Feb 18, 2025
@Pearl1594 Pearl1594 merged commit eab37ec into apache:main Mar 3, 2025
25 of 26 checks passed
dhslove pushed a commit to ablecloud-team/ablestack-cloud that referenced this pull request Jun 19, 2025
…ache#10389)

* Change L2 offering form to not require a compute offering

* apply bernado's suggestion

Co-authored-by: Bernardo De Marco Gonçalves <[email protected]>

---------

Co-authored-by: Lucas Martins <[email protected]>
Co-authored-by: Bernardo De Marco Gonçalves <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

5 participants