...
- ONAP release must be readily deploy-able, to allow a test framework to run on the deployment and test a VNF.
- ONAP deployment must be reproducible to ensure VNF tests are conducted in a uniform environment.
- Definition of life cycle requirements (i.e. what the test cases validate)
- Both HEAT & TOSCA
What does a mean (formally for a test case requirement) to "instantiate" (or startup) a VNF?
Info from Victor, Definition of VNF onboarding for TOSCA based VNF.
- Verify the VNF package by using VNFSDK compliance check test cases.
- upload a VNF package to ONAP system
- verify the VNF Package already exist on the ONAP system.
Info from Victor, Definition of VNF instantiation for TOSCA based VNF.
- Trigger an "instantiate VNF" operation to Controller
- verify that the requested grant for the "instantiate VNF" operation has been approved by the controller
- VNF related software images have been successfully added to the image repository managed by the VIM or already exist on the VIM system(Currently, ONAP is manually doing this.)
- Verify that the requested virtualised resources have been allocated by the VIM according to the VNFD
- Verify that virtualised resource allocation constraints have been met by querying the VIM
- Verify that any existing virtualised resources have not been affected by the allocation of the new virtualised resources by querying the VIM
- Verify that the VNF instance resources are visible on the controller
- Does instantiation include configuration?
- Victor: both heat and Tosca template could include the inject-file/user-data(cloud-init) as the day0 configuration file of a VNF.
- Does instantiation include health check?
- Victor: Could be yes, we could use the query interface (query the VNF detail info) to implement the health-check func.
- HEAT
- Trevor Lovett & Ryan Hallahan will help with this.
- TOSCA
- Weitao Gao will help with this.
Info from Victor, Definition of VNF instantiation for TOSCA based VNF.
- Trigger an "instantiate VNF" operation to Controller
- verify that the requested grant for the "instantiate VNF" operation has been approved by the controller
- VNF related software images have been successfully added to the image repository managed by the VIM or already exist on the VIM system
- (Currently, ONAP is manually doing this.)
- Verify that the requested virtualised resources have been allocated by the VIM according to the VNFD
- Verify that virtualised resource allocation constraints have been met by querying the VIM
- Verify that any existing virtualised resources have not been affected by the allocation of the new virtualised resources by querying the VIM
- Verify that the VNF instance resources are visible on the controller
- Test case description template for specifying VNF validation test purpose, implementation steps and pass/fail criteria.
- Definition of the set of ONAP components and their configuration required for the testing (ONAP profile used for testing).
- Definition of test infrastructure requirements needed for testing (i.e. hardware with compute / network / storage and pod requirements to run testing).
- Test tooling that drives testing through existing ONAP interfaces.
- HEAT
- TOSCA
- Both HEAT & TOSCA
...