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
New feature: VNF templates and appliances integration #8022
Conversation
This feature introduce a new type of template in CloudStack: "VNF" It supports the life cycle of VNF templates: - register - update - list - delete It also supports the management of VNF templates and deployment of VNF appliances (from VNF templates) on GUI Design: https://cwiki.apache.org/confluence/display/CLOUDSTACK/VNF+Appliance+Integration
@blueorangutan package |
@weizhouapache a [SF] 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 Report
@@ Coverage Diff @@
## main #8022 +/- ##
============================================
+ Coverage 4.78% 29.18% +24.39%
- Complexity 0 30862 +30862
============================================
Files 346 5150 +4804
Lines 26150 363420 +337270
Branches 4497 53230 +48733
============================================
+ Hits 1252 106071 +104819
- Misses 24763 242774 +218011
- Partials 135 14575 +14440
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 4756 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 7173 |
engine/components-api/src/main/java/com/cloud/template/TemplateManager.java
Outdated
Show resolved
Hide resolved
server/src/main/java/com/cloud/api/query/dao/UserVmJoinDaoImpl.java
Outdated
Show resolved
Hide resolved
self.vnf_template = VnfTemplate.register(self.user_apiclient, | ||
self.vnf_template_config, | ||
zoneid=self.zone.id, | ||
hypervisor=self.hypervisor, | ||
vnfnics=VNF_NICS, | ||
vnfdetails=VNF_DETAILS) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this be unregistered after the test?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
template will be removed in test_05_delete_vnf_template
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think these (tests 1 and 5) should be part of setup and teardown. In this way the order of the tests matters, which can lead to issues of intermittend failures. Tests, even integration tests should be atomic.
@blueorangutan package |
@weizhouapache a [SF] 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 package |
@weizhouapache a [SF] 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 LLpackage |
@weizhouapache a [LL] 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. |
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 7189 |
Packaging result [LL]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 6188 |
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 7190 |
@blueorangutan LLtest |
@weizhouapache a [LL] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
[LL] Trillian Build Failed (tid-6758) |
@blueorangutan LLtest rocky8 kvm-rocky8 |
@weizhouapache a [LL] Trillian-Jenkins test job (rocky8 mgmt + kvm-rocky8) has been kicked to run smoke tests |
[LL]Trillian test result (tid-6759)
|
@blueorangutan test matrix |
@weizhouapache a [SL] Trillian-Jenkins matrix job (centos7 mgmt + xenserver71, rocky8 mgmt + vmware67u3, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests |
[SF] Trillian test result (tid-8056)
|
[SF] Trillian test result (tid-8054)
|
[SF] Trillian test result (tid-8055)
|
LGTM |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code LGTM
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM verified the feature in all the use cases.
@blueorangutan package |
@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. |
Packaging result [SF]: ✖️ el7 ✖️ el8 ✖️ el9 ✖️ debian ✖️ suse15. SL-JID 7522 |
22a649f
to
cf562c4
Compare
@blueorangutan package |
@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 test matrix |
@weizhouapache a [SL] Trillian-Jenkins matrix job (centos7 mgmt + xenserver71, rocky8 mgmt + vmware67u3, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests |
[SF] Trillian test result (tid-8115)
|
[SF] Trillian test result (tid-8113)
|
[LL] Trillian Build Failed (tid-6868) |
[SF] Trillian test result (tid-8114)
|
Description
This feature introduce a new type of template in CloudStack: "VNF"
Virtualized Network Functions (a.k.a VNF) commonly refers to the software form of network appliances such as a router, firewall, load balancer, etc.
VNF appliances are mostly deployed as virtual machines (VMs) on Linux KVM or VMware vSphere hypervisors on commercial off-the-shelf hardware (COTS).
It supports the life cycle of VNF templates:
It also supports the management of VNF templates and deployment of VNF appliances (from VNF templates) on GUI
Design:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/VNF+Appliance+Integration
Doc PR: apache/cloudstack-documentation#354
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?