VNF validation tests

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 configuration.

Running the VNF validation tests

After deploying the VMs for a given VM type, and performing the configuration for those VMs, you can run the VNF validation tests for those VMs from the SIMPL VM.

Run the validation tests: csar validate --vnf --sdf <path to SDF>

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

Note An MDM CSAR must be unpacked on the SIMPL VM before running the csar validate command. Run csar list on the SIMPL VM to verify whether an MDM CSAR is already installed.

Rhino Console Checks

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

Check Actions Expected Result

Check the SLEE is started

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