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

NETCONF Protocol Functionality Test Suite

Purpose

This test suite consists of generic NETCONF protocol testing within ONOS, by using OF-Config to translate NETCONF requests for OVSDB.

Test Environment

Make sure that OF-Config, https://github.com/openvswitch/of-config, is installed on the device that is to be configured, the test assumes this device is the machine running TestON. Ensure that <cfgName> and <cfgPass> in the params file are the username and password required to ssh into the desired machine and account that of-config is to be run on. The netconfConfig.json file contains the configuration that was generated by the test. The test also relies on the existence of this file and will misbehave if it is removed entirely. The contents of the file are overwritten every time the test suite runs through Test Case 200.

Test Overview

The test would start NETCONF App in all currently running nodes and OF-Config server on device to be configured. Then, it would create a configuration file. Upload the configuration file to the device to be configured. Verify that the device was configured successfully. 

 

Test Case#DescriptionPass/Fail CriteriaImplementation Status
1Set up test parameters

pass: If params are set

Finished
2

Set cell and build, uninstall, and install ONOS

pass: If sets cell correctly and build, uninstall, and install passes

Finished
19Copy karaf logs from ONOS nodes to TestON log directorypass: If successfully copied remote ONOS logsFinished
100Ensure netconf app is runningpass: If NETCONF app and OFC-Server start/runFinished
200Create/modify a configuration filepass: If create/modify the configuration file correctlyFinished
300Push a configuration file to bring up a devicepass: If sent configuration file and confirmed the device was configuredFinished
400Bring down a device Not yet possible

 

 

 

  • No labels