Versions Compared

Key

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

Table of Contents

Introduction

Robot provides 2 command line intefaces which may be accessed

  • SSH into the Robot VM
  • cd /opt

demo.sh 

/opt/demo.sh provides several Robot functions that streamline some of the procedures for deploying a VNF for demonstration purposes. The original functions are referenced in the sections on Installing and Running the ONAP Demos and, over time, some additional functions have been added.


root@vm03-robot:/opt# ./demo.sh
Usage: demo.sh <command> [<parameters>]
demo.sh init
- Execute both init_customer + distribute
demo.sh init_customer
- Create demo customer (Demonstration) and services, etc.
demo.sh distribute [<prefix>]
- Distribute demo models (demoVFW and demoVLB)
demo.sh preload <vnf_name> <module_name>
- Preload data for VNF for the <module_name>
demo.sh appc <module_name>
- provide APPC with vFW module mount point for closed loop
demo.sh init_robot
- Initialize robot after all ONAP VMs have started
demo.sh instantiateVFW
- Instantiate vFW module for the a demo customer (DemoCust<uuid>)
demo.sh deleteVNF <module_name from instantiateVFW>
- Delete the module created by instantiateVFW

ete.sh

/opt/ete/sh runs selected Robot testsuite test cases

root@vm03-robot:/opt# ./ete.sh
Usage: ete.sh [ health | ete | closedloop | instantiate | distribute ]

Results of the tests may be viewed via a web browser. See below for details. Note that the log folder for each ete.sh execution is named ETE_<pid>.

Initializing the Robot Quicklinks Web Page

The robot container on the Robot VM is initialized with a password protected Web page that should be initialized after all of the ONAP VMs have been started. This page presents some useful information and links for the ONAP instance under test. Use the demo.sh script to initialize the web page and provide a password for the 'test' user required to access the page.

...