1 NFVBENCH VM IMAGE FOR OPENSTACK
2 +++++++++++++++++++++++++++++++
4 This repo will build a centos 7 image with testpmd and VPP installed.
5 The VM will come with a pre-canned user/password: nfvbench/nfvbench
13 - the following packages must be installed prior to using this script:
21 - update the version number for the image (if needed) by modifying __version__ in build-image.sh
22 - setup your http_proxy if needed
25 IMAGE INSTANCE AND CONFIG
26 =========================
28 Interface Requirements
29 ----------------------
30 The instance must be launched using OpenStack with 2 network interfaces.
31 For best performance, it should use a flavor with:
35 - cpu pinning set to exclusive
39 nfvbench VM will automatically find the two virtual interfaces to use, and use the forwarder specifed in the config file.
41 In the case testpmd is used, testpmd will be launched with mac forwarding mode where the destination macs rewritten according to the config file.
43 In the case VPP is used, VPP will set up a L3 router, and forwarding traffic from one port to the other.
47 nfvbenchvm config file is located at ``/etc/nfvbenchvm.conf``.
52 INTF_MAC1=FA:16:3E:A2:30:41
53 INTF_MAC2=FA:16:3E:10:DA:10
54 TG_MAC1=00:10:94:00:0A:00
55 TG_MAC2=00:11:94:00:0A:00
56 VNF_GATEWAY1_CIDR=1.1.0.2/8
57 VNF_GATEWAY2_CIDR=2.2.0.2/8
60 TG_GATEWAY1_IP=1.1.0.100
61 TG_GATEWAY2_IP=2.2.0.100
64 Launching nfvbenchvm VM
65 -----------------------
67 Normally this image will be used together with NFVBench, and the required configurations will be automatically generated and pushed to VM by NFVBench. If launched manually, no forwarder will be run. Users will have the full control to run either testpmd or VPP via VNC console.
69 To check if testpmd is running, you can run this command in VNC console:
73 sudo screen -r testpmd
75 To check if VPP is running, you can run this command in VNC console:
82 Hardcoded Username and Password
83 --------------------------------