Skip to content

UI: Restore AS Numbers and IPv4 Subnets menus - #10580

Merged
weizhouapache merged 4 commits into
apache:4.20from
shapeblue:ui-fix-as-numbers
Apr 11, 2025
Merged

UI: Restore AS Numbers and IPv4 Subnets menus#10580
weizhouapache merged 4 commits into
apache:4.20from
shapeblue:ui-fix-as-numbers

Conversation

@nvazquez

@nvazqueznvazquez commented Mar 17, 2025

Copy link
Copy Markdown
Contributor

Description

This PR fixes a regression on the UI in which the AS Numbers menu tab was removed, caused by the merge commit: 34d2a3b (check network.js file diff)

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

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

Screenshots (if appropriate):

How Has This Been Tested?

Before:
Screenshot 2025-03-17 at 12 32 22

After:
Screenshot 2025-03-17 at 12 49 25

How did you try to break this feature and the system with this change?

@nvazquez
nvazquez changed the base branch from main to 4.20March 17, 2025 15:41
@nvazqueznvazquez changed the title UI: Restore AS Numbers menuUI: Restore AS Numbers and IPv4 Subnets menusMar 17, 2025
@nvazquez

Copy link
Copy Markdown
ContributorAuthor

@blueorangutan ui

@blueorangutan

Copy link
Copy Markdown

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

@codecov

codecovBot commented Mar 17, 2025

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 16.01%. Comparing base (f8adedc) to head (34c525a).
Report is 27 commits behind head on 4.20.

Additional details and impacted files
@@ Coverage Diff @@## 4.20 #10580 +/- ##
=========================================
Coverage 16.00% 16.01% - Complexity 13104 13115 +11 
=========================================
Files 5651 5651 Lines 495843 495881 +38 Branches 60045 60048 +3 =========================================
+ Hits 79363 79410 +47 + Misses 407624 407608 -16 - Partials 8856 8863 +7 
FlagCoverage Δ
uitests4.00% <ø> (-0.01%)⬇️
unittests16.85% <ø> (+<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.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@weizhouapacheweizhouapache left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

code lgtm

image

@blueorangutan

Copy link
Copy Markdown

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

@Pearl1594Pearl1594 moved this to In Progress in ACS 4.20.1Mar 17, 2025

@Pearl1594Pearl1594 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM.

@vishesh92

Copy link
Copy Markdown
Member

I think we need to add some more changes back from the 34d2a3b. Specifically around guest network's details, bgp.peer, rotuing.firewall tab, etc.

@nvazquez

Copy link
Copy Markdown
ContributorAuthor

Thanks @vishesh92 I have addressed that on the last commit, can you please re-review?

@nvazquez

Copy link
Copy Markdown
ContributorAuthor

@blueorangutan ui

@blueorangutan

Copy link
Copy Markdown

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

@blueorangutan

Copy link
Copy Markdown

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

@yadvryadvr added this to the 4.20.1 milestone Mar 18, 2025
@Pearl1594

Copy link
Copy Markdown
Contributor

@vishesh92 is your concern addressed?

Comment threadui/src/config/section/network.js Outdated
@vishesh92

Copy link
Copy Markdown
Member

@nvazquez can you also revert this change
image

@RosiKyu

Copy link
Copy Markdown
Collaborator

@blueorangutan test keepEnv

@blueorangutan

Copy link
Copy Markdown

@rosi-shapeblue a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests

@nvazquez

Copy link
Copy Markdown
ContributorAuthor

Thanks @vishesh92 - I have addressed your last comments, can you please re-review?

@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

@nvazquez a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

@blueorangutan

Copy link
Copy Markdown

Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 12981

@vishesh92vishesh92 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

clgtm

@DaanHoogland

Copy link
Copy Markdown
Contributor

@blueorangutan ui

@blueorangutan

Copy link
Copy Markdown

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

@blueorangutan

Copy link
Copy Markdown

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

@DaanHoogland

Copy link
Copy Markdown
Contributor

I am not sure why, this works in a 4.20.1 lab env but not against qa, something is incompatible between the new UI and the old API , I think. I also think this is good for merge.
cc @nvazquez@Pearl1594

@weizhouapache

Copy link
Copy Markdown
Member

I am not sure why, this works in a 4.20.1 lab env but not against qa, something is incompatible between the new UI and the old API , I think. I also think this is good for merge. cc @nvazquez@Pearl1594

it might be better to have QAs for at least 3 ACS versions

  • dev (main)
  • stable (4.20)
  • previous-stable lts (4.19)

@nvazquez

Copy link
Copy Markdown
ContributorAuthor

Hi guys, I've done dev testing for 4.20 and main branches as both were affected and this PR fixed it. Will double check 4.19

@nvazquez

Copy link
Copy Markdown
ContributorAuthor

@weizhouapache@DaanHoogland@Pearl1594 4.19 is not affected as the feature that introduced AS Numbers and IPv4 Subnets sections was introduced on 4.20 (#9470)

@weizhouapache

Copy link
Copy Markdown
Member

thanks @nvazquez

verified locally

left panel
image

tab of routed network
image

details of routed network
image

@weizhouapache
weizhouapache merged commit d1df418 into apache:4.20Apr 11, 2025
@github-project-automationgithub-project-automationBot moved this from In Progress to Done in ACS 4.20.1Apr 11, 2025
@Pearl1594
Pearl1594 deleted the ui-fix-as-numbers branch April 11, 2025 12:58
dhslove pushed a commit to ablecloud-team/ablestack-cloud that referenced this pull request Jun 19, 2025
* UI: Restore AS Numbers menu
* Restore IPv4 Subnets menu
* Add missing details for network and VPC details and tabs for Isolated networks
* Address latest review comments
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

8 participants

@nvazquez@blueorangutan@vishesh92@Pearl1594@RosiKyu@DaanHoogland@weizhouapache@yadvr