NETCONF protocol Functionality Test Suite
Purpose
This test suite consists of generic NETCONF protocol testing within ONOS. 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
Start NETCONF App in all currently running nodes and OF-Config server on device to be configured. Create configuration file. Upload the configuration file to the device to be configured. Verify that the device was configured successfully.
| Test Cases# | Description | Pass/Fail Criteria | Implementation Status |
|---|---|---|---|
| 1 | Set 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 |
| 19 | Copy karaf logs from ONOS nodes to TestON log directory | pass: if return | Finished |
| 100 | Ensure netconf app is running | pass: | Finished |
| 200 | Create/modify a configuration file | pass: | Finished |
| 300 | Push a configuration file to bring up a device | pass: | Finished |
| 400 | Bring down a device | pass: | Not yet possible |