Overview
For testing SDN-R with its basic use cases an automated test setup should be used.
Requirements
- Simple, run on single ubuntu server
- Use Simulators for devices
- Use as far as possible real ONAP server components, if not possible test tools, like VES-test-collector
Environment
Standard Ubuntu server
Tool | Used for |
---|---|
docker | networking run containers |
bash | execute and manage testcase |
Test case "Inventory"
- Startup
- Create docker network
- a static network setup with static IPs for the containers
- add name to hosts and use this names
- start docker - Simulator (e.g. Sim12600 with equipment)
- start docker - DB
- start docker - SDNC
- Create docker network
- Test steps
- mount sim12600
- Read over the RESTCONF Interface via data-provider the equipment
- Compare if it is the expected data