Anuket Project

Current Status (Jerma)

VSPERF was never designed to be used with Openstack - i.e., use openstack apis to install vsperf, the dut, trafficgen etc. It was designed as a standalone tool.

To use VSPERF, typically, one has to download the source to the DUT system (where vSwitch and VNF are run), and install the software toolchain (vSwitch, Qemu, DPDK, VPP, etc.). Once installed, DUT is setup (configuration of the software toolchain), traffic-generator is setup, configuration file is created and tests are run.

VSPERF also supports "trafficgen-only" mode of operation, where all of the data path configuration and instantiation in the DUT is performed by Openstack through API-level commands. None of the DUT setup operations are performed by VSPERF; only the automated VSPERF tests are run with a particular traffic-generator connected to the DUT data path.

This trafficgen-only mode is a potential candidate to use with Openstack. However, there are many prerequisites to meet before it can be used with openstack. Some of them are:

  1. There is not need to install complete software toolchain
    1. minimal VSPERF installation should be sufficient.
  2. The traffic generator is setup as VM in Openstack
    1. An appropriate VM Image must be created,  (a one time operation), and
    2. Image must be on-boarded to glance  (where is automation needed, in on-boarding? doesn't OS already have this to some degree?).
  3. This Trafficgen deployment as VM(s) can be in multiple ways - Single or multiple instances, On Single or multiple compute hosts, etc
    1. Multiple automated deployment scenarios should be supported
    2. Comment: I see a problem here with multiple traffic-gen VMs on multiple hosts: Synchronized counter measurements (for Loss) clock measurements (for Latency)
    3. Question: Can we use Ironic to do a baremetal Traffic gen installation? this would also help with the accuracy issues identified above.
  4.  After the traffic-generator is instantiated as VM(s) in Openstack, its IP has to be obtained to create the configuration file.
    1. Obtaining the IP and creating config file has to be automated
    2. Comment: there may be a way around this with network configuration in OS Neutron? a small /28 network without floating IPs?

Proposal

Close all the 'gaps' (prerequisites mentioned above) for using VSPERF in trafficgen mode with Openstack.

  1. Exclude the necessity to install and run VSPERF on DUT.
  2. Enhance Trafficgen-only mode to include additional information.
  3. Build tools to (a) Create Trafficgen (Test-VM) image for openstack, (b) deploy Trafficgen VM in different topologies.
  4. Minimal framework for X-Testing Integration with VSPERF-Openstack.

Actions

ActionCommentsStatus
Add minimal-build support in VSPERF 
DONE
Create tool to build TestVM image with Traffic-generator and other tools

Using Packer Tool.

Alternate: DIB

Create tool to deploy TestVM with multiple ScenariosReuse Shaker Work as much as possible.
Create per-scenario HOT templates (may be per Trafficgen, if required) Reuse Shaker Work as much as possibleWIP (Sridhar Rao)
Create Tool to Convert Output from Deployment to VSPERF configuration file
Create minimal framework to run with X-Testing
Complete VSPERF-Openstack and X-Testing Integration



  • No labels