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

VNF: add API listVnfAppliances #8994

Merged
merged 2 commits into from
Jun 19, 2024

Conversation

weizhouapache
Copy link
Member

@weizhouapache weizhouapache commented Apr 26, 2024

Description

This PR fixes: #8979

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

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?

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

@weizhouapache
Copy link
Member Author

@blueorangutan package

@blueorangutan
Copy link

@weizhouapache 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.

@codecov-commenter
Copy link

codecov-commenter commented Apr 26, 2024

Codecov Report

Attention: Patch coverage is 0% with 7 lines in your changes are missing coverage. Please review.

Project coverage is 14.95%. Comparing base (e409c6d) to head (8da6669).
Report is 15 commits behind head on 4.19.

Files Patch % Lines
...tack/api/command/user/vm/ListVnfAppliancesCmd.java 0.00% 4 Missing ⚠️
...stack/storage/template/VnfTemplateManagerImpl.java 0.00% 2 Missing ⚠️
.../command/admin/vm/ListVnfAppliancesCmdByAdmin.java 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               4.19    #8994      +/-   ##
============================================
- Coverage     14.96%   14.95%   -0.01%     
+ Complexity    10995    10983      -12     
============================================
  Files          5373     5375       +2     
  Lines        468989   468910      -79     
  Branches      61009    60158     -851     
============================================
- Hits          70191    70146      -45     
+ Misses       391019   390995      -24     
+ Partials       7779     7769      -10     
Flag Coverage Δ
uitests 4.31% <ø> (-0.01%) ⬇️
unittests 15.66% <0.00%> (-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.

@blueorangutan
Copy link

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

@weizhouapache
Copy link
Member Author

@blueorangutan package

@blueorangutan
Copy link

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

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

@weizhouapache
Copy link
Member Author

@blueorangutan test

@blueorangutan
Copy link

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

@blueorangutan
Copy link

[SF] Trillian test result (tid-10079)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 43610 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr8994-t10079-kvm-centos7.zip
Smoke tests completed. 129 look OK, 2 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test Result Time (s) Test File
test_01_events_resource Error 410.24 test_events_resource.py
test_01_restore_vm Error 0.26 test_restore_vm.py
test_02_restore_vm_allocated_root Error 0.20 test_restore_vm.py
ContextSuite context=TestRestoreVM>:teardown Error 1.30 test_restore_vm.py

@weizhouapache
Copy link
Member Author

@blueorangutan package

@blueorangutan
Copy link

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

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

@weizhouapache
Copy link
Member Author

@blueorangutan package

@blueorangutan
Copy link

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

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

@weizhouapache
Copy link
Member Author

@blueorangutan test rocky8 kvm-rocky8

@blueorangutan
Copy link

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

Copy link
Contributor

@sureshanaparti sureshanaparti left a comment

Choose a reason for hiding this comment

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

clgtm

@blueorangutan
Copy link

[SF] Trillian test result (tid-10087)
Environment: kvm-rocky8 (x2), Advanced Networking with Mgmt server r8
Total time taken: 50813 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr8994-t10087-kvm-rocky8.zip
Smoke tests completed. 129 look OK, 2 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test Result Time (s) Test File
test_01_events_resource Error 420.49 test_events_resource.py
test_01_restore_vm Error 0.34 test_restore_vm.py
test_02_restore_vm_allocated_root Error 0.23 test_restore_vm.py
ContextSuite context=TestRestoreVM>:teardown Error 1.35 test_restore_vm.py

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.

clgtm

@weizhouapache
Copy link
Member Author

@vladimirpetrov
can you verify when possible ? thanks

Copy link
Member

@vishesh92 vishesh92 left a comment

Choose a reason for hiding this comment

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

code looks good to me.

tested. I am able to list vnf instances after the patch with both root user and a normal user.

@vishesh92 vishesh92 merged commit 81269ad into apache:4.19 Jun 19, 2024
24 checks passed
@DaanHoogland DaanHoogland deleted the 4.19-add-listvnfappliancescmd branch June 19, 2024 14:30
dhslove pushed a commit to ablecloud-team/ablestack-cloud that referenced this pull request Jun 24, 2024
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.

Wrong API call from the UI on the 'Network > VNF appliances' page
7 participants