You will need to be familiar with libvirt to try to replicate what openstack does to setup the VM properly: setup 2 virtual interfaces and provide a cloud-init config file. This VM has VPP L3 routing included and that can be enabled/configured using the cloud-init file. How well it will perform will really depends on your virtio network emulation (for example if you use OVS, it will likely not go very fast and start dropping packets very early). Anyway, I can only help you to some extent as this stretches beyond what NFVbench handles.
Regards, Alec From: "Balint, Peter (Nokia - HU/Budapest)" <peter.bal...@nokia.com> Date: Sunday, February 11, 2018 at 11:06 PM To: "Alec Hothan (ahothan)" <ahot...@cisco.com>, "opnfv-tech-discuss@lists.opnfv.org" <opnfv-tech-discuss@lists.opnfv.org> Subject: RE: [opnfv-tech-discuss] [nfvbench] testpmd Hi Alec, Thank you for information, I would like to add an L3 loop VM (this would be the DUT to benchmark VMs performance). But I use NFVBench in EXT mode( so without openstack) Br, Peter From: Alec Hothan (ahothan) [mailto:ahot...@cisco.com] Sent: Friday, February 9, 2018 6:31 PM To: Balint, Peter (Nokia - HU/Budapest) <peter.bal...@nokia.com>; opnfv-tech-discuss@lists.opnfv.org Subject: Re: [opnfv-tech-discuss] [nfvbench] testpmd Peter, This is outdated information. With the latest versions of NFVbench, the testpmd VM image is included in the docker container itself (that way we make sure NFVbench always uses the right version of the VM image). May I ask why you want to access this VM image? To use it you will need to pass the proper config file to configure the forwarding dest MAC addresses (this is taken care of by NFVbench through openstack). If use openstack you do not need to manually get the qcow2 image and upload because it is done by NFVbench when using the PVP and PVVP chain types. If you still need the VM qcow2 file, you can simply copy it out from the container using “docker cp” command. For example: # docker exec nfvbench ls -l /nfvbench total 646524 -rw-r--r--. 1 root root 888 Feb 7 19:33 INFO -rw-r--r--. 1 root root 624 Feb 7 19:33 LICENSE -rw-r--r--. 1 root root 1302 Feb 7 19:33 README.rst -rw-r--r--. 1 root root 708 Feb 7 19:33 backup.requirements.txt drwxr-xr-x. 2 root root 4096 Feb 8 22:26 ciscovim drwxr-xr-x. 2 root root 52 Feb 7 19:33 cleanup drwxr-xr-x. 2 root root 92 Feb 7 19:33 client drwxr-xr-x. 2 root root 83 Feb 7 19:33 docker drwxr-xr-x. 5 root root 88 Feb 7 19:33 docs drwxr-xr-x. 4 root root 4096 Feb 8 22:26 nfvbench drwxr-xr-x. 2 root root 150 Feb 7 19:33 nfvbench.egg-info drwxr-xr-x. 3 root root 35 Feb 7 19:33 nfvbenchvm -rw-r--r--. 1 root root 661979136 Dec 4 11:12 nfvbenchvm-0.5.qcow2 -rw-r--r--. 1 root root 15079 Feb 7 19:33 pylint.rc -rw-r--r--. 1 root root 124 Feb 7 19:33 requirements-dev.txt -rw-r--r--. 1 root root 1809 Feb 7 19:33 setup.cfg -rw-r--r--. 1 root root 1157 Feb 7 19:33 setup.py drwxr-xr-x. 2 root root 49 Feb 7 19:33 test -rw-r--r--. 1 root root 468 Feb 7 19:33 test-requirements.txt -rw-r--r--. 1 root root 1333 Feb 7 19:33 tox.ini # docker cp nfvbench:/nfvbench/nfvbenchvm-0.5.qcow2 /tmp Alec From: <opnfv-tech-discuss-boun...@lists.opnfv.org<mailto:opnfv-tech-discuss-boun...@lists.opnfv.org>> on behalf of "Balint, Peter (Nokia - HU/Budapest)" <peter.bal...@nokia.com<mailto:peter.bal...@nokia.com>> Date: Friday, February 9, 2018 at 9:08 AM To: "opnfv-tech-discuss@lists.opnfv.org<mailto:opnfv-tech-discuss@lists.opnfv.org>" <opnfv-tech-discuss@lists.opnfv.org<mailto:opnfv-tech-discuss@lists.opnfv.org>> Subject: [opnfv-tech-discuss] [nfvbench] testpmd Dear All, I wanted to download testpmdvm-latest.qcow2 as recommended here https://wiki.opnfv.org/display/fds/Environment+setup+for+Performance+testing but testpmd VMs link looks as an internal http://172.29.172.152/downloads/nfvbench/testpmdvm-latest.qcow2 is this IP/link correct could you please send me the correct link. Br, Peter Peter Balint Datacenter Test Architect MN Cloud Core NOKIA Nokia Solutions and Networks Kft. H-1082 Budapest, Hungary, Bókay János u. 36-42. Mobile: +36 70 501 89 01 peter.bal...@nokia.com<mailto:peter.bal...@nokia.com> https://networks.nokia.com/
_______________________________________________ opnfv-tech-discuss mailing list opnfv-tech-discuss@lists.opnfv.org https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss