Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change L2 network offering form to not require a compute offering #10389

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

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.

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants