Hi Alec,
I do not fully get/know what I should modify
cfg. file(should look like this?):
traffic_generator:
ip_addrs: ['16.0.0.0/24', '48.0.0.0/24']
#tg_gateway_ip_addrs: ['192.168.0.2', '192.168.2.2']
#gateway_ip_addrs: ['192.168.0.12', '192.168.2.12']
mac_addrs_left: [FA:16:3E:2B:B0:D1 ', FA:16:3E:2B:B0:D1]
mac_addrs_right: [FA:16:3E:D0:47:B1', ‘FA:16:3E:D0:47:B1’]
generator_profile:
- name: trex-local
tool: TRex
ip: 127.0.0.1
cores: 1
software_mode: false,
interfaces:
- port: 0
switch_port:
pci: "03:00.0"
- port: 1
switch_port:
pci: "03:00.1"
intf_speed: 25Gbps
vlan_tagging: false
no_arp: true
I should
dest_mac: FA:16:3E:2B:B0:D1 (DUT int 1)
src_mac: 24:8a:07:8e:d3:14 (tester int 1)
dest_mac: FA:16:3E:D0:47:B1 (DUT int 2)
src_mac: 24:8a:07:8e:d3:15 (tester int 2)
Br,
Peter
From: Alec Hothan (ahothan) [mailto:[email protected]]
Sent: Tuesday, February 20, 2018 5:42 PM
To: Balint, Peter (Nokia - HU/Budapest) <[email protected]>;
[email protected]
Subject: Re: [opnfv-tech-discuss] [nfvbench] testpmd
Hi Peter,
From: "Balint, Peter (Nokia - HU/Budapest)"
<[email protected]<mailto:[email protected]>>
Date: Tuesday, February 20, 2018 at 6:28 AM
To: "Alec Hothan (ahothan)" <[email protected]<mailto:[email protected]>>,
"[email protected]<mailto:[email protected]>"
<[email protected]<mailto:[email protected]>>
Subject: RE: [opnfv-tech-discuss] [nfvbench] testpmd
Hi Alec,
thank you for information. I have deployed it successfully.
Not quite sure about what you mean by “deployed it successfully”. Did you
launch the VM directly using libvirt and did you manage to pass the right
config file?
I have one other question, how can I configure nfvbench to work in L2 mode
without gateway IP settings( DUT put an L2 loop on the end/testPMD mac forward)
ip_addrs: ['16.0.0.0/24', '48.0.0.0/24']
tg_gateway_ip_addrs: ['192.168.0.2', '192.168.2.2']
gateway_ip_addrs: ['192.168.0.12', '192.168.2.12']
where I configure destination MAC
like in trex
port_limit: 2
version: 2
interfaces: ['03:00.0', '03:00.1']
port_info:
- dest_mac: fa:16:3e:c5:0b:22
src_mac: 24:8a:07:8e:d3:14
- dest_mac: fa:16:3e:a0:cc:3f
src_mac: 24:8a:07:8e:d3:15
platform:
master_thread_id: 0
latency_thread_id: 14
dual_if:
- socket: 0
threads:
[1,2,3,4,5,6,7,8,9,10,11,12,13,28,29,30,31,32,33,34,35,36,37,38,39,40,41]
Please check the comment in the config file related to the use of MAC addresses:
https://github.com/opnfv/nfvbench/blob/master/nfvbench/cfg.default.yaml#L159
You basically need to configure nfvbench in EXT + no arp and put the dest MAC
in the 2 fields (as described in the comment example)
Let me know if that addresses your problem.
Thanks
Alec
Thanks,
Peter
From: Alec Hothan (ahothan) [mailto:[email protected]]
Sent: Monday, February 12, 2018 5:34 PM
To: Balint, Peter (Nokia - HU/Budapest)
<[email protected]<mailto:[email protected]>>;
[email protected]<mailto:[email protected]>
Subject: Re: [opnfv-tech-discuss] [nfvbench] testpmd
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)"
<[email protected]<mailto:[email protected]>>
Date: Sunday, February 11, 2018 at 11:06 PM
To: "Alec Hothan (ahothan)" <[email protected]<mailto:[email protected]>>,
"[email protected]<mailto:[email protected]>"
<[email protected]<mailto:[email protected]>>
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:[email protected]]
Sent: Friday, February 9, 2018 6:31 PM
To: Balint, Peter (Nokia - HU/Budapest)
<[email protected]<mailto:[email protected]>>;
[email protected]<mailto:[email protected]>
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:
<[email protected]<mailto:[email protected]>>
on behalf of "Balint, Peter (Nokia - HU/Budapest)"
<[email protected]<mailto:[email protected]>>
Date: Friday, February 9, 2018 at 9:08 AM
To:
"[email protected]<mailto:[email protected]>"
<[email protected]<mailto:[email protected]>>
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
[email protected]<mailto:[email protected]>
https://networks.nokia.com/
_______________________________________________
opnfv-tech-discuss mailing list
[email protected]
https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss