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

Purpose

The purpose of this test is to test various Virtual Private LAN Server (VPLS) CLI commands.

Test Overview

The test uses the configuration of 1 Mininet node and 3 ONOS nodes.  Mininet topology consists of 6 hosts, 6 switches, and 15 links, which is loaded from onos/tools/test/topos/vpls.py. Hosts 1, 2, 3, and 4 are assigned as VLAN hosts.  After initialization, the test will execute a VPLS CLI command, then check connectivity between hosts.  For the test to pass, all commands must be successfully executed, and connectivity should always be as expected after each command is run.

Test Case #DescriptionPass/Fail Criteria
1Compile ONOS, push ONOS to test machines, set up Mininet, and set up test parameters.Pass: Mininet, ONOS, and parameters are set up correctly.
2Load and test VPLS configurations from .json configuration file located in onos/tools/test/topos.Pass: Configurations are loaded correctly, connectivity is as expected.
10

Remove an interface from a VPLS network.

Pass: Connectivity tests are as expected.
11Clean all VPLS configurations.Pass: Connectivity tests are as expected.
12Create a new VPLS network.Pass: Connectivity tests are as expected.
13Add interfaces to the new VPLS network.Pass: Connectivity tests are as expected.
14Add MPLS encapsulation.Pass: Connectivity tests are as expected.
15Change an encapsulation type.Pass: Connectivity tests are as expected.
16Remove encapsulation.Pass: Connectivity tests are as expected.
  • No labels