VNF validation tests

Note

The VNF validation tests can only be run from the SIMPL VM, when performing an automatic deployment.

What are VNF validation tests?

The VNF validation tests can be used to run some basic checks on deployed VMs to ensure they have been deployed correctly. Tests include:

  • Checking that the management IP can be reached;

  • Checking that the management gateway can be reached;

  • Checking that sudo works on the VM;

  • Checking that the VM has converged to its initial configuration.

Running the VNF validation tests

After deploying the VMs and performing the initial configuration, you can run the VNF validation tests from the SIMPL VM.

First, generate an 'Ansible hosts' file from the SDF: csar ansible-hosts --sdf <path to SDF>

Then, run the validation tests using the Ansible hosts file just generated: csar validate --vnf [image name] hosts_ansible.yaml

If any of the tests fail, refer to the troubleshooting section.

Rhino Console Checks

Check via the rhino-console that Rhino is in the expected state.

Check Actions Expected Result

Check the SLEE is started

login as sentinel
rhino-console
> state

The SLEE should be in the Running state

List Active Alarms

rhino-console
> listactivealarms

Check for any active alarms. Further information about alarms can be found in /var/log/tas.

Check services are active

rhino-console
> listservicesbystate Active

Check that the services your application uses are in the Active state (assuming you expect them to be Active).

Check Resource Adaptors are active

rhino-console
> listraentitiesbystate Active

Check that the Resource Adaptors your application uses are in the Active state (assuming you expect them to be Active).

Previous page Next page
VM Build Container Version 1.0.0