Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Robot Logs are best viewed via the browser at http://<robot_vm_init:88/logs/ or via the link in Quicklinks page above.

Accessing Robot Logs on The Robot VM 

Robot logs are located in /opt/eteshare/logs on the Robot VM.

Running Robot TestSuites

/opt/ete/sh provides a command line interface for executing the Robot ETE testsuites. 

Usage: ete.sh [ health | ete | closedloop | instantiate | distribute ]


TestPurposeDescription
healthReport the health status of ONAP ComponentsExecuted health check Rest API calls provided by each component and reports overall health status of the component.
eteRuns full suite of ETE testsExecutes the closedloop, instantiate and distribute test suites
closedloopRuns full suite of closed loop tests

For the following VNFs, executes customer creation, model distribution, instantation and closed loop test for

  • vFW
  • vLB
instantiateRuns full suite of instantiate tests

For the following VNFs, executes customer creation, model distribution, instantation for

  • vFW
  • vLB
  • vVG


distributeRuns the full suite of model distribuition tests

For the following VNFs, executes model distribution

  • vFW
  • vLB
  • vIMS
  • vCPE


Important Note:Each test case creates new data and tears down all created data at the end of a successful test case. Tear downs are not done for failed test cases to enable debugging. 

Running demo.sh Functions

/opt/demo.sh provides several command line functions that aid in manually spinning up and testing VNFs.

Usage: demo.sh <command> [<parameters>]


CommandParametersDescription
init
Funnction to create Demonstration customer, services and distribute the models (demoVFW, demoVLB...) if they don't already exist. Referenced in Tutorial: Creating a Service Instance from a Design Model
prelaod<vnf_name> <module_name>See Tutorial: Creating a Service Instance from a Design Model
appc<module name>See Tutorial: Creating a Service Instance from a Design Model
init_robot
Initializes Quicklinks web page, sets web page credentials to enable accessing the robot logs
distribute<prefix> (optional) distribute the models (<prefix>VFW, <prefix>VLB...)

instantiateVFW


Instantiate vFW module for the a demo customer (DemoCust<uuid>)

deleteVNF
-

<module_name from instantiateVFW>Delete the module created by instantiateVFW