From 9fa5cf46690601e4e25605d548671c84634363e3 Mon Sep 17 00:00:00 2001 From: John DeNisco Date: Tue, 6 Feb 2018 15:23:05 -0500 Subject: Add iperf VM/vhost creation Change-Id: I27a59203f406120558f73bfcc12dca8835ae6361 Signed-off-by: John DeNisco --- extras/vpp_config/data/cloud-config.iso | Bin 0 -> 374784 bytes extras/vpp_config/data/iperf-centos.xml.template | 108 +++++++++++++++++++++ extras/vpp_config/data/iperf-ubuntu.xml.template | 114 +++++++++++++++++++++++ extras/vpp_config/data/startup.conf.template | 4 +- 4 files changed, 224 insertions(+), 2 deletions(-) create mode 100644 extras/vpp_config/data/cloud-config.iso create mode 100644 extras/vpp_config/data/iperf-centos.xml.template create mode 100644 extras/vpp_config/data/iperf-ubuntu.xml.template (limited to 'extras/vpp_config/data') diff --git a/extras/vpp_config/data/cloud-config.iso b/extras/vpp_config/data/cloud-config.iso new file mode 100644 index 00000000000..0c299fc4c14 Binary files /dev/null and b/extras/vpp_config/data/cloud-config.iso differ diff --git a/extras/vpp_config/data/iperf-centos.xml.template b/extras/vpp_config/data/iperf-centos.xml.template new file mode 100644 index 00000000000..9f585ec707d --- /dev/null +++ b/extras/vpp_config/data/iperf-centos.xml.template @@ -0,0 +1,108 @@ + + {vmname} + 1048576 + 1048576 + + + + + + 1 + + /machine + + + hvm + + + + + + + + + + + + + + + destroy + restart + restart + + + + + + /usr/libexec/qemu-kvm + + + + + + +
+ + + + + + + + +
+ + + +
+ + + + + + +
+ + + +
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + +
+ + + + + system_u:object_r:svirt_image_t:s0:c532,c551 + + + + +107:+107 + + + diff --git a/extras/vpp_config/data/iperf-ubuntu.xml.template b/extras/vpp_config/data/iperf-ubuntu.xml.template new file mode 100644 index 00000000000..a48a134fce5 --- /dev/null +++ b/extras/vpp_config/data/iperf-ubuntu.xml.template @@ -0,0 +1,114 @@ + + {vmname} + 1048576 + 1048576 + + + + + + 1 + + /machine + + + hvm + + + + + + + + + + + + + + + + + + destroy + restart + restart + + + + + + /usr/bin/kvm + + + + + + +
+ + + + + + + + +
+ + + +
+ + + + + + +
+ + + +
+ + + + + + + +
+ + + + + + +
+ + + + + + + + + + + + + + + + + + +
+ + + + + libvirt-2c4c9317-c7a5-4b37-b789-386ccda7348a + + + diff --git a/extras/vpp_config/data/startup.conf.template b/extras/vpp_config/data/startup.conf.template index 912bbc4b085..19a8454a177 100644 --- a/extras/vpp_config/data/startup.conf.template +++ b/extras/vpp_config/data/startup.conf.template @@ -12,8 +12,8 @@ api-trace {{ cpu {{ {cpu} - scheduler-policy fifo - scheduler-priority 50 + # scheduler-policy fifo + # scheduler-priority 50 ## In the VPP there is one main thread and optionally the user can create worker(s) ## The main thread and worker thread(s) can be pinned to CPU core(s) manually or automatically -- cgit 1.2.3-korg