Have questions? Stuck? Please check our FAQ for some common questions and answers.

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 14 Next »

Purpose:

The purpose of this platform test is to test ONOS on the platform level.

Test Overview:

Objectives:

  • Pull latest ONOS (image, tar ball, etc)
  • Starting up ONOS
  • Form a cluster
  • Activate and deactivate applications after startup

Test Suite: PLATdockertest

Test Case #DescriptionPass/Fail Criteria
0Pull all docker images and get a list of image tags.Pass: No duplicate image tags, and image tag list pulled successfully.
1Set up test parametersPass: Parameters are set and docker service is running.
5Pull "onosproject/onos:latest" image from docker repo. (unused)Pass: Image is pulled successfully.
10Start three ONOS containers as standalone ONOS and obtain IPs of all nodes.Pass: ONOS node IPs are obtained and container successfully started.
110Step 1: Check default startup standalone ONOS applications status.Pass: "drivers" app is in ACTIVE state AND all builtin apps have "INSTALLED" state.

Step 2: Form ONOS cluster with all nodes.Pass: ONOS forms cluster with correct number of nodes.

Step 3: Check cluster startup apps status.Pass: "drivers" app is in ACTIVE state AND all builtin apps have "INSTALLED" state

Step 4: Activate "proxyarp" and "fwd" apps and check apps status.Pass: Newly activated apps have "ACTIVE" state.

Step 5: Deactivate "proxyarp" and "fwd" apps and check app status.Pass: Newly deactivated apps have "INSTALLED state.
120Docker Mininet TestingPass: Mininet Topology is successfully loaded.
130Docker Intents CheckPass: Intents check was successful.
140Docker Flows TestPass: Flows successfully added.
299Cleanup previous Docker testingPass: Successful cleanup.
900Check ONOS log for exceptions after test.Pass: Exception check passes.
1000Pre/Post-test clean environment: Delete ONOS container (if existing), delete images with <none>:<none> tag (if existing).Pass: Containers and images do not exist in docker.
  • No labels