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

Test suite for the onos-form-cluster

Purpose

The purpose of this test suite is to verify the functionality of the onos-form-cluster command. We will test the ability to form a cluster from the multiple single node ONOS. The test suite ensures the functionality of the ONOS’s ability to use the onos-form-cluster and comparing a configuration of the ONOS before and after form cluster.

Test Overview

This test uses seven single node at the beginning. It will check the number of the node which all should be 1 at the beginning. Then, it will form the cluster and re-check the number of the node. This case, since seven single node has been formed to one cluster, they all should have 7 nodes. Then, it will start a simple Mininet to test the ping and compare the topology.


Test Case#DescriptionPass/Fail Criteria
0Set up test parameters.pass: If params are set
1Install 7 single nodes and start the ONOS.pass: If sets cells correctly and builds, uninstalls, and installs ONOS correctly
2Form a cluster to 7 single nodes.pass: If successfully formed a cluster.
3Checking the ONOS configuration of the single node ONOS.pass: If each ONOS has one node and only one of them has extra app activated
4Checking the ONOS configuration of the cluster formed ONOS.pass: If each ONOS has 7 nodes, state of the node is in ready, and all of them has extra app activated.
5Starting Mininet and verifying Topology.pass: If successfully verify the topology.
  • No labels