Versions Compared

Key

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

...

use of submodule from pythonsdk to know the available simulators? customize configuration?


The "scalable steps" solution

Concept: 
Jira
showSummaryfalse
serverONAP JIRA
serverId425b2b0a-557c-3c0c-b515-579789cceedb
keyINT-1812

Implementation: 
Jira
serverONAP JIRA
columnskey,type,status
serverId425b2b0a-557c-3c0c-b515-579789cceedb
keyINT-1829

Author: Illia Halych

Problem: all simulators are different, no trivial solution for all.

Challenges:

  1. Include general functionalities, specific functionalities, abstractions.
  2. Make it flexible to extend the wrapper based on specific needs.
  3. Patch custom configurations.
  4. Cleanup when something fails.

SolutionConcept:

  1. Use a step-by-step execution that's already available in pythonsdk-testsand implement the simulator as a step-by-step process.
  2. The step-by-step process execution will allow to patch configurations to each independent step separately before they start.
  3. The step-by-step process execution will allow to "rollback" (cleanup) from the step where the problem occurred.
  4. The step-by-step process execution is capable of changing the order of steps and dropping certain steps. 
  5. The first (1) basic step has the lowest level of abstraction - most common functionalities for all.
  6. The zero (0) basic step would be a substitution for the first step (1) for complex models.
  7. The third (3) basic step has the highest level of abstraction - least common functionalities for all.

Example of a single vs. a complex simulator execution models.
 

Solution:

  1. Simulators' images and other setup are described in helm charts. Charts should be stored in a remote repository and can be installed together with dependencies.
  2. Avionix officially supports Helm 3 only.
  3.  STEP LEVEL 2 supports HTTP/HTTPS API calls.

Image AddedImage Removed