Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. ONAP release must be readily deploy-able, to allow a test framework to run on the deployment and test a VNF.  
  2. ONAP deployment must be reproducible to ensure VNF tests are conducted in a uniform environment.
  3. Definition of life cycle requirements (i.e. what the test cases validate)
    1. Both HEAT & TOSCA 
      1. What does a mean (formally for a test case requirement) to "instantiate" (or startup) a VNF?


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



        2. 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


      2. Does instantiation include configuration?
        1. Victor: both heat and Tosca template could include the inject-file/user-data(cloud-init) as the day0 configuration file of a VNF.  
      3. Does instantiation include health check?
        1. Victor: Could be yes, we could use the query interface (query the VNF detail info) to implement the health-check func.
      4. HEAT
        1. Trevor Lovett & Ryan Hallahan will help with this.
      5. TOSCA
        1. Weitao Gao will help with this.

        2. 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


    2. Test case description template for specifying VNF validation test purpose, implementation steps and pass/fail criteria.
    3. Definition of the set of ONAP components and their configuration required for the testing (ONAP profile used for testing).
    4. Definition of test infrastructure requirements needed for testing (i.e. hardware with compute / network / storage and pod requirements to run testing).
    5. Test tooling that drives testing through existing ONAP interfaces.
      1. HEAT
      2. TOSCA

...