summaryrefslogtreecommitdiffstats
path: root/samples/vnf_samples/nsut
diff options
context:
space:
mode:
authorDino Madarang <dinox.madarang@intel.com>2017-10-03 01:02:17 +0000
committerRoss Brattain <ross.b.brattain@intel.com>2017-12-16 00:18:27 -0800
commit9bf492e01dad7309287e8491ec7ac29f43032aed (patch)
tree852528f5a17b6fa1fef4028afee6eb79fd32c79a /samples/vnf_samples/nsut
parent6cfec77db6b95af5b31b741d513955ee3dfa3bb2 (diff)
samples: Add generic L3 forwarder tests
A generic throughput test case that can be used as a stub code for a Linux-based VNF configured as an L3 forwarder. Supported context: * Standalone OVSDPDK and SRIOV * Baremetal Code changes: * Allow pmd-cpu-mask and lcore mask for OVS DPDK * router_vnf.py - configures interface IP addresses and static arp entries using ip command * NFVi KPIs * Allow cputune tag for standalone context to be able to PIN on NUMA 1 cpus SRIOV Test cases: * RFC2544 Ethernet framesizes, 128K Flows * 2,4 and 6 ports * 2 and 3 vcpus per port * OVSDPDK Test cases: * RFC2544 Ethernet framesizes, 128K Flows * 2 and 4 ports * 2 vcpus per port * 2 PMD threads per port TODO: * Documentation * Add 6 ports tests References: * router_vnf.py is based on sample_vnf.py * tc_*.yaml files are based on acl/vfw test case files Added unitests Added get_stats to parse ip -s link Change-Id: Id1b969d5420dfcab7c1e695acbd2cd1655747efe Signed-off-by: Dino Simeon Madarang <dinox.madarang@intel.com> Signed-off-by: Kavindya Deegala <kavindya.s.deegala@intel.com> Reviewed-by: Alain Jebara <alain.jebara@intel.com> Reviewed-by: Deepak S <deepak.s@linux.intel.com> Reviewed-by: Emma Foley <emma.l.foley@intel.com> Reviewed-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com> Reviewed-by: Ross Brattain <ross.b.brattain@intel.com> Reviewed-by: Edward MacGillivray <edward.s.macgillivray@intel.com> Signed-off-by: Dhaval Patel <dhaval.r.patel@intel.com> Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
Diffstat (limited to 'samples/vnf_samples/nsut')
-rw-r--r--samples/vnf_samples/nsut/router/router-tg-topology-4port.yaml70
-rw-r--r--samples/vnf_samples/nsut/router/router-tg-topology-6port.yaml90
-rw-r--r--samples/vnf_samples/nsut/router/router-tg-topology.yaml50
-rw-r--r--samples/vnf_samples/nsut/router/tc_baremetal_rfc2544_ipv4_1flow_64B_trex.yaml49
-rw-r--r--samples/vnf_samples/nsut/router/tc_heat_external_rfc2544_ipv4_128Kflows_5cores_2ports_1024B.yaml102
-rw-r--r--samples/vnf_samples/nsut/router/tc_heat_external_rfc2544_ipv4_128Kflows_5cores_2ports_1280B.yaml102
-rw-r--r--samples/vnf_samples/nsut/router/tc_heat_external_rfc2544_ipv4_128Kflows_5cores_2ports_128B.yaml102
-rw-r--r--samples/vnf_samples/nsut/router/tc_heat_external_rfc2544_ipv4_128Kflows_5cores_2ports_1518B.yaml102
-rw-r--r--samples/vnf_samples/nsut/router/tc_heat_external_rfc2544_ipv4_128Kflows_5cores_2ports_256B.yaml102
-rw-r--r--samples/vnf_samples/nsut/router/tc_heat_external_rfc2544_ipv4_128Kflows_5cores_2ports_512B.yaml102
-rw-r--r--samples/vnf_samples/nsut/router/tc_heat_external_rfc2544_ipv4_128Kflows_5cores_2ports_64B.yaml102
-rw-r--r--samples/vnf_samples/nsut/router/tc_heat_external_rfc2544_ipv4_128Kflows_9cores_4ports_1024B.yaml120
-rw-r--r--samples/vnf_samples/nsut/router/tc_heat_external_rfc2544_ipv4_128Kflows_9cores_4ports_1280B.yaml120
-rw-r--r--samples/vnf_samples/nsut/router/tc_heat_external_rfc2544_ipv4_128Kflows_9cores_4ports_128B.yaml120
-rw-r--r--samples/vnf_samples/nsut/router/tc_heat_external_rfc2544_ipv4_128Kflows_9cores_4ports_1518B.yaml120
-rw-r--r--samples/vnf_samples/nsut/router/tc_heat_external_rfc2544_ipv4_128Kflows_9cores_4ports_256B.yaml120
-rw-r--r--samples/vnf_samples/nsut/router/tc_heat_external_rfc2544_ipv4_128Kflows_9cores_4ports_512B.yaml120
-rw-r--r--samples/vnf_samples/nsut/router/tc_heat_external_rfc2544_ipv4_128Kflows_9cores_4ports_64B.yaml120
-rw-r--r--samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_5cores_2ports_1024B_trex.yaml116
-rw-r--r--samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_5cores_2ports_1280B_trex.yaml116
-rw-r--r--samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_5cores_2ports_128B_trex.yaml116
-rw-r--r--samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_5cores_2ports_1518B_trex.yaml115
-rw-r--r--samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_5cores_2ports_256B_trex.yaml116
-rw-r--r--samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_5cores_2ports_512B_trex.yaml116
-rw-r--r--samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_5cores_2ports_64B_trex.yaml116
-rw-r--r--samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_7cores_2ports_1024B_trex.yaml106
-rw-r--r--samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_7cores_2ports_1280B_trex.yaml106
-rw-r--r--samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_7cores_2ports_128B_trex.yaml106
-rw-r--r--samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_7cores_2ports_1518B_trex.yaml106
-rw-r--r--samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_7cores_2ports_256B_trex.yaml106
-rw-r--r--samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_7cores_2ports_512B_trex.yaml106
-rw-r--r--samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_7cores_2ports_64B_trex.yaml106
-rw-r--r--samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_9cores_4ports_1024B_trex.yaml141
-rw-r--r--samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_9cores_4ports_1280B_trex.yaml141
-rw-r--r--samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_9cores_4ports_128B_trex.yaml141
-rw-r--r--samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_9cores_4ports_1518B_trex.yaml142
-rw-r--r--samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_9cores_4ports_256B_trex.yaml141
-rw-r--r--samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_9cores_4ports_512B_trex.yaml141
-rw-r--r--samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_9cores_4ports_64B_trex.yaml140
-rw-r--r--samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_13cores_4ports_1024B_trex.yaml125
-rw-r--r--samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_13cores_4ports_1280B_trex.yaml125
-rw-r--r--samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_13cores_4ports_128B_trex.yaml125
-rw-r--r--samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_13cores_4ports_1518B_trex.yaml125
-rw-r--r--samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_13cores_4ports_256B_trex.yaml125
-rw-r--r--samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_13cores_4ports_512B_trex.yaml125
-rw-r--r--samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_13cores_4ports_64B_trex.yaml125
-rw-r--r--samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_13cores_6ports_1518B_trex.yaml141
-rw-r--r--samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_7cores_2ports_1024B_trex.yaml93
-rw-r--r--samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_7cores_2ports_1280B_trex.yaml93
-rw-r--r--samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_7cores_2ports_128B_trex.yaml93
-rw-r--r--samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_7cores_2ports_1518B_trex.yaml93
-rw-r--r--samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_7cores_2ports_256B_trex.yaml92
-rw-r--r--samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_7cores_2ports_512B_trex.yaml93
-rw-r--r--samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_7cores_2ports_64B_trex.yaml92
-rw-r--r--samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_9cores_4ports_1024B_trex.yaml121
-rw-r--r--samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_9cores_4ports_1280B_trex.yaml121
-rw-r--r--samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_9cores_4ports_128B_trex.yaml121
-rw-r--r--samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_9cores_4ports_1518B_trex.yaml121
-rw-r--r--samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_9cores_4ports_256B_trex.yaml121
-rw-r--r--samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_9cores_4ports_512B_trex.yaml121
-rw-r--r--samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_9cores_4ports_64B_trex.yaml121
61 files changed, 6865 insertions, 0 deletions
diff --git a/samples/vnf_samples/nsut/router/router-tg-topology-4port.yaml b/samples/vnf_samples/nsut/router/router-tg-topology-4port.yaml
new file mode 100644
index 000000000..94c64e800
--- /dev/null
+++ b/samples/vnf_samples/nsut/router/router-tg-topology-4port.yaml
@@ -0,0 +1,70 @@
+# Copyright (c) 2016-2017 Intel Corporation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+nsd:nsd-catalog:
+ nsd:
+ - id: router-tg-topology
+ name: router-tg-topology
+ short-name: router-tg-topology
+ description: router-tg-topology
+ constituent-vnfd:
+ - member-vnf-index: '1'
+ vnfd-id-ref: tg__0
+ VNF model: ../../vnf_descriptors/tg_rfc2544_tpl.yaml #VNF type
+ - member-vnf-index: '2'
+ vnfd-id-ref: vnf__0
+ VNF model: ../../vnf_descriptors/router_vnf.yaml #VNF type
+
+ vld:
+ - id: uplink_0
+ name: tg__0 to vnf__0 link 1
+ type: ELAN
+ vnfd-connection-point-ref:
+ - member-vnf-index-ref: '1'
+ vnfd-connection-point-ref: xe0
+ vnfd-id-ref: tg__0
+ - member-vnf-index-ref: '2'
+ vnfd-connection-point-ref: xe0
+ vnfd-id-ref: vnf__0
+ - id: downlink_0
+ name: vnf__0 to tg__0 link 2
+ type: ELAN
+ vnfd-connection-point-ref:
+ - member-vnf-index-ref: '2'
+ vnfd-connection-point-ref: xe1
+ vnfd-id-ref: vnf__0
+ - member-vnf-index-ref: '1'
+ vnfd-connection-point-ref: xe1
+ vnfd-id-ref: tg__0
+
+ - id: uplink_1
+ name: tg__0 to vnf__0 link 3
+ type: ELAN
+ vnfd-connection-point-ref:
+ - member-vnf-index-ref: '1'
+ vnfd-connection-point-ref: xe2
+ vnfd-id-ref: tg__0
+ - member-vnf-index-ref: '2'
+ vnfd-connection-point-ref: xe2
+ vnfd-id-ref: vnf__0
+ - id: downlink_1
+ name: vnf__0 to tg__0 link 4
+ type: ELAN
+ vnfd-connection-point-ref:
+ - member-vnf-index-ref: '2'
+ vnfd-connection-point-ref: xe3
+ vnfd-id-ref: vnf__0
+ - member-vnf-index-ref: '1'
+ vnfd-connection-point-ref: xe3
+ vnfd-id-ref: tg__0
diff --git a/samples/vnf_samples/nsut/router/router-tg-topology-6port.yaml b/samples/vnf_samples/nsut/router/router-tg-topology-6port.yaml
new file mode 100644
index 000000000..57695784e
--- /dev/null
+++ b/samples/vnf_samples/nsut/router/router-tg-topology-6port.yaml
@@ -0,0 +1,90 @@
+# Copyright (c) 2016-2017 Intel Corporation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+nsd:nsd-catalog:
+ nsd:
+ - id: router-tg-topology
+ name: router-tg-topology
+ short-name: router-tg-topology
+ description: router-tg-topology
+ constituent-vnfd:
+ - member-vnf-index: '1'
+ vnfd-id-ref: tg__0
+ VNF model: ../../vnf_descriptors/tg_rfc2544_tpl.yaml #VNF type
+ - member-vnf-index: '2'
+ vnfd-id-ref: vnf__0
+ VNF model: ../../vnf_descriptors/router_vnf.yaml #VNF type
+
+ vld:
+ - id: uplink_0
+ name: tg__0 to vnf__0 link 1
+ type: ELAN
+ vnfd-connection-point-ref:
+ - member-vnf-index-ref: '1'
+ vnfd-connection-point-ref: xe0
+ vnfd-id-ref: tg__0
+ - member-vnf-index-ref: '2'
+ vnfd-connection-point-ref: xe0
+ vnfd-id-ref: vnf__0
+ - id: downlink_0
+ name: vnf__0 to tg__0 link 2
+ type: ELAN
+ vnfd-connection-point-ref:
+ - member-vnf-index-ref: '2'
+ vnfd-connection-point-ref: xe1
+ vnfd-id-ref: vnf__0
+ - member-vnf-index-ref: '1'
+ vnfd-connection-point-ref: xe1
+ vnfd-id-ref: tg__0
+
+ - id: uplink_1
+ name: tg__0 to vnf__0 link 3
+ type: ELAN
+ vnfd-connection-point-ref:
+ - member-vnf-index-ref: '1'
+ vnfd-connection-point-ref: xe2
+ vnfd-id-ref: tg__0
+ - member-vnf-index-ref: '2'
+ vnfd-connection-point-ref: xe2
+ vnfd-id-ref: vnf__0
+ - id: downlink_1
+ name: vnf__0 to tg__0 link 4
+ type: ELAN
+ vnfd-connection-point-ref:
+ - member-vnf-index-ref: '2'
+ vnfd-connection-point-ref: xe3
+ vnfd-id-ref: vnf__0
+ - member-vnf-index-ref: '1'
+ vnfd-connection-point-ref: xe3
+ vnfd-id-ref: tg__0
+ - id: uplink_2
+ name: tg__0 to vnf__0 link 5
+ type: ELAN
+ vnfd-connection-point-ref:
+ - member-vnf-index-ref: '1'
+ vnfd-connection-point-ref: xe4
+ vnfd-id-ref: tg__0
+ - member-vnf-index-ref: '2'
+ vnfd-connection-point-ref: xe4
+ vnfd-id-ref: vnf__0
+ - id: downlink_2
+ name: vnf__0 to tg__0 link 6
+ type: ELAN
+ vnfd-connection-point-ref:
+ - member-vnf-index-ref: '2'
+ vnfd-connection-point-ref: xe5
+ vnfd-id-ref: vnf__0
+ - member-vnf-index-ref: '1'
+ vnfd-connection-point-ref: xe5
+ vnfd-id-ref: tg__0
diff --git a/samples/vnf_samples/nsut/router/router-tg-topology.yaml b/samples/vnf_samples/nsut/router/router-tg-topology.yaml
new file mode 100644
index 000000000..6e63760eb
--- /dev/null
+++ b/samples/vnf_samples/nsut/router/router-tg-topology.yaml
@@ -0,0 +1,50 @@
+# Copyright (c) 2016-2017 Intel Corporation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+nsd:nsd-catalog:
+ nsd:
+ - id: 2node-topology
+ name: 2node-topology
+ short-name: 2node-topology
+ description: 2node-topology
+ constituent-vnfd:
+ - member-vnf-index: '1'
+ vnfd-id-ref: tg__0
+ VNF model: ../../vnf_descriptors/tg_rfc2544_tpl.yaml #VNF type
+ - member-vnf-index: '2'
+ vnfd-id-ref: vnf__0
+ VNF model: ../../vnf_descriptors/router_vnf.yaml #VNF type
+
+ vld:
+ - id: uplink_0
+ name: tg__0 to vnf__0 link 1
+ type: ELAN
+ vnfd-connection-point-ref:
+ - member-vnf-index-ref: '1'
+ vnfd-connection-point-ref: xe0
+ vnfd-id-ref: tg__0
+ - member-vnf-index-ref: '2'
+ vnfd-connection-point-ref: xe0
+ vnfd-id-ref: vnf__0
+
+ - id: downlink_0
+ name: vnf__0 to tg__0 link 2
+ type: ELAN
+ vnfd-connection-point-ref:
+ - member-vnf-index-ref: '2'
+ vnfd-connection-point-ref: xe1
+ vnfd-id-ref: vnf__0
+ - member-vnf-index-ref: '1'
+ vnfd-connection-point-ref: xe1
+ vnfd-id-ref: tg__0
diff --git a/samples/vnf_samples/nsut/router/tc_baremetal_rfc2544_ipv4_1flow_64B_trex.yaml b/samples/vnf_samples/nsut/router/tc_baremetal_rfc2544_ipv4_1flow_64B_trex.yaml
new file mode 100644
index 000000000..7b4db0e64
--- /dev/null
+++ b/samples/vnf_samples/nsut/router/tc_baremetal_rfc2544_ipv4_1flow_64B_trex.yaml
@@ -0,0 +1,49 @@
+# Copyright (c) 2016-2017 Intel Corporation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+---
+schema: yardstick:task:0.1
+scenarios:
+- type: NSPerf
+ traffic_profile: ../../traffic_profiles/ipv4_throughput.yaml
+ topology: router-tg-topology.yaml
+ nodes:
+ tg__0: trafficgen_1.yardstick
+ vnf__0: vnf.yardstick
+ options:
+ framesize:
+ uplink: {64B: 100}
+ downlink: {64B: 100}
+ flow:
+ src_ip:
+ - '152.16.100.26'
+ dst_ip:
+ - '152.16.40.26'
+ count: 1
+ traffic_type: 4
+ rfc2544:
+ allowed_drop_rate: 0.0001 - 0.0001
+ tg__0:
+ queues_per_port: 4
+ vnf__0:
+ nfvi_enable: True
+ runner:
+ type: Iteration
+ iterations: 10
+ interval: 35
+context:
+ type: Node
+ name: yardstick
+ nfvi_type: baremetal
+ file: /etc/yardstick/nodes/pod.yaml
diff --git a/samples/vnf_samples/nsut/router/tc_heat_external_rfc2544_ipv4_128Kflows_5cores_2ports_1024B.yaml b/samples/vnf_samples/nsut/router/tc_heat_external_rfc2544_ipv4_128Kflows_5cores_2ports_1024B.yaml
new file mode 100644
index 000000000..5b268d09e
--- /dev/null
+++ b/samples/vnf_samples/nsut/router/tc_heat_external_rfc2544_ipv4_128Kflows_5cores_2ports_1024B.yaml
@@ -0,0 +1,102 @@
+# Copyright (c) 2016-2017 Intel Corporation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+---
+schema: yardstick:task:0.1
+scenarios:
+- type: NSPerf
+ traffic_profile: ../../traffic_profiles/ipv4_throughput.yaml
+ topology: router-tg-topology.yaml
+ nodes:
+ tg__0: trafficgen_1.baremetal
+ vnf__0: vnf.yardstick
+# Required for enabling NFVi collection
+ cpt__0: compute_0.compute_nodes
+ options:
+ framesize:
+ uplink: {1024B: 100}
+ downlink: {1024B: 100}
+ flow:
+ src_ip:
+ - '10.0.2.26-10.0.2.105'
+ dst_ip:
+ - '10.0.3.26-10.0.3.105'
+ src_port:
+ - '1234-1238'
+ dst_port:
+ - '2001-2004'
+ count: 128000
+ traffic_type: 4
+ rfc2544:
+ allowed_drop_rate: 0.0001 - 0.1
+ tg__0:
+ queues_per_port: 7
+ vnf__0:
+ nfvi_enable: True
+ runner:
+ type: Iteration
+ iterations: 10
+ interval: 35
+contexts:
+ - name: compute_nodes
+ type: Node
+ file: /etc/yardstick/nodes/compute.yaml
+
+ - name: baremetal
+ type: Node
+ file: /etc/yardstick/nodes/pod.yaml
+
+ - name: yardstick
+ image: vrouter_affinity_2c2p
+ flavor:
+ vcpus: 5
+ ram: 20480
+ disk: 10
+ extra_specs:
+ hw:cpu_sockets: 1
+ hw:cpu_cores: 5
+ hw:cpu_threads: 1
+ hw:mem_page_size: large
+ hw:cpu_policy: dedicated
+ hw:cpu_thread_policy: prefer
+ hw:numa_nodes: 1
+ hw:numa_mempolicy: preffered
+ hw:numa_cpus.0: 0,1,2,3,4
+ hw:numa_mem.0: 20480
+ user: "root"
+ password: "password"
+ placement_groups:
+ pgrp1:
+ policy: "availability"
+ servers:
+ vnf:
+ floating_ip: true
+ placement: "pgrp1"
+ networks:
+ mgmt:
+ cidr: '10.0.1.0/24'
+ xe0:
+ cidr: '10.0.2.0/24'
+ gateway_ip: 'null'
+ provider: true
+ physical_network: phystenant2
+ port_security_enabled: False
+ enable_dhcp: 'false'
+ xe1:
+ cidr: '10.0.3.0/24'
+ gateway_ip: 'null'
+ provider: true
+ physical_network: phystenant3
+ port_security_enabled: False
+ enable_dhcp: 'false'
diff --git a/samples/vnf_samples/nsut/router/tc_heat_external_rfc2544_ipv4_128Kflows_5cores_2ports_1280B.yaml b/samples/vnf_samples/nsut/router/tc_heat_external_rfc2544_ipv4_128Kflows_5cores_2ports_1280B.yaml
new file mode 100644
index 000000000..20305df7c
--- /dev/null
+++ b/samples/vnf_samples/nsut/router/tc_heat_external_rfc2544_ipv4_128Kflows_5cores_2ports_1280B.yaml
@@ -0,0 +1,102 @@
+# Copyright (c) 2016-2017 Intel Corporation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+---
+schema: yardstick:task:0.1
+scenarios:
+- type: NSPerf
+ traffic_profile: ../../traffic_profiles/ipv4_throughput.yaml
+ topology: router-tg-topology.yaml
+ nodes:
+ tg__0: trafficgen_1.baremetal
+ vnf__0: vnf.yardstick
+# Required for enabling NFVi collection
+ cpt__0: compute_0.compute_nodes
+ options:
+ framesize:
+ uplink: {1280B: 100}
+ downlink: {1280B: 100}
+ flow:
+ src_ip:
+ - '10.0.2.26-10.0.2.105'
+ dst_ip:
+ - '10.0.3.26-10.0.3.105'
+ src_port:
+ - '1234-1238'
+ dst_port:
+ - '2001-2004'
+ count: 128000
+ traffic_type: 4
+ rfc2544:
+ allowed_drop_rate: 0.0001 - 0.1
+ tg__0:
+ queues_per_port: 7
+ vnf__0:
+ nfvi_enable: True
+ runner:
+ type: Iteration
+ iterations: 10
+ interval: 35
+contexts:
+ - name: compute_nodes
+ type: Node
+ file: /etc/yardstick/nodes/compute.yaml
+
+ - name: baremetal
+ type: Node
+ file: /etc/yardstick/nodes/pod.yaml
+
+ - name: yardstick
+ image: vrouter_affinity_2c2p
+ flavor:
+ vcpus: 5
+ ram: 20480
+ disk: 10
+ extra_specs:
+ hw:cpu_sockets: 1
+ hw:cpu_cores: 5
+ hw:cpu_threads: 1
+ hw:mem_page_size: large
+ hw:cpu_policy: dedicated
+ hw:cpu_thread_policy: prefer
+ hw:numa_nodes: 1
+ hw:numa_mempolicy: preffered
+ hw:numa_cpus.0: 0,1,2,3,4
+ hw:numa_mem.0: 20480
+ user: "root"
+ password: "password"
+ placement_groups:
+ pgrp1:
+ policy: "availability"
+ servers:
+ vnf:
+ floating_ip: true
+ placement: "pgrp1"
+ networks:
+ mgmt:
+ cidr: '10.0.1.0/24'
+ xe0:
+ cidr: '10.0.2.0/24'
+ gateway_ip: 'null'
+ provider: true
+ physical_network: phystenant2
+ port_security_enabled: False
+ enable_dhcp: 'false'
+ xe1:
+ cidr: '10.0.3.0/24'
+ gateway_ip: 'null'
+ provider: true
+ physical_network: phystenant3
+ port_security_enabled: False
+ enable_dhcp: 'false'
diff --git a/samples/vnf_samples/nsut/router/tc_heat_external_rfc2544_ipv4_128Kflows_5cores_2ports_128B.yaml b/samples/vnf_samples/nsut/router/tc_heat_external_rfc2544_ipv4_128Kflows_5cores_2ports_128B.yaml
new file mode 100644
index 000000000..73459c340
--- /dev/null
+++ b/samples/vnf_samples/nsut/router/tc_heat_external_rfc2544_ipv4_128Kflows_5cores_2ports_128B.yaml
@@ -0,0 +1,102 @@
+# Copyright (c) 2016-2017 Intel Corporation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+---
+schema: yardstick:task:0.1
+scenarios:
+- type: NSPerf
+ traffic_profile: ../../traffic_profiles/ipv4_throughput.yaml
+ topology: router-tg-topology.yaml
+ nodes:
+ tg__0: trafficgen_1.baremetal
+ vnf__0: vnf.yardstick
+# Required for enabling NFVi collection
+ cpt__0: compute_0.compute_nodes
+ options:
+ framesize:
+ uplink: {128B: 100}
+ downlink: {128B: 100}
+ flow:
+ src_ip:
+ - '10.0.2.26-10.0.2.105'
+ dst_ip:
+ - '10.0.3.26-10.0.3.105'
+ src_port:
+ - '1234-1238'
+ dst_port:
+ - '2001-2004'
+ count: 128000
+ traffic_type: 4
+ rfc2544:
+ allowed_drop_rate: 0.0001 - 0.1
+ tg__0:
+ queues_per_port: 7
+ vnf__0:
+ nfvi_enable: True
+ runner:
+ type: Iteration
+ iterations: 10
+ interval: 35
+contexts:
+ - name: compute_nodes
+ type: Node
+ file: /etc/yardstick/nodes/compute.yaml
+
+ - name: baremetal
+ type: Node
+ file: /etc/yardstick/nodes/pod.yaml
+
+ - name: yardstick
+ image: vrouter_affinity_2c2p
+ flavor:
+ vcpus: 5
+ ram: 20480
+ disk: 10
+ extra_specs:
+ hw:cpu_sockets: 1
+ hw:cpu_cores: 5
+ hw:cpu_threads: 1
+ hw:mem_page_size: large
+ hw:cpu_policy: dedicated
+ hw:cpu_thread_policy: prefer
+ hw:numa_nodes: 1
+ hw:numa_mempolicy: preffered
+ hw:numa_cpus.0: 0,1,2,3,4
+ hw:numa_mem.0: 20480
+ user: "root"
+ password: "password"
+ placement_groups:
+ pgrp1:
+ policy: "availability"
+ servers:
+ vnf:
+ floating_ip: true
+ placement: "pgrp1"
+ networks:
+ mgmt:
+ cidr: '10.0.1.0/24'
+ xe0:
+ cidr: '10.0.2.0/24'
+ gateway_ip: 'null'
+ provider: true
+ physical_network: phystenant2
+ port_security_enabled: False
+ enable_dhcp: 'false'
+ xe1:
+ cidr: '10.0.3.0/24'
+ gateway_ip: 'null'
+ provider: true
+ physical_network: phystenant3
+ port_security_enabled: False
+ enable_dhcp: 'false'
diff --git a/samples/vnf_samples/nsut/router/tc_heat_external_rfc2544_ipv4_128Kflows_5cores_2ports_1518B.yaml b/samples/vnf_samples/nsut/router/tc_heat_external_rfc2544_ipv4_128Kflows_5cores_2ports_1518B.yaml
new file mode 100644
index 000000000..fb7f48a2f
--- /dev/null
+++ b/samples/vnf_samples/nsut/router/tc_heat_external_rfc2544_ipv4_128Kflows_5cores_2ports_1518B.yaml
@@ -0,0 +1,102 @@
+# Copyright (c) 2016-2017 Intel Corporation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+---
+schema: yardstick:task:0.1
+scenarios:
+- type: NSPerf
+ traffic_profile: ../../traffic_profiles/ipv4_throughput.yaml
+ topology: router-tg-topology.yaml
+ nodes:
+ tg__0: trafficgen_1.baremetal
+ vnf__0: vnf.yardstick
+# Required for enabling NFVi collection
+ cpt__0: compute_0.compute_nodes
+ options:
+ framesize:
+ uplink: {1518B: 100}
+ downlink: {1518B: 100}
+ flow:
+ src_ip:
+ - '10.0.2.26-10.0.2.105'
+ dst_ip:
+ - '10.0.3.26-10.0.3.105'
+ src_port:
+ - '1234-1238'
+ dst_port:
+ - '2001-2004'
+ count: 128000
+ traffic_type: 4
+ rfc2544:
+ allowed_drop_rate: 0.0001 - 0.1
+ tg__0:
+ queues_per_port: 7
+ vnf__0:
+ nfvi_enable: True
+ runner:
+ type: Iteration
+ iterations: 2
+ interval: 35
+contexts:
+ - name: compute_nodes
+ type: Node
+ file: /etc/yardstick/nodes/compute.yaml
+
+ - name: baremetal
+ type: Node
+ file: /etc/yardstick/nodes/pod.yaml
+
+ - name: yardstick
+ image: vrouter_affinity_2c2p
+ flavor:
+ vcpus: 5
+ ram: 20480
+ disk: 10
+ extra_specs:
+ hw:cpu_sockets: 1
+ hw:cpu_cores: 5
+ hw:cpu_threads: 1
+ hw:mem_page_size: large
+ hw:cpu_policy: dedicated
+ hw:cpu_thread_policy: prefer
+ hw:numa_nodes: 1
+ hw:numa_mempolicy: preffered
+ hw:numa_cpus.0: 0,1,2,3,4
+ hw:numa_mem.0: 20480
+ user: "root"
+ password: "password"
+ placement_groups:
+ pgrp1:
+ policy: "availability"
+ servers:
+ vnf:
+ floating_ip: true
+ placement: "pgrp1"
+ networks:
+ mgmt:
+ cidr: '10.0.1.0/24'
+ xe0:
+ cidr: '10.0.2.0/24'
+ gateway_ip: 'null'
+ provider: true
+ physical_network: phystenant2
+ port_security_enabled: False
+ enable_dhcp: 'false'
+ xe1:
+ cidr: '10.0.3.0/24'
+ gateway_ip: 'null'
+ provider: true
+ physical_network: phystenant3
+ port_security_enabled: False
+ enable_dhcp: 'false'
diff --git a/samples/vnf_samples/nsut/router/tc_heat_external_rfc2544_ipv4_128Kflows_5cores_2ports_256B.yaml b/samples/vnf_samples/nsut/router/tc_heat_external_rfc2544_ipv4_128Kflows_5cores_2ports_256B.yaml
new file mode 100644
index 000000000..c2bc0b7d2
--- /dev/null
+++ b/samples/vnf_samples/nsut/router/tc_heat_external_rfc2544_ipv4_128Kflows_5cores_2ports_256B.yaml
@@ -0,0 +1,102 @@
+# Copyright (c) 2016-2017 Intel Corporation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+---
+schema: yardstick:task:0.1
+scenarios:
+- type: NSPerf
+ traffic_profile: ../../traffic_profiles/ipv4_throughput.yaml
+ topology: router-tg-topology.yaml
+ nodes:
+ tg__0: trafficgen_1.baremetal
+ vnf__0: vnf.yardstick
+# Required for enabling NFVi collection
+ cpt__0: compute_0.compute_nodes
+ options:
+ framesize:
+ uplink: {256B: 100}
+ downlink: {256B: 100}
+ flow:
+ src_ip:
+ - '10.0.2.26-10.0.2.105'
+ dst_ip:
+ - '10.0.3.26-10.0.3.105'
+ src_port:
+ - '1234-1238'
+ dst_port:
+ - '2001-2004'
+ count: 128000
+ traffic_type: 4
+ rfc2544:
+ allowed_drop_rate: 0.0001 - 0.1
+ tg__0:
+ queues_per_port: 7
+ vnf__0:
+ nfvi_enable: True
+ runner:
+ type: Iteration
+ iterations: 10
+ interval: 35
+contexts:
+ - name: compute_nodes
+ type: Node
+ file: /etc/yardstick/nodes/compute.yaml
+
+ - name: baremetal
+ type: Node
+ file: /etc/yardstick/nodes/pod.yaml
+
+ - name: yardstick
+ image: vrouter_affinity_2c2p
+ flavor:
+ vcpus: 5
+ ram: 20480
+ disk: 10
+ extra_specs:
+ hw:cpu_sockets: 1
+ hw:cpu_cores: 5
+ hw:cpu_threads: 1
+ hw:mem_page_size: large
+ hw:cpu_policy: dedicated
+ hw:cpu_thread_policy: prefer
+ hw:numa_nodes: 1
+ hw:numa_mempolicy: preffered
+ hw:numa_cpus.0: 0,1,2,3,4
+ hw:numa_mem.0: 20480
+ user: "root"
+ password: "password"
+ placement_groups:
+ pgrp1:
+ policy: "availability"
+ servers:
+ vnf:
+ floating_ip: true
+ placement: "pgrp1"
+ networks:
+ mgmt:
+ cidr: '10.0.1.0/24'
+ xe0:
+ cidr: '10.0.2.0/24'
+ gateway_ip: 'null'
+ provider: true
+ physical_network: phystenant2
+ port_security_enabled: False
+ enable_dhcp: 'false'
+ xe1:
+ cidr: '10.0.3.0/24'
+ gateway_ip: 'null'
+ provider: true
+ physical_network: phystenant3
+ port_security_enabled: False
+ enable_dhcp: 'false'
diff --git a/samples/vnf_samples/nsut/router/tc_heat_external_rfc2544_ipv4_128Kflows_5cores_2ports_512B.yaml b/samples/vnf_samples/nsut/router/tc_heat_external_rfc2544_ipv4_128Kflows_5cores_2ports_512B.yaml
new file mode 100644
index 000000000..bb17eb4b2
--- /dev/null
+++ b/samples/vnf_samples/nsut/router/tc_heat_external_rfc2544_ipv4_128Kflows_5cores_2ports_512B.yaml
@@ -0,0 +1,102 @@
+# Copyright (c) 2016-2017 Intel Corporation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+---
+schema: yardstick:task:0.1
+scenarios:
+- type: NSPerf
+ traffic_profile: ../../traffic_profiles/ipv4_throughput.yaml
+ topology: router-tg-topology.yaml
+ nodes:
+ tg__0: trafficgen_1.baremetal
+ vnf__0: vnf.yardstick
+# Required for enabling NFVi collection
+ cpt__0: compute_0.compute_nodes
+ options:
+ framesize:
+ uplink: {512B: 100}
+ downlink: {512B: 100}
+ flow:
+ src_ip:
+ - '10.0.2.26-10.0.2.105'
+ dst_ip:
+ - '10.0.3.26-10.0.3.105'
+ src_port:
+ - '1234-1238'
+ dst_port:
+ - '2001-2004'
+ count: 128000
+ traffic_type: 4
+ rfc2544:
+ allowed_drop_rate: 0.0001 - 0.1
+ tg__0:
+ queues_per_port: 7
+ vnf__0:
+ nfvi_enable: True
+ runner:
+ type: Iteration
+ iterations: 10
+ interval: 35
+contexts:
+ - name: compute_nodes
+ type: Node
+ file: /etc/yardstick/nodes/compute.yaml
+
+ - name: baremetal
+ type: Node
+ file: /etc/yardstick/nodes/pod.yaml
+
+ - name: yardstick
+ image: vrouter_affinity_2c2p
+ flavor:
+ vcpus: 5
+ ram: 20480
+ disk: 10
+ extra_specs:
+ hw:cpu_sockets: 1
+ hw:cpu_cores: 5
+ hw:cpu_threads: 1
+ hw:mem_page_size: large
+ hw:cpu_policy: dedicated
+ hw:cpu_thread_policy: prefer
+ hw:numa_nodes: 1
+ hw:numa_mempolicy: preffered
+ hw:numa_cpus.0: 0,1,2,3,4
+ hw:numa_mem.0: 20480
+ user: "root"
+ password: "password"
+ placement_groups:
+ pgrp1:
+ policy: "availability"
+ servers:
+ vnf:
+ floating_ip: true
+ placement: "pgrp1"
+ networks:
+ mgmt:
+ cidr: '10.0.1.0/24'
+ xe0:
+ cidr: '10.0.2.0/24'
+ gateway_ip: 'null'
+ provider: true
+ physical_network: phystenant2
+ port_security_enabled: False
+ enable_dhcp: 'false'
+ xe1:
+ cidr: '10.0.3.0/24'
+ gateway_ip: 'null'
+ provider: true
+ physical_network: phystenant3
+ port_security_enabled: False
+ enable_dhcp: 'false'
diff --git a/samples/vnf_samples/nsut/router/tc_heat_external_rfc2544_ipv4_128Kflows_5cores_2ports_64B.yaml b/samples/vnf_samples/nsut/router/tc_heat_external_rfc2544_ipv4_128Kflows_5cores_2ports_64B.yaml
new file mode 100644
index 000000000..0726e1063
--- /dev/null
+++ b/samples/vnf_samples/nsut/router/tc_heat_external_rfc2544_ipv4_128Kflows_5cores_2ports_64B.yaml
@@ -0,0 +1,102 @@
+# Copyright (c) 2016-2017 Intel Corporation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+---
+schema: yardstick:task:0.1
+scenarios:
+- type: NSPerf
+ traffic_profile: ../../traffic_profiles/ipv4_throughput.yaml
+ topology: router-tg-topology.yaml
+ nodes:
+ tg__0: trafficgen_1.baremetal
+ vnf__0: vnf.yardstick
+# Required for enabling NFVi collection
+ cpt__0: compute_0.compute_nodes
+ options:
+ framesize:
+ uplink: {64B: 100}
+ downlink: {64B: 100}
+ flow:
+ src_ip:
+ - '10.0.2.26-10.0.2.105'
+ dst_ip:
+ - '10.0.3.26-10.0.3.105'
+ src_port:
+ - '1234-1238'
+ dst_port:
+ - '2001-2004'
+ count: 128000
+ traffic_type: 4
+ rfc2544:
+ allowed_drop_rate: 0.0001 - 0.1
+ tg__0:
+ queues_per_port: 7
+ vnf__0:
+ nfvi_enable: True
+ runner:
+ type: Iteration
+ iterations: 10
+ interval: 35
+contexts:
+ - name: compute_nodes
+ type: Node
+ file: /etc/yardstick/nodes/compute.yaml
+
+ - name: baremetal
+ type: Node
+ file: /etc/yardstick/nodes/pod.yaml
+
+ - name: yardstick
+ image: vrouter_affinity_2c2p
+ flavor:
+ vcpus: 5
+ ram: 20480
+ disk: 10
+ extra_specs:
+ hw:cpu_sockets: 1
+ hw:cpu_cores: 5
+ hw:cpu_threads: 1
+ hw:mem_page_size: large
+ hw:cpu_policy: dedicated
+ hw:cpu_thread_policy: prefer
+ hw:numa_nodes: 1
+ hw:numa_mempolicy: preffered
+ hw:numa_cpus.0: 0,1,2,3,4
+ hw:numa_mem.0: 20480
+ user: "root"
+ password: "password"
+ placement_groups:
+ pgrp1:
+ policy: "availability"
+ servers:
+ vnf:
+ floating_ip: true
+ placement: "pgrp1"
+ networks:
+ mgmt:
+ cidr: '10.0.1.0/24'
+ xe0:
+ cidr: '10.0.2.0/24'
+ gateway_ip: 'null'
+ provider: true
+ physical_network: phystenant2
+ port_security_enabled: False
+ enable_dhcp: 'false'
+ xe1:
+ cidr: '10.0.3.0/24'
+ gateway_ip: 'null'
+ provider: true
+ physical_network: phystenant3
+ port_security_enabled: False
+ enable_dhcp: 'false'
diff --git a/samples/vnf_samples/nsut/router/tc_heat_external_rfc2544_ipv4_128Kflows_9cores_4ports_1024B.yaml b/samples/vnf_samples/nsut/router/tc_heat_external_rfc2544_ipv4_128Kflows_9cores_4ports_1024B.yaml
new file mode 100644
index 000000000..6efc69c40
--- /dev/null
+++ b/samples/vnf_samples/nsut/router/tc_heat_external_rfc2544_ipv4_128Kflows_9cores_4ports_1024B.yaml
@@ -0,0 +1,120 @@
+# Copyright (c) 2016-2017 Intel Corporation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+---
+schema: yardstick:task:0.1
+scenarios:
+- type: NSPerf
+ traffic_profile: ../../traffic_profiles/ipv4_throughput.yaml
+ topology: router-tg-topology-4port.yaml
+ nodes:
+ tg__0: trafficgen_1.baremetal
+ vnf__0: vnf.yardstick
+# Required for enabling NFVi collection
+ cpt__0: compute_0.compute_nodes
+ options:
+ framesize:
+ uplink: {1024B: 100}
+ downlink: {1024B: 100}
+ flow:
+ src_ip:
+ - '10.0.2.26-10.0.2.105'
+ - '10.0.4.26-10.0.4.105'
+ dst_ip:
+ - '10.0.3.26-10.0.3.105'
+ - '10.0.5.26-10.0.5.105'
+ src_port:
+ - '1234-1238'
+ dst_port:
+ - '2001-2004'
+ count: 128000
+ traffic_type: 4
+ rfc2544:
+ allowed_drop_rate: 0.0001 - 0.1
+ tg__0:
+ queues_per_port: 7
+ vnf__0:
+ nfvi_enable: True
+ runner:
+ type: Iteration
+ iterations: 10
+ interval: 35
+contexts:
+ - name: compute_nodes
+ type: Node
+ file: /etc/yardstick/nodes/compute.yaml
+
+ - name: baremetal
+ type: Node
+ file: /etc/yardstick/nodes/pod_4p.yaml
+
+ - name: yardstick
+ image: vrouter_affinity_2c4p
+ flavor:
+ vcpus: 9
+ ram: 8192
+ disk: 10
+ extra_specs:
+ hw:cpu_sockets: 1
+ hw:cpu_cores: 9
+ hw:cpu_threads: 1
+ hw:mem_page_size: large
+ hw:cpu_policy: dedicated
+ hw:cpu_thread_policy: prefer
+ hw:numa_nodes: 2
+ hw:numa_mempolicy: preffered
+ hw:numa_cpus.0: 0,1,2,3,4
+ hw:numa_cpus.1: 5,6,7,8
+ hw:numa_mem.0: 4096
+ hw:numa_mem.1: 4096
+ user: "root"
+ password: "password"
+ placement_groups:
+ pgrp1:
+ policy: "availability"
+ servers:
+ vnf:
+ floating_ip: true
+ placement: "pgrp1"
+ networks:
+ mgmt:
+ cidr: '10.0.1.0/24'
+ xe0:
+ cidr: '10.0.2.0/24'
+ gateway_ip: 'null'
+ provider: true
+ physical_network: phystenant2
+ port_security_enabled: False
+ enable_dhcp: 'false'
+ xe1:
+ cidr: '10.0.3.0/24'
+ gateway_ip: 'null'
+ provider: true
+ physical_network: phystenant3
+ port_security_enabled: False
+ enable_dhcp: 'false'
+ xe2:
+ cidr: '10.0.4.0/24'
+ gateway_ip: 'null'
+ provider: true
+ physical_network: phystenant4
+ port_security_enabled: False
+ enable_dhcp: 'false'
+ xe3:
+ cidr: '10.0.5.0/24'
+ gateway_ip: 'null'
+ provider: true
+ physical_network: phystenant5
+ port_security_enabled: False
+ enable_dhcp: 'false'
diff --git a/samples/vnf_samples/nsut/router/tc_heat_external_rfc2544_ipv4_128Kflows_9cores_4ports_1280B.yaml b/samples/vnf_samples/nsut/router/tc_heat_external_rfc2544_ipv4_128Kflows_9cores_4ports_1280B.yaml
new file mode 100644
index 000000000..be08b5b39
--- /dev/null
+++ b/samples/vnf_samples/nsut/router/tc_heat_external_rfc2544_ipv4_128Kflows_9cores_4ports_1280B.yaml
@@ -0,0 +1,120 @@
+# Copyright (c) 2016-2017 Intel Corporation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+---
+schema: yardstick:task:0.1
+scenarios:
+- type: NSPerf
+ traffic_profile: ../../traffic_profiles/ipv4_throughput.yaml
+ topology: router-tg-topology-4port.yaml
+ nodes:
+ tg__0: trafficgen_1.baremetal
+ vnf__0: vnf.yardstick
+# Required for enabling NFVi collection
+ cpt__0: compute_0.compute_nodes
+ options:
+ framesize:
+ uplink: {1280B: 100}
+ downlink: {1280B: 100}
+ flow:
+ src_ip:
+ - '10.0.2.26-10.0.2.105'
+ - '10.0.4.26-10.0.4.105'
+ dst_ip:
+ - '10.0.3.26-10.0.3.105'
+ - '10.0.5.26-10.0.5.105'
+ src_port:
+ - '1234-1238'
+ dst_port:
+ - '2001-2004'
+ count: 128000
+ traffic_type: 4
+ rfc2544:
+ allowed_drop_rate: 0.0001 - 0.1
+ tg__0:
+ queues_per_port: 7
+ vnf__0:
+ nfvi_enable: True
+ runner:
+ type: Iteration
+ iterations: 10
+ interval: 35
+contexts:
+ - name: compute_nodes
+ type: Node
+ file: /etc/yardstick/nodes/compute.yaml
+
+ - name: baremetal
+ type: Node
+ file: /etc/yardstick/nodes/pod_4p.yaml
+
+ - name: yardstick
+ image: vrouter_affinity_2c4p
+ flavor:
+ vcpus: 9
+ ram: 8192
+ disk: 10
+ extra_specs:
+ hw:cpu_sockets: 1
+ hw:cpu_cores: 9
+ hw:cpu_threads: 1
+ hw:mem_page_size: large
+ hw:cpu_policy: dedicated
+ hw:cpu_thread_policy: prefer
+ hw:numa_nodes: 2
+ hw:numa_mempolicy: preffered
+ hw:numa_cpus.0: 0,1,2,3,4
+ hw:numa_cpus.1: 5,6,7,8
+ hw:numa_mem.0: 4096
+ hw:numa_mem.1: 4096
+ user: "root"
+ password: "password"
+ placement_groups:
+ pgrp1:
+ policy: "availability"
+ servers:
+ vnf:
+ floating_ip: true
+ placement: "pgrp1"
+ networks:
+ mgmt:
+ cidr: '10.0.1.0/24'
+ xe0:
+ cidr: '10.0.2.0/24'
+ gateway_ip: 'null'
+ provider: true
+ physical_network: phystenant2
+ port_security_enabled: False
+ enable_dhcp: 'false'
+ xe1:
+ cidr: '10.0.3.0/24'
+ gateway_ip: 'null'
+ provider: true
+ physical_network: phystenant3
+ port_security_enabled: False
+ enable_dhcp: 'false'
+ xe2:
+ cidr: '10.0.4.0/24'
+ gateway_ip: 'null'
+ provider: true
+ physical_network: phystenant4
+ port_security_enabled: False
+ enable_dhcp: 'false'
+ xe3:
+ cidr: '10.0.5.0/24'
+ gateway_ip: 'null'
+ provider: true
+ physical_network: phystenant5
+ port_security_enabled: False
+ enable_dhcp: 'false'
diff --git a/samples/vnf_samples/nsut/router/tc_heat_external_rfc2544_ipv4_128Kflows_9cores_4ports_128B.yaml b/samples/vnf_samples/nsut/router/tc_heat_external_rfc2544_ipv4_128Kflows_9cores_4ports_128B.yaml
new file mode 100644
index 000000000..afc4a6839
--- /dev/null
+++ b/samples/vnf_samples/nsut/router/tc_heat_external_rfc2544_ipv4_128Kflows_9cores_4ports_128B.yaml
@@ -0,0 +1,120 @@
+# Copyright (c) 2016-2017 Intel Corporation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+---
+schema: yardstick:task:0.1
+scenarios:
+- type: NSPerf
+ traffic_profile: ../../traffic_profiles/ipv4_throughput.yaml
+ topology: router-tg-topology-4port.yaml
+ nodes:
+ tg__0: trafficgen_1.baremetal
+ vnf__0: vnf.yardstick
+# Required for enabling NFVi collection
+ cpt__0: compute_0.compute_nodes
+ options:
+ framesize:
+ uplink: {128B: 100}
+ downlink: {128B: 100}
+ flow:
+ src_ip:
+ - '10.0.2.26-10.0.2.105'
+ - '10.0.4.26-10.0.4.105'
+ dst_ip:
+ - '10.0.3.26-10.0.3.105'
+ - '10.0.5.26-10.0.5.105'
+ src_port:
+ - '1234-1238'
+ dst_port:
+ - '2001-2004'
+ count: 128000
+ traffic_type: 4
+ rfc2544:
+ allowed_drop_rate: 0.0001 - 0.1
+ tg__0:
+ queues_per_port: 7
+ vnf__0:
+ nfvi_enable: True
+ runner:
+ type: Iteration
+ iterations: 10
+ interval: 35
+contexts:
+ - name: compute_nodes
+ type: Node
+ file: /etc/yardstick/nodes/compute.yaml
+
+ - name: baremetal
+ type: Node
+ file: /etc/yardstick/nodes/pod_4p.yaml
+
+ - name: yardstick
+ image: vrouter_affinity_2c4p
+ flavor:
+ vcpus: 9
+ ram: 8192
+ disk: 10
+ extra_specs:
+ hw:cpu_sockets: 1
+ hw:cpu_cores: 9
+ hw:cpu_threads: 1
+ hw:mem_page_size: large
+ hw:cpu_policy: dedicated
+ hw:cpu_thread_policy: prefer
+ hw:numa_nodes: 2
+ hw:numa_mempolicy: preffered
+ hw:numa_cpus.0: 0,1,2,3,4
+ hw:numa_cpus.1: 5,6,7,8
+ hw:numa_mem.0: 4096
+ hw:numa_mem.1: 4096
+ user: "root"
+ password: "password"
+ placement_groups:
+ pgrp1:
+ policy: "availability"
+ servers:
+ vnf:
+ floating_ip: true
+ placement: "pgrp1"
+ networks:
+ mgmt:
+ cidr: '10.0.1.0/24'
+ xe0:
+ cidr: '10.0.2.0/24'
+ gateway_ip: 'null'
+ provider: true
+ physical_network: phystenant2
+ port_security_enabled: False
+ enable_dhcp: 'false'
+ xe1:
+ cidr: '10.0.3.0/24'
+ gateway_ip: 'null'
+ provider: true
+ physical_network: phystenant3
+ port_security_enabled: False
+ enable_dhcp: 'false'
+ xe2:
+ cidr: '10.0.4.0/24'
+ gateway_ip: 'null'
+ provider: true
+ physical_network: phystenant4
+ port_security_enabled: False
+ enable_dhcp: 'false'
+ xe3:
+ cidr: '10.0.5.0/24'
+ gateway_ip: 'null'
+ provider: true
+ physical_network: phystenant5
+ port_security_enabled: False
+ enable_dhcp: 'false'
diff --git a/samples/vnf_samples/nsut/router/tc_heat_external_rfc2544_ipv4_128Kflows_9cores_4ports_1518B.yaml b/samples/vnf_samples/nsut/router/tc_heat_external_rfc2544_ipv4_128Kflows_9cores_4ports_1518B.yaml
new file mode 100644
index 000000000..c0bbc8cdc
--- /dev/null
+++ b/samples/vnf_samples/nsut/router/tc_heat_external_rfc2544_ipv4_128Kflows_9cores_4ports_1518B.yaml
@@ -0,0 +1,120 @@
+# Copyright (c) 2016-2017 Intel Corporation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+---
+schema: yardstick:task:0.1
+scenarios:
+- type: NSPerf
+ traffic_profile: ../../traffic_profiles/ipv4_throughput.yaml
+ topology: router-tg-topology-4port.yaml
+ nodes:
+ tg__0: trafficgen_1.baremetal
+ vnf__0: vnf.yardstick
+# Required for enabling NFVi collection
+ cpt__0: compute_0.compute_nodes
+ options:
+ framesize:
+ uplink: {1518B: 100}
+ downlink: {1518B: 100}
+ flow:
+ src_ip:
+ - '10.0.2.26-10.0.2.105'
+ - '10.0.4.26-10.0.4.105'
+ dst_ip:
+ - '10.0.3.26-10.0.3.105'
+ - '10.0.5.26-10.0.5.105'
+ src_port:
+ - '1234-1238'
+ dst_port:
+ - '2001-2004'
+ count: 128000
+ traffic_type: 4
+ rfc2544:
+ allowed_drop_rate: 0.0001 - 0.1
+ tg__0:
+ queues_per_port: 7
+ vnf__0:
+ nfvi_enable: True
+ runner:
+ type: Iteration
+ iterations: 10
+ interval: 35
+contexts:
+ - name: compute_nodes
+ type: Node
+ file: /etc/yardstick/nodes/compute.yaml
+
+ - name: baremetal
+ type: Node
+ file: /etc/yardstick/nodes/pod_4p.yaml
+
+ - name: yardstick
+ image: vrouter_affinity_2c4p
+ flavor:
+ vcpus: 9
+ ram: 8192
+ disk: 10
+ extra_specs:
+ hw:cpu_sockets: 1
+ hw:cpu_cores: 9
+ hw:cpu_threads: 1
+ hw:mem_page_size: large
+ hw:cpu_policy: dedicated
+ hw:cpu_thread_policy: prefer
+ hw:numa_nodes: 2
+ hw:numa_mempolicy: preffered
+ hw:numa_cpus.0: 0,1,2,3,4
+ hw:numa_cpus.1: 5,6,7,8
+ hw:numa_mem.0: 4096
+ hw:numa_mem.1: 4096
+ user: "root"
+ password: "password"
+ placement_groups:
+ pgrp1:
+ policy: "availability"
+ servers:
+ vnf:
+ floating_ip: true
+ placement: "pgrp1"
+ networks:
+ mgmt:
+ cidr: '10.0.1.0/24'
+ xe0:
+ cidr: '10.0.2.0/24'
+ gateway_ip: 'null'
+ provider: true
+ physical_network: phystenant2
+ port_security_enabled: False
+ enable_dhcp: 'false'
+ xe1:
+ cidr: '10.0.3.0/24'
+ gateway_ip: 'null'
+ provider: true
+ physical_network: phystenant3
+ port_security_enabled: False
+ enable_dhcp: 'false'
+ xe2:
+ cidr: '10.0.4.0/24'
+ gateway_ip: 'null'
+ provider: true
+ physical_network: phystenant4
+ port_security_enabled: False
+ enable_dhcp: 'false'
+ xe3:
+ cidr: '10.0.5.0/24'
+ gateway_ip: 'null'
+ provider: true
+ physical_network: phystenant5
+ port_security_enabled: False
+ enable_dhcp: 'false'
diff --git a/samples/vnf_samples/nsut/router/tc_heat_external_rfc2544_ipv4_128Kflows_9cores_4ports_256B.yaml b/samples/vnf_samples/nsut/router/tc_heat_external_rfc2544_ipv4_128Kflows_9cores_4ports_256B.yaml
new file mode 100644
index 000000000..c78f0c2c1
--- /dev/null
+++ b/samples/vnf_samples/nsut/router/tc_heat_external_rfc2544_ipv4_128Kflows_9cores_4ports_256B.yaml
@@ -0,0 +1,120 @@
+# Copyright (c) 2016-2017 Intel Corporation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+---
+schema: yardstick:task:0.1
+scenarios:
+- type: NSPerf
+ traffic_profile: ../../traffic_profiles/ipv4_throughput.yaml
+ topology: router-tg-topology-4port.yaml
+ nodes:
+ tg__0: trafficgen_1.baremetal
+ vnf__0: vnf.yardstick
+# Required for enabling NFVi collection
+ cpt__0: compute_0.compute_nodes
+ options:
+ framesize:
+ uplink: {256B: 100}
+ downlink: {256B: 100}
+ flow:
+ src_ip:
+ - '10.0.2.26-10.0.2.105'
+ - '10.0.4.26-10.0.4.105'
+ dst_ip:
+ - '10.0.3.26-10.0.3.105'
+ - '10.0.5.26-10.0.5.105'
+ src_port:
+ - '1234-1238'
+ dst_port:
+ - '2001-2004'
+ count: 128000
+ traffic_type: 4
+ rfc2544:
+ allowed_drop_rate: 0.0001 - 0.1
+ tg__0:
+ queues_per_port: 7
+ vnf__0:
+ nfvi_enable: True
+ runner:
+ type: Iteration
+ iterations: 10
+ interval: 35
+contexts:
+ - name: compute_nodes
+ type: Node
+ file: /etc/yardstick/nodes/compute.yaml
+
+ - name: baremetal
+ type: Node
+ file: /etc/yardstick/nodes/pod_4p.yaml
+
+ - name: yardstick
+ image: vrouter_affinity_2c4p
+ flavor:
+ vcpus: 9
+ ram: 8192
+ disk: 10
+ extra_specs:
+ hw:cpu_sockets: 1
+ hw:cpu_cores: 9
+ hw:cpu_threads: 1
+ hw:mem_page_size: large
+ hw:cpu_policy: dedicated
+ hw:cpu_thread_policy: prefer
+ hw:numa_nodes: 2
+ hw:numa_mempolicy: preffered
+ hw:numa_cpus.0: 0,1,2,3,4
+ hw:numa_cpus.1: 5,6,7,8
+ hw:numa_mem.0: 4096
+ hw:numa_mem.1: 4096
+ user: "root"
+ password: "password"
+ placement_groups:
+ pgrp1:
+ policy: "availability"
+ servers:
+ vnf:
+ floating_ip: true
+ placement: "pgrp1"
+ networks:
+ mgmt:
+ cidr: '10.0.1.0/24'
+ xe0:
+ cidr: '10.0.2.0/24'
+ gateway_ip: 'null'
+ provider: true
+ physical_network: phystenant2
+ port_security_enabled: False
+ enable_dhcp: 'false'
+ xe1:
+ cidr: '10.0.3.0/24'
+ gateway_ip: 'null'
+ provider: true
+ physical_network: phystenant3
+ port_security_enabled: False
+ enable_dhcp: 'false'
+ xe2:
+ cidr: '10.0.4.0/24'
+ gateway_ip: 'null'
+ provider: true
+ physical_network: phystenant4
+ port_security_enabled: False
+ enable_dhcp: 'false'
+ xe3:
+ cidr: '10.0.5.0/24'
+ gateway_ip: 'null'
+ provider: true
+ physical_network: phystenant5
+ port_security_enabled: False
+ enable_dhcp: 'false'
diff --git a/samples/vnf_samples/nsut/router/tc_heat_external_rfc2544_ipv4_128Kflows_9cores_4ports_512B.yaml b/samples/vnf_samples/nsut/router/tc_heat_external_rfc2544_ipv4_128Kflows_9cores_4ports_512B.yaml
new file mode 100644
index 000000000..9d223299a
--- /dev/null
+++ b/samples/vnf_samples/nsut/router/tc_heat_external_rfc2544_ipv4_128Kflows_9cores_4ports_512B.yaml
@@ -0,0 +1,120 @@
+# Copyright (c) 2016-2017 Intel Corporation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+---
+schema: yardstick:task:0.1
+scenarios:
+- type: NSPerf
+ traffic_profile: ../../traffic_profiles/ipv4_throughput.yaml
+ topology: router-tg-topology-4port.yaml
+ nodes:
+ tg__0: trafficgen_1.baremetal
+ vnf__0: vnf.yardstick
+# Required for enabling NFVi collection
+ cpt__0: compute_0.compute_nodes
+ options:
+ framesize:
+ uplink: {512B: 100}
+ downlink: {512B: 100}
+ flow:
+ src_ip:
+ - '10.0.2.26-10.0.2.105'
+ - '10.0.4.26-10.0.4.105'
+ dst_ip:
+ - '10.0.3.26-10.0.3.105'
+ - '10.0.5.26-10.0.5.105'
+ src_port:
+ - '1234-1238'
+ dst_port:
+ - '2001-2004'
+ count: 128000
+ traffic_type: 4
+ rfc2544:
+ allowed_drop_rate: 0.0001 - 0.1
+ tg__0:
+ queues_per_port: 7
+ vnf__0:
+ nfvi_enable: True
+ runner:
+ type: Iteration
+ iterations: 10
+ interval: 35
+contexts:
+ - name: compute_nodes
+ type: Node
+ file: /etc/yardstick/nodes/compute.yaml
+
+ - name: baremetal
+ type: Node
+ file: /etc/yardstick/nodes/pod_4p.yaml
+
+ - name: yardstick
+ image: vrouter_affinity_2c4p
+ flavor:
+ vcpus: 9
+ ram: 8192
+ disk: 10
+ extra_specs:
+ hw:cpu_sockets: 1
+ hw:cpu_cores: 9
+ hw:cpu_threads: 1
+ hw:mem_page_size: large
+ hw:cpu_policy: dedicated
+ hw:cpu_thread_policy: prefer
+ hw:numa_nodes: 2
+ hw:numa_mempolicy: preffered
+ hw:numa_cpus.0: 0,1,2,3,4
+ hw:numa_cpus.1: 5,6,7,8
+ hw:numa_mem.0: 4096
+ hw:numa_mem.1: 4096
+ user: "root"
+ password: "password"
+ placement_groups:
+ pgrp1:
+ policy: "availability"
+ servers:
+ vnf:
+ floating_ip: true
+ placement: "pgrp1"
+ networks:
+ mgmt:
+ cidr: '10.0.1.0/24'
+ xe0:
+ cidr: '10.0.2.0/24'
+ gateway_ip: 'null'
+ provider: true
+ physical_network: phystenant2
+ port_security_enabled: False
+ enable_dhcp: 'false'
+ xe1:
+ cidr: '10.0.3.0/24'
+ gateway_ip: 'null'
+ provider: true
+ physical_network: phystenant3
+ port_security_enabled: False
+ enable_dhcp: 'false'
+ xe2:
+ cidr: '10.0.4.0/24'
+ gateway_ip: 'null'
+ provider: true
+ physical_network: phystenant4
+ port_security_enabled: False
+ enable_dhcp: 'false'
+ xe3:
+ cidr: '10.0.5.0/24'
+ gateway_ip: 'null'
+ provider: true
+ physical_network: phystenant5
+ port_security_enabled: False
+ enable_dhcp: 'false'
diff --git a/samples/vnf_samples/nsut/router/tc_heat_external_rfc2544_ipv4_128Kflows_9cores_4ports_64B.yaml b/samples/vnf_samples/nsut/router/tc_heat_external_rfc2544_ipv4_128Kflows_9cores_4ports_64B.yaml
new file mode 100644
index 000000000..45a8c2c5a
--- /dev/null
+++ b/samples/vnf_samples/nsut/router/tc_heat_external_rfc2544_ipv4_128Kflows_9cores_4ports_64B.yaml
@@ -0,0 +1,120 @@
+# Copyright (c) 2016-2017 Intel Corporation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+---
+schema: yardstick:task:0.1
+scenarios:
+- type: NSPerf
+ traffic_profile: ../../traffic_profiles/ipv4_throughput.yaml
+ topology: router-tg-topology-4port.yaml
+ nodes:
+ tg__0: trafficgen_1.baremetal
+ vnf__0: vnf.yardstick
+# Required for enabling NFVi collection
+ cpt__0: compute_0.compute_nodes
+ options:
+ framesize:
+ uplink: {64B: 100}
+ downlink: {64B: 100}
+ flow:
+ src_ip:
+ - '10.0.2.26-10.0.2.105'
+ - '10.0.4.26-10.0.4.105'
+ dst_ip:
+ - '10.0.3.26-10.0.3.105'
+ - '10.0.5.26-10.0.5.105'
+ src_port:
+ - '1234-1238'
+ dst_port:
+ - '2001-2004'
+ count: 128000
+ traffic_type: 4
+ rfc2544:
+ allowed_drop_rate: 0.0001 - 0.1
+ tg__0:
+ queues_per_port: 7
+ vnf__0:
+ nfvi_enable: True
+ runner:
+ type: Iteration
+ iterations: 10
+ interval: 35
+contexts:
+ - name: compute_nodes
+ type: Node
+ file: /etc/yardstick/nodes/compute.yaml
+
+ - name: baremetal
+ type: Node
+ file: /etc/yardstick/nodes/pod_4p.yaml
+
+ - name: yardstick
+ image: vrouter_affinity_2c4p
+ flavor:
+ vcpus: 9
+ ram: 8192
+ disk: 10
+ extra_specs:
+ hw:cpu_sockets: 1
+ hw:cpu_cores: 9
+ hw:cpu_threads: 1
+ hw:mem_page_size: large
+ hw:cpu_policy: dedicated
+ hw:cpu_thread_policy: prefer
+ hw:numa_nodes: 2
+ hw:numa_mempolicy: preffered
+ hw:numa_cpus.0: 0,1,2,3,4
+ hw:numa_cpus.1: 5,6,7,8
+ hw:numa_mem.0: 4096
+ hw:numa_mem.1: 4096
+ user: "root"
+ password: "password"
+ placement_groups:
+ pgrp1:
+ policy: "availability"
+ servers:
+ vnf:
+ floating_ip: true
+ placement: "pgrp1"
+ networks:
+ mgmt:
+ cidr: '10.0.1.0/24'
+ xe0:
+ cidr: '10.0.2.0/24'
+ gateway_ip: 'null'
+ provider: true
+ physical_network: phystenant2
+ port_security_enabled: False
+ enable_dhcp: 'false'
+ xe1:
+ cidr: '10.0.3.0/24'
+ gateway_ip: 'null'
+ provider: true
+ physical_network: phystenant3
+ port_security_enabled: False
+ enable_dhcp: 'false'
+ xe2:
+ cidr: '10.0.4.0/24'
+ gateway_ip: 'null'
+ provider: true
+ physical_network: phystenant4
+ port_security_enabled: False
+ enable_dhcp: 'false'
+ xe3:
+ cidr: '10.0.5.0/24'
+ gateway_ip: 'null'
+ provider: true
+ physical_network: phystenant5
+ port_security_enabled: False
+ enable_dhcp: 'false'
diff --git a/samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_5cores_2ports_1024B_trex.yaml b/samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_5cores_2ports_1024B_trex.yaml
new file mode 100644
index 000000000..b3e4157f5
--- /dev/null
+++ b/samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_5cores_2ports_1024B_trex.yaml
@@ -0,0 +1,116 @@
+# Copyright (c) 2016-2017 Intel Corporation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+---
+schema: yardstick:task:0.1
+scenarios:
+- type: NSPerf
+ traffic_profile: ../../traffic_profiles/ipv4_throughput.yaml
+ topology: router-tg-topology.yaml
+ nodes:
+ tg__0: trafficgen_1.yardstick
+ vnf__0: vnf.yardstick
+# Required for enabling NFVi collection
+ cpt__0: ovs_dpdk.yardstick
+ options:
+ framesize:
+ uplink: {1024B: 100}
+ downlink: {1024B: 100}
+ flow:
+ src_ip:
+ - '152.16.100.26-152.16.100.105'
+ dst_ip:
+ - '152.16.40.26-152.16.40.105'
+ src_port:
+ - '1234-1238'
+ dst_port:
+ - '2001-2004'
+ count: 128000
+ traffic_type: 4
+ rfc2544:
+ allowed_drop_rate: 0.0001 - 0.1
+ tg__0:
+ queues_per_port: 7
+ vnf__0:
+ nfvi_enable: True
+ runner:
+ type: Iteration
+ iterations: 10
+ interval: 35
+contexts:
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/pod_ovs.yaml
+
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/pod_trex.yaml
+
+ - name: yardstick
+ type: StandaloneOvsDpdk
+ file: /etc/yardstick/nodes/standalone/pod_ovs.yaml
+ vm_deploy: True
+ ovs_properties:
+ version:
+ ovs: 2.7.0
+ dpdk: 16.11.1
+ pmd_threads: 4
+ # override pmd_threads; use specific cpus
+ pmd_cpu_mask: "0x78"
+ lcore_mask: "0x4"
+ ram:
+ socket_0: 2048
+ socket_1: 2048
+ queues: 4
+ vpath: "/usr/local"
+
+ flavor:
+ images: "/var/lib/libvirt/images/ubuntu_5cores.qcow2"
+ ram: 4096
+ extra_specs:
+ hw:cpu_sockets: 1
+ hw:cpu_cores: 5
+ hw:cpu_threads: 1
+ cputune: "<cputune>
+ <vcpupin vcpu='0' cpuset='11'/>
+ <vcpupin vcpu='1' cpuset='12'/>
+ <vcpupin vcpu='2' cpuset='13'/>
+ <vcpupin vcpu='3' cpuset='14'/>
+ <vcpupin vcpu='4' cpuset='15'/>
+ </cputune>"
+ user: "root"
+ password: "password"
+ servers:
+ vnf:
+ network_ports:
+ mgmt:
+ ip: '10.166.31.252'
+ cidr: '10.166.31.252/30'
+ xe0:
+ - uplink_0
+ xe1:
+ - downlink_0
+ networks:
+ uplink_0:
+ port_num: 0
+ phy_port: "0000:1a:00.0"
+ vpci: "0000:00:07.0"
+ cidr: '152.16.100.19/24'
+ gateway_ip: '152.16.100.20'
+ downlink_0:
+ port_num: 1
+ phy_port: "0000:18:00.0"
+ vpci: "0000:00:08.0"
+ cidr: '152.16.40.19/24'
+ gateway_ip: '152.16.100.20'
diff --git a/samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_5cores_2ports_1280B_trex.yaml b/samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_5cores_2ports_1280B_trex.yaml
new file mode 100644
index 000000000..6d1353297
--- /dev/null
+++ b/samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_5cores_2ports_1280B_trex.yaml
@@ -0,0 +1,116 @@
+# Copyright (c) 2016-2017 Intel Corporation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+---
+schema: yardstick:task:0.1
+scenarios:
+- type: NSPerf
+ traffic_profile: ../../traffic_profiles/ipv4_throughput.yaml
+ topology: router-tg-topology.yaml
+ nodes:
+ tg__0: trafficgen_1.yardstick
+ vnf__0: vnf.yardstick
+# Required for enabling NFVi collection
+ cpt__0: ovs_dpdk.yardstick
+ options:
+ framesize:
+ uplink: {1280B: 100}
+ downlink: {1280B: 100}
+ flow:
+ src_ip:
+ - '152.16.100.26-152.16.100.105'
+ dst_ip:
+ - '152.16.40.26-152.16.40.105'
+ src_port:
+ - '1234-1238'
+ dst_port:
+ - '2001-2004'
+ count: 128000
+ traffic_type: 4
+ rfc2544:
+ allowed_drop_rate: 0.0001 - 0.1
+ tg__0:
+ queues_per_port: 7
+ vnf__0:
+ nfvi_enable: True
+ runner:
+ type: Iteration
+ iterations: 10
+ interval: 35
+contexts:
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/pod_ovs.yaml
+
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/pod_trex.yaml
+
+ - name: yardstick
+ type: StandaloneOvsDpdk
+ file: /etc/yardstick/nodes/standalone/pod_ovs.yaml
+ vm_deploy: True
+ ovs_properties:
+ version:
+ ovs: 2.7.0
+ dpdk: 16.11.1
+ pmd_threads: 4
+ # override pmd_threads; Use specific cpus
+ pmd_cpu_mask: "0x78"
+ lcore_mask: "0x4"
+ ram:
+ socket_0: 2048
+ socket_1: 2048
+ queues: 4
+ vpath: "/usr/local"
+
+ flavor:
+ images: "/var/lib/libvirt/images/ubuntu_5cores.qcow2"
+ ram: 4096
+ extra_specs:
+ hw:cpu_sockets: 1
+ hw:cpu_cores: 5
+ hw:cpu_threads: 1
+ cputune: "<cputune>
+ <vcpupin vcpu='0' cpuset='11'/>
+ <vcpupin vcpu='1' cpuset='12'/>
+ <vcpupin vcpu='2' cpuset='13'/>
+ <vcpupin vcpu='3' cpuset='14'/>
+ <vcpupin vcpu='4' cpuset='15'/>
+ </cputune>"
+ user: "root"
+ password: "password"
+ servers:
+ vnf:
+ network_ports:
+ mgmt:
+ ip: '10.166.31.252'
+ cidr: '10.166.31.252/28'
+ xe0:
+ - uplink_0
+ xe1:
+ - downlink_0
+ networks:
+ uplink_0:
+ port_num: 0
+ phy_port: "0000:1a:00.0"
+ vpci: "0000:00:07.0"
+ cidr: '152.16.100.19/24'
+ gateway_ip: '152.16.100.20'
+ downlink_0:
+ port_num: 1
+ phy_port: "0000:18:00.0"
+ vpci: "0000:00:08.0"
+ cidr: '152.16.40.19/24'
+ gateway_ip: '152.16.100.20'
diff --git a/samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_5cores_2ports_128B_trex.yaml b/samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_5cores_2ports_128B_trex.yaml
new file mode 100644
index 000000000..99e9b8d0e
--- /dev/null
+++ b/samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_5cores_2ports_128B_trex.yaml
@@ -0,0 +1,116 @@
+# Copyright (c) 2016-2017 Intel Corporation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+---
+schema: yardstick:task:0.1
+scenarios:
+- type: NSPerf
+ traffic_profile: ../../traffic_profiles/ipv4_throughput.yaml
+ topology: router-tg-topology.yaml
+ nodes:
+ tg__0: trafficgen_1.yardstick
+ vnf__0: vnf.yardstick
+# Required for enabling NFVi collection
+ cpt__0: ovs_dpdk.yardstick
+ options:
+ framesize:
+ uplink: {128B: 100}
+ downlink: {128B: 100}
+ flow:
+ src_ip:
+ - '152.16.100.26-152.16.100.105'
+ dst_ip:
+ - '152.16.40.26-152.16.40.105'
+ src_port:
+ - '1234-1238'
+ dst_port:
+ - '2001-2004'
+ count: 128000
+ traffic_type: 4
+ rfc2544:
+ allowed_drop_rate: 0.0001 - 0.1
+ tg__0:
+ queues_per_port: 7
+ vnf__0:
+ nfvi_enable: True
+ runner:
+ type: Iteration
+ iterations: 10
+ interval: 35
+contexts:
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/pod_ovs.yaml
+
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/pod_trex.yaml
+
+ - name: yardstick
+ type: StandaloneOvsDpdk
+ file: /etc/yardstick/nodes/standalone/pod_ovs.yaml
+ vm_deploy: True
+ ovs_properties:
+ version:
+ ovs: 2.7.0
+ dpdk: 16.11.1
+ pmd_threads: 4
+ # override pmd_threads; use specific CPUs
+ pmd_cpu_mask: "0x78"
+ lcore_mask: "0x4"
+ ram:
+ socket_0: 2048
+ socket_1: 2048
+ queues: 4
+ vpath: "/usr/local"
+
+ flavor:
+ images: "/var/lib/libvirt/images/ubuntu_5cores.qcow2"
+ ram: 4096
+ extra_specs:
+ hw:cpu_sockets: 1
+ hw:cpu_cores: 5
+ hw:cpu_threads: 1
+ cputune: "<cputune>
+ <vcpupin vcpu='0' cpuset='11'/>
+ <vcpupin vcpu='1' cpuset='12'/>
+ <vcpupin vcpu='2' cpuset='13'/>
+ <vcpupin vcpu='3' cpuset='14'/>
+ <vcpupin vcpu='4' cpuset='15'/>
+ </cputune>"
+ user: "root"
+ password: "password"
+ servers:
+ vnf:
+ network_ports:
+ mgmt:
+ ip: '10.166.31.252'
+ cidr: '10.166.31.252/28'
+ xe0:
+ - uplink_0
+ xe1:
+ - downlink_0
+ networks:
+ uplink_0:
+ port_num: 0
+ phy_port: "0000:1a:00.0"
+ vpci: "0000:00:07.0"
+ cidr: '152.16.100.19/24'
+ gateway_ip: '152.16.100.20'
+ downlink_0:
+ port_num: 1
+ phy_port: "0000:18:00.0"
+ vpci: "0000:00:08.0"
+ cidr: '152.16.40.19/24'
+ gateway_ip: '152.16.100.20'
diff --git a/samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_5cores_2ports_1518B_trex.yaml b/samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_5cores_2ports_1518B_trex.yaml
new file mode 100644
index 000000000..1a1be3732
--- /dev/null
+++ b/samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_5cores_2ports_1518B_trex.yaml
@@ -0,0 +1,115 @@
+# Copyright (c) 2016-2017 Intel Corporation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+---
+schema: yardstick:task:0.1
+scenarios:
+- type: NSPerf
+ traffic_profile: ../../traffic_profiles/ipv4_throughput.yaml
+ topology: router-tg-topology.yaml
+ nodes:
+ tg__0: trafficgen_1.yardstick
+ vnf__0: vnf.yardstick
+# Required for enabling NFVi collection
+ cpt__0: ovs_dpdk.yardstick
+ options:
+ framesize:
+ uplink: {1518B: 100}
+ downlink: {1518B: 100}
+ flow:
+ src_ip:
+ - '152.16.100.26-152.16.100.105'
+ dst_ip:
+ - '152.16.40.26-152.16.40.105'
+ src_port:
+ - '1234-1238'
+ dst_port:
+ - '2001-2004'
+ count: 128000
+ traffic_type: 4
+ rfc2544:
+ allowed_drop_rate: 0.0001 - 0.1
+ tg__0:
+ queues_per_port: 7
+ vnf__0:
+ nfvi_enable: True
+ runner:
+ type: Iteration
+ iterations: 2
+ interval: 35
+contexts:
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/pod_ovs.yaml
+
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/pod_trex.yaml
+
+ - name: yardstick
+ type: StandaloneOvsDpdk
+ file: /etc/yardstick/nodes/standalone/pod_ovs.yaml
+ vm_deploy: True
+ ovs_properties:
+ version:
+ ovs: 2.7.0
+ dpdk: 16.11.1
+ pmd_threads: 4
+ pmd_cpu_mask: "0x78"
+ lcore_mask: "0x4"
+ ram:
+ socket_0: 2048
+ socket_1: 2048
+ queues: 4
+ vpath: "/usr/local"
+
+ flavor:
+ images: "/var/lib/libvirt/images/ubuntu_5cores.qcow2"
+ ram: 4096
+ extra_specs:
+ hw:cpu_sockets: 1
+ hw:cpu_cores: 5
+ hw:cpu_threads: 1
+ cputune: "<cputune>
+ <vcpupin vcpu='0' cpuset='11'/>
+ <vcpupin vcpu='1' cpuset='12'/>
+ <vcpupin vcpu='2' cpuset='13'/>
+ <vcpupin vcpu='3' cpuset='14'/>
+ <vcpupin vcpu='4' cpuset='15'/>
+ </cputune>"
+ user: "root"
+ password: "password"
+ servers:
+ vnf:
+ network_ports:
+ mgmt:
+ ip: '10.166.31.252'
+ cidr: '10.166.31.252/28'
+ xe0:
+ - uplink_0
+ xe1:
+ - downlink_0
+ networks:
+ uplink_0:
+ port_num: 0
+ phy_port: "0000:1a:00.0"
+ vpci: "0000:00:07.0"
+ cidr: '152.16.100.19/24'
+ gateway_ip: '152.16.100.20'
+ downlink_0:
+ port_num: 1
+ phy_port: "0000:18:00.0"
+ vpci: "0000:00:08.0"
+ cidr: '152.16.40.19/24'
+ gateway_ip: '152.16.40.20'
diff --git a/samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_5cores_2ports_256B_trex.yaml b/samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_5cores_2ports_256B_trex.yaml
new file mode 100644
index 000000000..6c30b621e
--- /dev/null
+++ b/samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_5cores_2ports_256B_trex.yaml
@@ -0,0 +1,116 @@
+# Copyright (c) 2016-2017 Intel Corporation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+---
+schema: yardstick:task:0.1
+scenarios:
+- type: NSPerf
+ traffic_profile: ../../traffic_profiles/ipv4_throughput.yaml
+ topology: router-tg-topology.yaml
+ nodes:
+ tg__0: trafficgen_1.yardstick
+ vnf__0: vnf.yardstick
+# Required for enabling NFVi collection
+ cpt__0: ovs_dpdk.yardstick
+ options:
+ framesize:
+ uplink: {256B: 100}
+ downlink: {256B: 100}
+ flow:
+ src_ip:
+ - '152.16.100.26-152.16.100.105'
+ dst_ip:
+ - '152.16.40.26-152.16.40.105'
+ src_port:
+ - '1234-1238'
+ dst_port:
+ - '2001-2004'
+ count: 128000
+ traffic_type: 4
+ rfc2544:
+ allowed_drop_rate: 0.0001 - 0.1
+ tg__0:
+ queues_per_port: 7
+ vnf__0:
+ nfvi_enable: True
+ runner:
+ type: Iteration
+ iterations: 10
+ interval: 35
+contexts:
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/pod_ovs.yaml
+
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/pod_trex.yaml
+
+ - name: yardstick
+ type: StandaloneOvsDpdk
+ file: /etc/yardstick/nodes/standalone/pod_ovs.yaml
+ vm_deploy: True
+ ovs_properties:
+ version:
+ ovs: 2.7.0
+ dpdk: 16.11.1
+ pmd_threads: 4
+ # override pmd_threads to use specific cpus
+ pmd_cpu_mask: "0x78"
+ lcore_mask: "0x4"
+ ram:
+ socket_0: 2048
+ socket_1: 2048
+ queues: 4
+ vpath: "/usr/local"
+
+ flavor:
+ images: "/var/lib/libvirt/images/ubuntu_5cores.qcow2"
+ ram: 4096
+ extra_specs:
+ hw:cpu_sockets: 1
+ hw:cpu_cores: 5
+ hw:cpu_threads: 1
+ cputune: "<cputune>
+ <vcpupin vcpu='0' cpuset='11'/>
+ <vcpupin vcpu='1' cpuset='12'/>
+ <vcpupin vcpu='2' cpuset='13'/>
+ <vcpupin vcpu='3' cpuset='14'/>
+ <vcpupin vcpu='4' cpuset='15'/>
+ </cputune>"
+ user: "root"
+ password: "password"
+ servers:
+ vnf:
+ network_ports:
+ mgmt:
+ ip: '10.166.31.252'
+ cidr: '10.166.31.252/28'
+ xe0:
+ - uplink_0
+ xe1:
+ - downlink_0
+ networks:
+ uplink_0:
+ port_num: 0
+ phy_port: "0000:1a:00.0"
+ vpci: "0000:00:07.0"
+ cidr: '152.16.100.19/24'
+ gateway_ip: '152.16.100.20'
+ downlink_0:
+ port_num: 1
+ phy_port: "0000:18:00.0"
+ vpci: "0000:00:08.0"
+ cidr: '152.16.40.19/24'
+ gateway_ip: '152.16.100.20'
diff --git a/samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_5cores_2ports_512B_trex.yaml b/samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_5cores_2ports_512B_trex.yaml
new file mode 100644
index 000000000..ddb59cbe6
--- /dev/null
+++ b/samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_5cores_2ports_512B_trex.yaml
@@ -0,0 +1,116 @@
+# Copyright (c) 2016-2017 Intel Corporation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+---
+schema: yardstick:task:0.1
+scenarios:
+- type: NSPerf
+ traffic_profile: ../../traffic_profiles/ipv4_throughput.yaml
+ topology: router-tg-topology.yaml
+ nodes:
+ tg__0: trafficgen_1.yardstick
+ vnf__0: vnf.yardstick
+# Required for enabling NFVi collection
+ cpt__0: ovs_dpdk.yardstick
+ options:
+ framesize:
+ uplink: {512B: 100}
+ downlink: {512B: 100}
+ flow:
+ src_ip:
+ - '152.16.100.26-152.16.100.105'
+ dst_ip:
+ - '152.16.40.26-152.16.40.105'
+ src_port:
+ - '1234-1238'
+ dst_port:
+ - '2001-2004'
+ count: 128000
+ traffic_type: 4
+ rfc2544:
+ allowed_drop_rate: 0.0001 - 0.1
+ tg__0:
+ queues_per_port: 7
+ vnf__0:
+ nfvi_enable: True
+ runner:
+ type: Iteration
+ iterations: 10
+ interval: 35
+contexts:
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/pod_ovs.yaml
+
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/pod_trex.yaml
+
+ - name: yardstick
+ type: StandaloneOvsDpdk
+ file: /etc/yardstick/nodes/standalone/pod_ovs.yaml
+ vm_deploy: True
+ ovs_properties:
+ version:
+ ovs: 2.7.0
+ dpdk: 16.11.1
+ pmd_threads: 4
+ # override pmd_threads to use specific cpus
+ pmd_cpu_mask: "0x78"
+ lcore_mask: "0x4"
+ ram:
+ socket_0: 2048
+ socket_1: 2048
+ queues: 4
+ vpath: "/usr/local"
+
+ flavor:
+ images: "/var/lib/libvirt/images/ubuntu_5cores.qcow2"
+ ram: 4096
+ extra_specs:
+ hw:cpu_sockets: 1
+ hw:cpu_cores: 5
+ hw:cpu_threads: 1
+ cputune: "<cputune>
+ <vcpupin vcpu='0' cpuset='11'/>
+ <vcpupin vcpu='1' cpuset='12'/>
+ <vcpupin vcpu='2' cpuset='13'/>
+ <vcpupin vcpu='3' cpuset='14'/>
+ <vcpupin vcpu='4' cpuset='15'/>
+ </cputune>"
+ user: "root"
+ password: "password"
+ servers:
+ vnf:
+ network_ports:
+ mgmt:
+ ip: '10.166.31.252'
+ cidr: '10.166.31.252/28'
+ xe0:
+ - uplink_0
+ xe1:
+ - downlink_0
+ networks:
+ uplink_0:
+ port_num: 0
+ phy_port: "0000:1a:00.0"
+ vpci: "0000:00:07.0"
+ cidr: '152.16.100.19/24'
+ gateway_ip: '152.16.100.20'
+ downlink_0:
+ port_num: 1
+ phy_port: "0000:18:00.0"
+ vpci: "0000:00:08.0"
+ cidr: '152.16.40.19/24'
+ gateway_ip: '152.16.100.20'
diff --git a/samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_5cores_2ports_64B_trex.yaml b/samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_5cores_2ports_64B_trex.yaml
new file mode 100644
index 000000000..c141f4e57
--- /dev/null
+++ b/samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_5cores_2ports_64B_trex.yaml
@@ -0,0 +1,116 @@
+# Copyright (c) 2016-2017 Intel Corporation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+---
+schema: yardstick:task:0.1
+scenarios:
+- type: NSPerf
+ traffic_profile: ../../traffic_profiles/ipv4_throughput.yaml
+ topology: router-tg-topology.yaml
+ nodes:
+ tg__0: trafficgen_1.yardstick
+ vnf__0: vnf.yardstick
+# Required for enabling NFVi collection
+ cpt__0: ovs_dpdk.yardstick
+ options:
+ framesize:
+ uplink: {64B: 100}
+ downlink: {64B: 100}
+ flow:
+ src_ip:
+ - '152.16.100.26-152.16.100.105'
+ dst_ip:
+ - '152.16.40.26-152.16.40.105'
+ src_port:
+ - '1234-1238'
+ dst_port:
+ - '2001-2004'
+ count: 128000
+ traffic_type: 4
+ rfc2544:
+ allowed_drop_rate: 0.0001 - 0.1
+ tg__0:
+ queues_per_port: 7
+ vnf__0:
+ nfvi_enable: True
+ runner:
+ type: Iteration
+ iterations: 10
+ interval: 35
+contexts:
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/pod_ovs.yaml
+
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/pod_trex.yaml
+
+ - name: yardstick
+ type: StandaloneOvsDpdk
+ file: /etc/yardstick/nodes/standalone/pod_ovs.yaml
+ vm_deploy: True
+ ovs_properties:
+ version:
+ ovs: 2.7.0
+ dpdk: 16.11.1
+ pmd_threads: 4
+ # override pmd_threads to use specific cpus
+ pmd_cpu_mask: "0x78"
+ lcore_mask: "0x4"
+ ram:
+ socket_0: 2048
+ socket_1: 2048
+ queues: 4
+ vpath: "/usr/local"
+
+ flavor:
+ images: "/var/lib/libvirt/images/ubuntu_5cores.qcow2"
+ ram: 4096
+ extra_specs:
+ hw:cpu_sockets: 1
+ hw:cpu_cores: 5
+ hw:cpu_threads: 1
+ cputune: "<cputune>
+ <vcpupin vcpu='0' cpuset='11'/>
+ <vcpupin vcpu='1' cpuset='12'/>
+ <vcpupin vcpu='2' cpuset='13'/>
+ <vcpupin vcpu='3' cpuset='14'/>
+ <vcpupin vcpu='4' cpuset='15'/>
+ </cputune>"
+ user: "root"
+ password: "password"
+ servers:
+ vnf:
+ network_ports:
+ mgmt:
+ ip: '10.166.31.252'
+ cidr: '10.166.31.252/28'
+ xe0:
+ - uplink_0
+ xe1:
+ - downlink_0
+ networks:
+ uplink_0:
+ port_num: 0
+ phy_port: "0000:1a:00.0"
+ vpci: "0000:00:07.0"
+ cidr: '152.16.100.19/24'
+ gateway_ip: '152.16.100.20'
+ downlink_0:
+ port_num: 1
+ phy_port: "0000:18:00.0"
+ vpci: "0000:00:08.0"
+ cidr: '152.16.40.19/24'
+ gateway_ip: '152.16.100.20'
diff --git a/samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_7cores_2ports_1024B_trex.yaml b/samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_7cores_2ports_1024B_trex.yaml
new file mode 100644
index 000000000..bfa5ba4f0
--- /dev/null
+++ b/samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_7cores_2ports_1024B_trex.yaml
@@ -0,0 +1,106 @@
+# Copyright (c) 2016-2017 Intel Corporation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+---
+schema: yardstick:task:0.1
+scenarios:
+- type: NSPerf
+ traffic_profile: ../../traffic_profiles/ipv4_throughput.yaml
+ topology: router-tg-topology.yaml
+ nodes:
+ tg__0: trafficgen_1.yardstick
+ vnf__0: vnf.yardstick
+# Required for enabling NFVi collection
+ cpt__0: ovs_dpdk.yardstick
+ options:
+ framesize:
+ uplink: {1024B: 100}
+ downlink: {1024B: 100}
+ flow:
+ src_ip:
+ - '152.16.100.26-152.16.100.105'
+ dst_ip:
+ - '152.16.40.26-152.16.40.105'
+ src_port:
+ - '1234-1238'
+ dst_port:
+ - '2001-2004'
+ count: 128000
+ traffic_type: 4
+ rfc2544:
+ allowed_drop_rate: 0.0001 - 0.1
+ tg__0:
+ queues_per_port: 7
+ vnf__0:
+ nfvi_enable: True
+ runner:
+ type: Iteration
+ iterations: 10
+ interval: 35
+contexts:
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/pod_ovs.yaml
+
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/pod_trex.yaml
+
+ - name: yardstick
+ type: StandaloneOvsDpdk
+ file: /etc/yardstick/nodes/standalone/pod_ovs.yaml
+ vm_deploy: True
+ ovs_properties:
+ version:
+ ovs: 2.7.0
+ dpdk: 16.11.1
+ pmd_threads: 4
+ ram:
+ socket_0: 2048
+ socket_1: 2048
+ queues: 4
+ vpath: "/usr/local"
+
+ flavor:
+ images: "/var/lib/libvirt/images/ubuntu.qcow2"
+ ram: 4096
+ extra_specs:
+ hw:cpu_sockets: 1
+ hw:cpu_cores: 7
+ hw:cpu_threads: 1
+ user: "root"
+ password: "password"
+ servers:
+ vnf:
+ network_ports:
+ mgmt:
+ ip: '10.166.31.252'
+ cidr: '10.166.31.252/30'
+ xe0:
+ - uplink_0
+ xe1:
+ - downlink_0
+ networks:
+ uplink_0:
+ port_num: 0
+ phy_port: "0000:1a:00.0"
+ vpci: "0000:00:07.0"
+ cidr: '152.16.100.19/24'
+ gateway_ip: '152.16.100.20'
+ downlink_0:
+ port_num: 1
+ phy_port: "0000:18:00.0"
+ vpci: "0000:00:08.0"
+ cidr: '152.16.40.19/24'
+ gateway_ip: '152.16.100.20'
diff --git a/samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_7cores_2ports_1280B_trex.yaml b/samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_7cores_2ports_1280B_trex.yaml
new file mode 100644
index 000000000..ea5fb16a9
--- /dev/null
+++ b/samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_7cores_2ports_1280B_trex.yaml
@@ -0,0 +1,106 @@
+# Copyright (c) 2016-2017 Intel Corporation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+---
+schema: yardstick:task:0.1
+scenarios:
+- type: NSPerf
+ traffic_profile: ../../traffic_profiles/ipv4_throughput.yaml
+ topology: router-tg-topology.yaml
+ nodes:
+ tg__0: trafficgen_1.yardstick
+ vnf__0: vnf.yardstick
+# Required for enabling NFVi collection
+ cpt__0: ovs_dpdk.yardstick
+ options:
+ framesize:
+ uplink: {1280B: 100}
+ downlink: {1280B: 100}
+ flow:
+ src_ip:
+ - '152.16.100.26-152.16.100.105'
+ dst_ip:
+ - '152.16.40.26-152.16.40.105'
+ src_port:
+ - '1234-1238'
+ dst_port:
+ - '2001-2004'
+ count: 128000
+ traffic_type: 4
+ rfc2544:
+ allowed_drop_rate: 0.0001 - 0.1
+ tg__0:
+ queues_per_port: 7
+ vnf__0:
+ nfvi_enable: True
+ runner:
+ type: Iteration
+ iterations: 10
+ interval: 35
+contexts:
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/pod_ovs.yaml
+
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/pod_trex.yaml
+
+ - name: yardstick
+ type: StandaloneOvsDpdk
+ file: /etc/yardstick/nodes/standalone/pod_ovs.yaml
+ vm_deploy: True
+ ovs_properties:
+ version:
+ ovs: 2.7.0
+ dpdk: 16.11.1
+ pmd_threads: 4
+ ram:
+ socket_0: 2048
+ socket_1: 2048
+ queues: 4
+ vpath: "/usr/local"
+
+ flavor:
+ images: "/var/lib/libvirt/images/ubuntu.qcow2"
+ ram: 4096
+ extra_specs:
+ hw:cpu_sockets: 1
+ hw:cpu_cores: 7
+ hw:cpu_threads: 1
+ user: "root"
+ password: "password"
+ servers:
+ vnf:
+ network_ports:
+ mgmt:
+ ip: '10.166.31.252'
+ cidr: '10.166.31.252/28'
+ xe0:
+ - uplink_0
+ xe1:
+ - downlink_0
+ networks:
+ uplink_0:
+ port_num: 0
+ phy_port: "0000:1a:00.0"
+ vpci: "0000:00:07.0"
+ cidr: '152.16.100.19/24'
+ gateway_ip: '152.16.100.20'
+ downlink_0:
+ port_num: 1
+ phy_port: "0000:18:00.0"
+ vpci: "0000:00:08.0"
+ cidr: '152.16.40.19/24'
+ gateway_ip: '152.16.100.20'
diff --git a/samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_7cores_2ports_128B_trex.yaml b/samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_7cores_2ports_128B_trex.yaml
new file mode 100644
index 000000000..fea64f5e7
--- /dev/null
+++ b/samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_7cores_2ports_128B_trex.yaml
@@ -0,0 +1,106 @@
+# Copyright (c) 2016-2017 Intel Corporation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+---
+schema: yardstick:task:0.1
+scenarios:
+- type: NSPerf
+ traffic_profile: ../../traffic_profiles/ipv4_throughput.yaml
+ topology: router-tg-topology.yaml
+ nodes:
+ tg__0: trafficgen_1.yardstick
+ vnf__0: vnf.yardstick
+# Required for enabling NFVi collection
+ cpt__0: ovs_dpdk.yardstick
+ options:
+ framesize:
+ uplink: {128B: 100}
+ downlink: {128B: 100}
+ flow:
+ src_ip:
+ - '152.16.100.26-152.16.100.105'
+ dst_ip:
+ - '152.16.40.26-152.16.40.105'
+ src_port:
+ - '1234-1238'
+ dst_port:
+ - '2001-2004'
+ count: 128000
+ traffic_type: 4
+ rfc2544:
+ allowed_drop_rate: 0.0001 - 0.1
+ tg__0:
+ queues_per_port: 7
+ vnf__0:
+ nfvi_enable: True
+ runner:
+ type: Iteration
+ iterations: 10
+ interval: 35
+contexts:
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/pod_ovs.yaml
+
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/pod_trex.yaml
+
+ - name: yardstick
+ type: StandaloneOvsDpdk
+ file: /etc/yardstick/nodes/standalone/pod_ovs.yaml
+ vm_deploy: True
+ ovs_properties:
+ version:
+ ovs: 2.7.0
+ dpdk: 16.11.1
+ pmd_threads: 4
+ ram:
+ socket_0: 2048
+ socket_1: 2048
+ queues: 4
+ vpath: "/usr/local"
+
+ flavor:
+ images: "/var/lib/libvirt/images/ubuntu.qcow2"
+ ram: 4096
+ extra_specs:
+ hw:cpu_sockets: 1
+ hw:cpu_cores: 7
+ hw:cpu_threads: 1
+ user: "root"
+ password: "password"
+ servers:
+ vnf:
+ network_ports:
+ mgmt:
+ ip: '10.166.31.252'
+ cidr: '10.166.31.252/28'
+ xe0:
+ - uplink_0
+ xe1:
+ - downlink_0
+ networks:
+ uplink_0:
+ port_num: 0
+ phy_port: "0000:1a:00.0"
+ vpci: "0000:00:07.0"
+ cidr: '152.16.100.19/24'
+ gateway_ip: '152.16.100.20'
+ downlink_0:
+ port_num: 1
+ phy_port: "0000:18:00.0"
+ vpci: "0000:00:08.0"
+ cidr: '152.16.40.19/24'
+ gateway_ip: '152.16.100.20'
diff --git a/samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_7cores_2ports_1518B_trex.yaml b/samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_7cores_2ports_1518B_trex.yaml
new file mode 100644
index 000000000..ac38751e9
--- /dev/null
+++ b/samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_7cores_2ports_1518B_trex.yaml
@@ -0,0 +1,106 @@
+# Copyright (c) 2016-2017 Intel Corporation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+---
+schema: yardstick:task:0.1
+scenarios:
+- type: NSPerf
+ traffic_profile: ../../traffic_profiles/ipv4_throughput.yaml
+ topology: router-tg-topology.yaml
+ nodes:
+ tg__0: trafficgen_1.yardstick
+ vnf__0: vnf.yardstick
+# Required for enabling NFVi collection
+ cpt__0: ovs_dpdk.yardstick
+ options:
+ framesize:
+ uplink: {1518B: 100}
+ downlink: {1518B: 100}
+ flow:
+ src_ip:
+ - '152.16.100.26-152.16.100.105'
+ dst_ip:
+ - '152.16.40.26-152.16.40.105'
+ src_port:
+ - '1234-1238'
+ dst_port:
+ - '2001-2004'
+ count: 128000
+ traffic_type: 4
+ rfc2544:
+ allowed_drop_rate: 0.0001 - 0.1
+ tg__0:
+ queues_per_port: 7
+ vnf__0:
+ nfvi_enable: True
+ runner:
+ type: Iteration
+ iterations: 10
+ interval: 35
+contexts:
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/pod_ovs.yaml
+
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/pod_trex.yaml
+
+ - name: yardstick
+ type: StandaloneOvsDpdk
+ file: /etc/yardstick/nodes/standalone/pod_ovs.yaml
+ vm_deploy: True
+ ovs_properties:
+ version:
+ ovs: 2.7.0
+ dpdk: 16.11.1
+ pmd_threads: 4
+ ram:
+ socket_0: 2048
+ socket_1: 2048
+ queues: 4
+ vpath: "/usr/local"
+
+ flavor:
+ images: "/var/lib/libvirt/images/ubuntu.qcow2"
+ ram: 4096
+ extra_specs:
+ hw:cpu_sockets: 1
+ hw:cpu_cores: 7
+ hw:cpu_threads: 1
+ user: "root"
+ password: "password"
+ servers:
+ vnf:
+ network_ports:
+ mgmt:
+ ip: '10.166.31.252'
+ cidr: '10.166.31.252/28'
+ xe0:
+ - uplink_0
+ xe1:
+ - downlink_0
+ networks:
+ uplink_0:
+ port_num: 0
+ phy_port: "0000:1a:00.0"
+ vpci: "0000:00:07.0"
+ cidr: '152.16.100.19/24'
+ gateway_ip: '152.16.100.20'
+ downlink_0:
+ port_num: 1
+ phy_port: "0000:18:00.0"
+ vpci: "0000:00:08.0"
+ cidr: '152.16.40.19/24'
+ gateway_ip: '152.16.40.20'
diff --git a/samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_7cores_2ports_256B_trex.yaml b/samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_7cores_2ports_256B_trex.yaml
new file mode 100644
index 000000000..145f69d89
--- /dev/null
+++ b/samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_7cores_2ports_256B_trex.yaml
@@ -0,0 +1,106 @@
+# Copyright (c) 2016-2017 Intel Corporation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+---
+schema: yardstick:task:0.1
+scenarios:
+- type: NSPerf
+ traffic_profile: ../../traffic_profiles/ipv4_throughput.yaml
+ topology: router-tg-topology.yaml
+ nodes:
+ tg__0: trafficgen_1.yardstick
+ vnf__0: vnf.yardstick
+# Required for enabling NFVi collection
+ cpt__0: ovs_dpdk.yardstick
+ options:
+ framesize:
+ uplink: {256B: 100}
+ downlink: {256B: 100}
+ flow:
+ src_ip:
+ - '152.16.100.26-152.16.100.105'
+ dst_ip:
+ - '152.16.40.26-152.16.40.105'
+ src_port:
+ - '1234-1238'
+ dst_port:
+ - '2001-2004'
+ count: 128000
+ traffic_type: 4
+ rfc2544:
+ allowed_drop_rate: 0.0001 - 0.1
+ tg__0:
+ queues_per_port: 7
+ vnf__0:
+ nfvi_enable: True
+ runner:
+ type: Iteration
+ iterations: 10
+ interval: 35
+contexts:
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/pod_ovs.yaml
+
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/pod_trex.yaml
+
+ - name: yardstick
+ type: StandaloneOvsDpdk
+ file: /etc/yardstick/nodes/standalone/pod_ovs.yaml
+ vm_deploy: True
+ ovs_properties:
+ version:
+ ovs: 2.7.0
+ dpdk: 16.11.1
+ pmd_threads: 4
+ ram:
+ socket_0: 2048
+ socket_1: 2048
+ queues: 4
+ vpath: "/usr/local"
+
+ flavor:
+ images: "/var/lib/libvirt/images/ubuntu.qcow2"
+ ram: 4096
+ extra_specs:
+ hw:cpu_sockets: 1
+ hw:cpu_cores: 7
+ hw:cpu_threads: 1
+ user: "root"
+ password: "password"
+ servers:
+ vnf:
+ network_ports:
+ mgmt:
+ ip: '10.166.31.252'
+ cidr: '10.166.31.252/28'
+ xe0:
+ - uplink_0
+ xe1:
+ - downlink_0
+ networks:
+ uplink_0:
+ port_num: 0
+ phy_port: "0000:1a:00.0"
+ vpci: "0000:00:07.0"
+ cidr: '152.16.100.19/24'
+ gateway_ip: '152.16.100.20'
+ downlink_0:
+ port_num: 1
+ phy_port: "0000:18:00.0"
+ vpci: "0000:00:08.0"
+ cidr: '152.16.40.19/24'
+ gateway_ip: '152.16.100.20'
diff --git a/samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_7cores_2ports_512B_trex.yaml b/samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_7cores_2ports_512B_trex.yaml
new file mode 100644
index 000000000..6417d9342
--- /dev/null
+++ b/samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_7cores_2ports_512B_trex.yaml
@@ -0,0 +1,106 @@
+# Copyright (c) 2016-2017 Intel Corporation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+---
+schema: yardstick:task:0.1
+scenarios:
+- type: NSPerf
+ traffic_profile: ../../traffic_profiles/ipv4_throughput.yaml
+ topology: router-tg-topology.yaml
+ nodes:
+ tg__0: trafficgen_1.yardstick
+ vnf__0: vnf.yardstick
+# Required for enabling NFVi collection
+ cpt__0: ovs_dpdk.yardstick
+ options:
+ framesize:
+ uplink: {512B: 100}
+ downlink: {512B: 100}
+ flow:
+ src_ip:
+ - '152.16.100.26-152.16.100.105'
+ dst_ip:
+ - '152.16.40.26-152.16.40.105'
+ src_port:
+ - '1234-1238'
+ dst_port:
+ - '2001-2004'
+ count: 128000
+ traffic_type: 4
+ rfc2544:
+ allowed_drop_rate: 0.0001 - 0.1
+ tg__0:
+ queues_per_port: 7
+ vnf__0:
+ nfvi_enable: True
+ runner:
+ type: Iteration
+ iterations: 10
+ interval: 35
+contexts:
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/pod_ovs.yaml
+
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/pod_trex.yaml
+
+ - name: yardstick
+ type: StandaloneOvsDpdk
+ file: /etc/yardstick/nodes/standalone/pod_ovs.yaml
+ vm_deploy: True
+ ovs_properties:
+ version:
+ ovs: 2.7.0
+ dpdk: 16.11.1
+ pmd_threads: 4
+ ram:
+ socket_0: 2048
+ socket_1: 2048
+ queues: 4
+ vpath: "/usr/local"
+
+ flavor:
+ images: "/var/lib/libvirt/images/ubuntu.qcow2"
+ ram: 4096
+ extra_specs:
+ hw:cpu_sockets: 1
+ hw:cpu_cores: 7
+ hw:cpu_threads: 1
+ user: "root"
+ password: "password"
+ servers:
+ vnf:
+ network_ports:
+ mgmt:
+ ip: '10.166.31.252'
+ cidr: '10.166.31.252/28'
+ xe0:
+ - uplink_0
+ xe1:
+ - downlink_0
+ networks:
+ uplink_0:
+ port_num: 0
+ phy_port: "0000:1a:00.0"
+ vpci: "0000:00:07.0"
+ cidr: '152.16.100.19/24'
+ gateway_ip: '152.16.100.20'
+ downlink_0:
+ port_num: 1
+ phy_port: "0000:18:00.0"
+ vpci: "0000:00:08.0"
+ cidr: '152.16.40.19/24'
+ gateway_ip: '152.16.100.20'
diff --git a/samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_7cores_2ports_64B_trex.yaml b/samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_7cores_2ports_64B_trex.yaml
new file mode 100644
index 000000000..ae46b865f
--- /dev/null
+++ b/samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_7cores_2ports_64B_trex.yaml
@@ -0,0 +1,106 @@
+# Copyright (c) 2016-2017 Intel Corporation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+---
+schema: yardstick:task:0.1
+scenarios:
+- type: NSPerf
+ traffic_profile: ../../traffic_profiles/ipv4_throughput.yaml
+ topology: router-tg-topology.yaml
+ nodes:
+ tg__0: trafficgen_1.yardstick
+ vnf__0: vnf.yardstick
+# Required for enabling NFVi collection
+ cpt__0: ovs_dpdk.yardstick
+ options:
+ framesize:
+ uplink: {64B: 100}
+ downlink: {64B: 100}
+ flow:
+ src_ip:
+ - '152.16.100.26-152.16.100.105'
+ dst_ip:
+ - '152.16.40.26-152.16.40.105'
+ src_port:
+ - '1234-1238'
+ dst_port:
+ - '2001-2004'
+ count: 128000
+ traffic_type: 4
+ rfc2544:
+ allowed_drop_rate: 0.0001 - 0.1
+ tg__0:
+ queues_per_port: 7
+ vnf__0:
+ nfvi_enable: True
+ runner:
+ type: Iteration
+ iterations: 10
+ interval: 35
+contexts:
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/pod_ovs.yaml
+
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/pod_trex.yaml
+
+ - name: yardstick
+ type: StandaloneOvsDpdk
+ file: /etc/yardstick/nodes/standalone/pod_ovs.yaml
+ vm_deploy: True
+ ovs_properties:
+ version:
+ ovs: 2.7.0
+ dpdk: 16.11.1
+ pmd_threads: 4
+ ram:
+ socket_0: 2048
+ socket_1: 2048
+ queues: 4
+ vpath: "/usr/local"
+
+ flavor:
+ images: "/var/lib/libvirt/images/ubuntu.qcow2"
+ ram: 4096
+ extra_specs:
+ hw:cpu_sockets: 1
+ hw:cpu_cores: 7
+ hw:cpu_threads: 1
+ user: "root"
+ password: "password"
+ servers:
+ vnf:
+ network_ports:
+ mgmt:
+ ip: '10.166.31.252'
+ cidr: '10.166.31.252/28'
+ xe0:
+ - uplink_0
+ xe1:
+ - downlink_0
+ networks:
+ uplink_0:
+ port_num: 0
+ phy_port: "0000:1a:00.0"
+ vpci: "0000:00:07.0"
+ cidr: '152.16.100.19/24'
+ gateway_ip: '152.16.100.20'
+ downlink_0:
+ port_num: 1
+ phy_port: "0000:18:00.0"
+ vpci: "0000:00:08.0"
+ cidr: '152.16.40.19/24'
+ gateway_ip: '152.16.100.20'
diff --git a/samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_9cores_4ports_1024B_trex.yaml b/samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_9cores_4ports_1024B_trex.yaml
new file mode 100644
index 000000000..d947e254f
--- /dev/null
+++ b/samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_9cores_4ports_1024B_trex.yaml
@@ -0,0 +1,141 @@
+# Copyright (c) 2016-2017 Intel Corporation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+---
+schema: yardstick:task:0.1
+scenarios:
+- type: NSPerf
+ traffic_profile: ../../traffic_profiles/ipv4_throughput-2.yaml
+ topology: router-tg-topology-4port.yaml
+ nodes:
+ tg__0: trafficgen_1.yardstick
+ vnf__0: vnf.yardstick
+# Required for enabling NFVi collection
+ cpt__0: ovs_dpdk.yardstick
+ options:
+ framesize:
+ uplink: {1024B: 100}
+ downlink: {1024B: 100}
+ flow:
+ src_ip:
+ - '152.16.100.26-152.16.100.105'
+ - '152.16.101.26-152.16.101.105'
+ dst_ip:
+ - '152.16.40.26-152.16.40.105'
+ - '152.16.41.26-152.16.41.105'
+ src_port:
+ - '1234-1238'
+ dst_port:
+ - '2001-2004'
+ count: 128000
+ traffic_type: 4
+ rfc2544:
+ allowed_drop_rate: 0.0001 - 0.1
+ tg__0:
+ queues_per_port: 8
+ vnf__0:
+ nfvi_enable: True
+ runner:
+ type: Iteration
+ iterations: 10
+ interval: 35
+contexts:
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/pod_ovs.yaml
+
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/pod_trex_4ports.yaml
+
+ - name: yardstick
+ type: StandaloneOvsDpdk
+ file: /etc/yardstick/nodes/standalone/pod_ovs.yaml
+ vm_deploy: True
+ ovs_properties:
+ version:
+ ovs: 2.7.0
+ dpdk: 16.11.1
+ pmd_threads: 8
+ # override pmd_threads to use NUMA 1 vcpus
+ pmd_cpu_mask: "0x3FC00000"
+ lcore_mask: "0x200000"
+ ram:
+ socket_0: 0
+ socket_1: 4096
+ queues: 2
+ vpath: "/usr/local"
+
+ flavor:
+ images: "/var/lib/libvirt/images/ubuntu_9cores.qcow2"
+ ram: 4096
+ hw_socket: 1
+ extra_specs:
+ hw:cpu_sockets: 1
+ hw:cpu_cores: 9
+ hw:cpu_threads: 1
+ cputune: "<cputune>
+ <vcpupin vcpu='0' cpuset='31'/>
+ <vcpupin vcpu='1' cpuset='32'/>
+ <vcpupin vcpu='2' cpuset='33'/>
+ <vcpupin vcpu='3' cpuset='34'/>
+ <vcpupin vcpu='4' cpuset='35'/>
+ <vcpupin vcpu='5' cpuset='36'/>
+ <vcpupin vcpu='6' cpuset='37'/>
+ <vcpupin vcpu='7' cpuset='38'/>
+ <vcpupin vcpu='8' cpuset='39'/>
+ <emulatorpin cpuset='31-39'/>
+ </cputune>"
+
+ user: "root"
+ password: "password"
+ servers:
+ vnf:
+ network_ports:
+ mgmt:
+ ip: '10.166.31.252'
+ cidr: '10.166.31.252/28'
+ xe0:
+ - uplink_0
+ xe1:
+ - downlink_0
+ xe2:
+ - uplink_1
+ xe3:
+ - downlink_1
+ networks:
+ uplink_0:
+ port_num: 0
+ phy_port: "0000:88:00.0"
+ vpci: "0000:00:07.0"
+ cidr: '152.16.100.19/24'
+ gateway_ip: '152.16.100.20'
+ downlink_0:
+ port_num: 1
+ phy_port: "0000:d8:00.0"
+ vpci: "0000:00:08.0"
+ cidr: '152.16.40.19/24'
+ gateway_ip: '152.16.40.20'
+ uplink_1:
+ port_num: 2
+ phy_port: "0000:81:00.0"
+ vpci: "0000:00:09.0"
+ cidr: '152.16.101.19/24'
+ gateway_ip: '152.16.101.20'
+ downlink_1:
+ port_num: 3
+ phy_port: "0000:86:00.0"
+ vpci: "0000:00:0a.0"
+ cidr: '152.16.41.19/24'
+ gateway_ip: '152.16.41.20'
diff --git a/samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_9cores_4ports_1280B_trex.yaml b/samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_9cores_4ports_1280B_trex.yaml
new file mode 100644
index 000000000..0467436ba
--- /dev/null
+++ b/samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_9cores_4ports_1280B_trex.yaml
@@ -0,0 +1,141 @@
+# Copyright (c) 2016-2017 Intel Corporation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+---
+schema: yardstick:task:0.1
+scenarios:
+- type: NSPerf
+ traffic_profile: ../../traffic_profiles/ipv4_throughput-2.yaml
+ topology: router-tg-topology-4port.yaml
+ nodes:
+ tg__0: trafficgen_1.yardstick
+ vnf__0: vnf.yardstick
+# Required for enabling NFVi collection
+ cpt__0: ovs_dpdk.yardstick
+ options:
+ framesize:
+ uplink: {1280B: 100}
+ downlink: {1280B: 100}
+ flow:
+ src_ip:
+ - '152.16.100.26-152.16.100.105'
+ - '152.16.101.26-152.16.101.105'
+ dst_ip:
+ - '152.16.40.26-152.16.40.105'
+ - '152.16.41.26-152.16.41.105'
+ src_port:
+ - '1234-1238'
+ dst_port:
+ - '2001-2004'
+ count: 128000
+ traffic_type: 4
+ rfc2544:
+ allowed_drop_rate: 0.0001 - 0.1
+ tg__0:
+ queues_per_port: 8
+ vnf__0:
+ nfvi_enable: True
+ runner:
+ type: Iteration
+ iterations: 10
+ interval: 35
+contexts:
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/pod_ovs.yaml
+
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/pod_trex_4ports.yaml
+
+ - name: yardstick
+ type: StandaloneOvsDpdk
+ file: /etc/yardstick/nodes/standalone/pod_ovs.yaml
+ vm_deploy: True
+ ovs_properties:
+ version:
+ ovs: 2.7.0
+ dpdk: 16.11.1
+ pmd_threads: 8
+ # override pmd_threads to use NUMA 1 vcpus
+ pmd_cpu_mask: "0x3FC00000"
+ lcore_mask: "0x200000"
+ ram:
+ socket_0: 0
+ socket_1: 4096
+ queues: 2
+ vpath: "/usr/local"
+
+ flavor:
+ images: "/var/lib/libvirt/images/ubuntu_9cores.qcow2"
+ ram: 4096
+ hw_socket: 1
+ extra_specs:
+ hw:cpu_sockets: 1
+ hw:cpu_cores: 9
+ hw:cpu_threads: 1
+ cputune: "<cputune>
+ <vcpupin vcpu='0' cpuset='31'/>
+ <vcpupin vcpu='1' cpuset='32'/>
+ <vcpupin vcpu='2' cpuset='33'/>
+ <vcpupin vcpu='3' cpuset='34'/>
+ <vcpupin vcpu='4' cpuset='35'/>
+ <vcpupin vcpu='5' cpuset='36'/>
+ <vcpupin vcpu='6' cpuset='37'/>
+ <vcpupin vcpu='7' cpuset='38'/>
+ <vcpupin vcpu='8' cpuset='39'/>
+ <emulatorpin cpuset='31-39'/>
+ </cputune>"
+
+ user: "root"
+ password: "password"
+ servers:
+ vnf:
+ network_ports:
+ mgmt:
+ ip: '10.166.31.252'
+ cidr: '10.166.31.252/28'
+ xe0:
+ - uplink_0
+ xe1:
+ - downlink_0
+ xe2:
+ - uplink_1
+ xe3:
+ - downlink_1
+ networks:
+ uplink_0:
+ port_num: 0
+ phy_port: "0000:88:00.0"
+ vpci: "0000:00:07.0"
+ cidr: '152.16.100.19/24'
+ #gateway_ip: '152.16.100.20'
+ downlink_0:
+ port_num: 1
+ phy_port: "0000:d8:00.0"
+ vpci: "0000:00:08.0"
+ cidr: '152.16.40.19/24'
+ #gateway_ip: '152.16.40.20'
+ uplink_1:
+ port_num: 2
+ phy_port: "0000:81:00.0"
+ vpci: "0000:00:09.0"
+ cidr: '152.16.101.19/24'
+ gateway_ip: '152.16.101.20'
+ downlink_1:
+ port_num: 3
+ phy_port: "0000:86:00.0"
+ vpci: "0000:00:0a.0"
+ cidr: '152.16.41.19/24'
+ gateway_ip: '152.16.41.20'
diff --git a/samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_9cores_4ports_128B_trex.yaml b/samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_9cores_4ports_128B_trex.yaml
new file mode 100644
index 000000000..30119c76d
--- /dev/null
+++ b/samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_9cores_4ports_128B_trex.yaml
@@ -0,0 +1,141 @@
+# Copyright (c) 2016-2017 Intel Corporation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+---
+schema: yardstick:task:0.1
+scenarios:
+- type: NSPerf
+ traffic_profile: ../../traffic_profiles/ipv4_throughput-2.yaml
+ topology: router-tg-topology-4port.yaml
+ nodes:
+ tg__0: trafficgen_1.yardstick
+ vnf__0: vnf.yardstick
+# Required for enabling NFVi collection
+ cpt__0: ovs_dpdk.yardstick
+ options:
+ framesize:
+ uplink: {128B: 100}
+ downlink: {128B: 100}
+ flow:
+ src_ip:
+ - '152.16.100.26-152.16.100.105'
+ - '152.16.101.26-152.16.101.105'
+ dst_ip:
+ - '152.16.40.26-152.16.40.105'
+ - '152.16.41.26-152.16.41.105'
+ src_port:
+ - '1234-1238'
+ dst_port:
+ - '2001-2004'
+ count: 128000
+ traffic_type: 4
+ rfc2544:
+ allowed_drop_rate: 0.0001 - 0.1
+ tg__0:
+ queues_per_port: 8
+ vnf__0:
+ nfvi_enable: True
+ runner:
+ type: Iteration
+ iterations: 10
+ interval: 35
+contexts:
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/pod_ovs.yaml
+
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/pod_trex_4ports.yaml
+
+ - name: yardstick
+ type: StandaloneOvsDpdk
+ file: /etc/yardstick/nodes/standalone/pod_ovs.yaml
+ vm_deploy: True
+ ovs_properties:
+ version:
+ ovs: 2.7.0
+ dpdk: 16.11.1
+ pmd_threads: 8
+ # override pmd_threads to use NUMA 1 vcpus
+ pmd_cpu_mask: "0x3FC00000"
+ lcore_mask: "0x200000"
+ ram:
+ socket_0: 0
+ socket_1: 4096
+ queues: 2
+ vpath: "/usr/local"
+
+ flavor:
+ images: "/var/lib/libvirt/images/ubuntu_9cores.qcow2"
+ ram: 4096
+ hw_socket: 1
+ extra_specs:
+ hw:cpu_sockets: 1
+ hw:cpu_cores: 9
+ hw:cpu_threads: 1
+ cputune: "<cputune>
+ <vcpupin vcpu='0' cpuset='31'/>
+ <vcpupin vcpu='1' cpuset='32'/>
+ <vcpupin vcpu='2' cpuset='33'/>
+ <vcpupin vcpu='3' cpuset='34'/>
+ <vcpupin vcpu='4' cpuset='35'/>
+ <vcpupin vcpu='5' cpuset='36'/>
+ <vcpupin vcpu='6' cpuset='37'/>
+ <vcpupin vcpu='7' cpuset='38'/>
+ <vcpupin vcpu='8' cpuset='39'/>
+ <emulatorpin cpuset='31-39'/>
+ </cputune>"
+
+ user: "root"
+ password: "password"
+ servers:
+ vnf:
+ network_ports:
+ mgmt:
+ ip: '10.166.31.252'
+ cidr: '10.166.31.252/28'
+ xe0:
+ - uplink_0
+ xe1:
+ - downlink_0
+ xe2:
+ - uplink_1
+ xe3:
+ - downlink_1
+ networks:
+ uplink_0:
+ port_num: 0
+ phy_port: "0000:88:00.0"
+ vpci: "0000:00:07.0"
+ cidr: '152.16.100.19/24'
+ gateway_ip: '152.16.100.20'
+ downlink_0:
+ port_num: 1
+ phy_port: "0000:d8:00.0"
+ vpci: "0000:00:08.0"
+ cidr: '152.16.40.19/24'
+ gateway_ip: '152.16.40.20'
+ uplink_1:
+ port_num: 2
+ phy_port: "0000:81:00.0"
+ vpci: "0000:00:09.0"
+ cidr: '152.16.101.19/24'
+ gateway_ip: '152.16.101.20'
+ downlink_1:
+ port_num: 3
+ phy_port: "0000:86:00.0"
+ vpci: "0000:00:0a.0"
+ cidr: '152.16.41.19/24'
+ gateway_ip: '152.16.41.20'
diff --git a/samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_9cores_4ports_1518B_trex.yaml b/samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_9cores_4ports_1518B_trex.yaml
new file mode 100644
index 000000000..ac52c29c5
--- /dev/null
+++ b/samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_9cores_4ports_1518B_trex.yaml
@@ -0,0 +1,142 @@
+# Copyright (c) 2016-2017 Intel Corporation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+---
+schema: yardstick:task:0.1
+scenarios:
+- type: NSPerf
+ traffic_profile: ../../traffic_profiles/ipv4_throughput-2.yaml
+ topology: router-tg-topology-4port.yaml
+ nodes:
+ tg__0: trafficgen_1.yardstick
+ vnf__0: vnf.yardstick
+# Required for enabling NFVi collection
+ cpt__0: ovs_dpdk.yardstick
+ options:
+ framesize:
+ uplink: {1518B: 100}
+ downlink: {1518B: 100}
+ flow:
+ src_ip:
+ - '152.16.100.26-152.16.100.105'
+ - '152.16.101.26-152.16.101.105'
+ dst_ip:
+ - '152.16.40.26-152.16.40.105'
+ - '152.16.41.26-152.16.41.105'
+ src_port:
+ - '1234-1238'
+ dst_port:
+ - '2001-2004'
+ count: 128000
+ traffic_type: 4
+ rfc2544:
+ allowed_drop_rate: 0.0001 - 0.1
+ tg__0:
+ queues_per_port: 8
+ vnf__0:
+ nfvi_enable: True
+ runner:
+ type: Iteration
+ iterations: 5
+ interval: 35
+contexts:
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/pod_ovs.yaml
+
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/pod_trex_4ports.yaml
+
+ - name: yardstick
+ type: StandaloneOvsDpdk
+ file: /etc/yardstick/nodes/standalone/pod_ovs.yaml
+ vm_deploy: True
+ ovs_properties:
+ version:
+ ovs: 2.7.0
+ dpdk: 16.11.1
+ pmd_threads: 8
+ # override pmd_threads to use NUMA 1 vcpus
+ # 8 cores (CPU 22-29) in NUMA 1 of a 2 socket 20 cpus per socket
+ pmd_cpu_mask: "0x3FC00000"
+ lcore_mask: "0x200000"
+ ram:
+ socket_0: 0
+ socket_1: 4096
+ queues: 2
+ vpath: "/usr/local"
+
+ flavor:
+ images: "/var/lib/libvirt/images/ubuntu_9cores.qcow2"
+ ram: 4096
+ hw_socket: 1
+ extra_specs:
+ hw:cpu_sockets: 1
+ hw:cpu_cores: 9
+ hw:cpu_threads: 1
+ cputune: "<cputune>
+ <vcpupin vcpu='0' cpuset='31'/>
+ <vcpupin vcpu='1' cpuset='32'/>
+ <vcpupin vcpu='2' cpuset='33'/>
+ <vcpupin vcpu='3' cpuset='34'/>
+ <vcpupin vcpu='4' cpuset='35'/>
+ <vcpupin vcpu='5' cpuset='36'/>
+ <vcpupin vcpu='6' cpuset='37'/>
+ <vcpupin vcpu='7' cpuset='38'/>
+ <vcpupin vcpu='8' cpuset='39'/>
+ <emulatorpin cpuset='31-39'/>
+ </cputune>"
+
+ user: "root"
+ password: "password"
+ servers:
+ vnf:
+ network_ports:
+ mgmt:
+ ip: '10.166.31.252'
+ cidr: '10.166.31.252/28'
+ xe0:
+ - uplink_0
+ xe1:
+ - downlink_0
+ xe2:
+ - uplink_1
+ xe3:
+ - downlink_1
+ networks:
+ uplink_0:
+ port_num: 0
+ phy_port: "0000:88:00.0"
+ vpci: "0000:00:07.0"
+ cidr: '152.16.100.19/24'
+ gateway_ip: '152.16.100.20'
+ downlink_0:
+ port_num: 1
+ phy_port: "0000:d8:00.0"
+ vpci: "0000:00:08.0"
+ cidr: '152.16.40.19/24'
+ gateway_ip: '152.16.40.20'
+ uplink_1:
+ port_num: 2
+ phy_port: "0000:81:00.0"
+ vpci: "0000:00:09.0"
+ cidr: '152.16.101.19/24'
+ gateway_ip: '152.16.101.20'
+ downlink_1:
+ port_num: 3
+ phy_port: "0000:86:00.0"
+ vpci: "0000:00:0a.0"
+ cidr: '152.16.41.19/24'
+ gateway_ip: '152.16.41.20'
diff --git a/samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_9cores_4ports_256B_trex.yaml b/samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_9cores_4ports_256B_trex.yaml
new file mode 100644
index 000000000..2767851a6
--- /dev/null
+++ b/samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_9cores_4ports_256B_trex.yaml
@@ -0,0 +1,141 @@
+# Copyright (c) 2016-2017 Intel Corporation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+---
+schema: yardstick:task:0.1
+scenarios:
+- type: NSPerf
+ traffic_profile: ../../traffic_profiles/ipv4_throughput-2.yaml
+ topology: router-tg-topology-4port.yaml
+ nodes:
+ tg__0: trafficgen_1.yardstick
+ vnf__0: vnf.yardstick
+# Required for enabling NFVi collection
+ cpt__0: ovs_dpdk.yardstick
+ options:
+ framesize:
+ uplink: {256B: 100}
+ downlink: {256B: 100}
+ flow:
+ src_ip:
+ - '152.16.100.26-152.16.100.105'
+ - '152.16.101.26-152.16.101.105'
+ dst_ip:
+ - '152.16.40.26-152.16.40.105'
+ - '152.16.41.26-152.16.41.105'
+ src_port:
+ - '1234-1238'
+ dst_port:
+ - '2001-2004'
+ count: 128000
+ traffic_type: 4
+ rfc2544:
+ allowed_drop_rate: 0.0001 - 0.1
+ tg__0:
+ queues_per_port: 8
+ vnf__0:
+ nfvi_enable: True
+ runner:
+ type: Iteration
+ iterations: 10
+ interval: 35
+contexts:
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/pod_ovs.yaml
+
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/pod_trex_4ports.yaml
+
+ - name: yardstick
+ type: StandaloneOvsDpdk
+ file: /etc/yardstick/nodes/standalone/pod_ovs.yaml
+ vm_deploy: True
+ ovs_properties:
+ version:
+ ovs: 2.7.0
+ dpdk: 16.11.1
+ pmd_threads: 8
+ # override pmd_threads to use NUMA 1 vcpus
+ pmd_cpu_mask: "0x3FC00000"
+ lcore_mask: "0x200000"
+ ram:
+ socket_0: 0
+ socket_1: 4096
+ queues: 2
+ vpath: "/usr/local"
+
+ flavor:
+ images: "/var/lib/libvirt/images/ubuntu_9cores.qcow2"
+ ram: 4096
+ hw_socket: 1
+ extra_specs:
+ hw:cpu_sockets: 1
+ hw:cpu_cores: 9
+ hw:cpu_threads: 1
+ cputune: "<cputune>
+ <vcpupin vcpu='0' cpuset='31'/>
+ <vcpupin vcpu='1' cpuset='32'/>
+ <vcpupin vcpu='2' cpuset='33'/>
+ <vcpupin vcpu='3' cpuset='34'/>
+ <vcpupin vcpu='4' cpuset='35'/>
+ <vcpupin vcpu='5' cpuset='36'/>
+ <vcpupin vcpu='6' cpuset='37'/>
+ <vcpupin vcpu='7' cpuset='38'/>
+ <vcpupin vcpu='8' cpuset='39'/>
+ <emulatorpin cpuset='31-39'/>
+ </cputune>"
+
+ user: "root"
+ password: "password"
+ servers:
+ vnf:
+ network_ports:
+ mgmt:
+ ip: '10.166.31.252'
+ cidr: '10.166.31.252/28'
+ xe0:
+ - uplink_0
+ xe1:
+ - downlink_0
+ xe2:
+ - uplink_1
+ xe3:
+ - downlink_1
+ networks:
+ uplink_0:
+ port_num: 0
+ phy_port: "0000:88:00.0"
+ vpci: "0000:00:07.0"
+ cidr: '152.16.100.19/24'
+ gateway_ip: '152.16.100.20'
+ downlink_0:
+ port_num: 1
+ phy_port: "0000:d8:00.0"
+ vpci: "0000:00:08.0"
+ cidr: '152.16.40.19/24'
+ gateway_ip: '152.16.40.20'
+ uplink_1:
+ port_num: 2
+ phy_port: "0000:81:00.0"
+ vpci: "0000:00:09.0"
+ cidr: '152.16.101.19/24'
+ gateway_ip: '152.16.101.20'
+ downlink_1:
+ port_num: 3
+ phy_port: "0000:86:00.0"
+ vpci: "0000:00:0a.0"
+ cidr: '152.16.41.19/24'
+ gateway_ip: '152.16.41.20'
diff --git a/samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_9cores_4ports_512B_trex.yaml b/samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_9cores_4ports_512B_trex.yaml
new file mode 100644
index 000000000..006718fa2
--- /dev/null
+++ b/samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_9cores_4ports_512B_trex.yaml
@@ -0,0 +1,141 @@
+# Copyright (c) 2016-2017 Intel Corporation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+---
+schema: yardstick:task:0.1
+scenarios:
+- type: NSPerf
+ traffic_profile: ../../traffic_profiles/ipv4_throughput-2.yaml
+ topology: router-tg-topology-4port.yaml
+ nodes:
+ tg__0: trafficgen_1.yardstick
+ vnf__0: vnf.yardstick
+# Required for enabling NFVi collection
+ cpt__0: ovs_dpdk.yardstick
+ options:
+ framesize:
+ uplink: {512B: 100}
+ downlink: {512B: 100}
+ flow:
+ src_ip:
+ - '152.16.100.26-152.16.100.105'
+ - '152.16.101.26-152.16.101.105'
+ dst_ip:
+ - '152.16.40.26-152.16.40.105'
+ - '152.16.41.26-152.16.41.105'
+ src_port:
+ - '1234-1238'
+ dst_port:
+ - '2001-2004'
+ count: 128000
+ traffic_type: 4
+ rfc2544:
+ allowed_drop_rate: 0.0001 - 0.1
+ tg__0:
+ queues_per_port: 8
+ vnf__0:
+ nfvi_enable: True
+ runner:
+ type: Iteration
+ iterations: 10
+ interval: 35
+contexts:
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/pod_ovs.yaml
+
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/pod_trex_4ports.yaml
+
+ - name: yardstick
+ type: StandaloneOvsDpdk
+ file: /etc/yardstick/nodes/standalone/pod_ovs.yaml
+ vm_deploy: True
+ ovs_properties:
+ version:
+ ovs: 2.7.0
+ dpdk: 16.11.1
+ pmd_threads: 8
+ # override pmd_threads to use NUMA 1 vcpus
+ pmd_cpu_mask: "0x3FC00000"
+ lcore_mask: "0x200000"
+ ram:
+ socket_0: 0
+ socket_1: 4096
+ queues: 2
+ vpath: "/usr/local"
+
+ flavor:
+ images: "/var/lib/libvirt/images/ubuntu_9cores.qcow2"
+ ram: 4096
+ hw_socket: 1
+ extra_specs:
+ hw:cpu_sockets: 1
+ hw:cpu_cores: 9
+ hw:cpu_threads: 1
+ cputune: "<cputune>
+ <vcpupin vcpu='0' cpuset='31'/>
+ <vcpupin vcpu='1' cpuset='32'/>
+ <vcpupin vcpu='2' cpuset='33'/>
+ <vcpupin vcpu='3' cpuset='34'/>
+ <vcpupin vcpu='4' cpuset='35'/>
+ <vcpupin vcpu='5' cpuset='36'/>
+ <vcpupin vcpu='6' cpuset='37'/>
+ <vcpupin vcpu='7' cpuset='38'/>
+ <vcpupin vcpu='8' cpuset='39'/>
+ <emulatorpin cpuset='31-39'/>
+ </cputune>"
+
+ user: "root"
+ password: "password"
+ servers:
+ vnf:
+ network_ports:
+ mgmt:
+ ip: '10.166.31.252'
+ cidr: '10.166.31.252/28'
+ xe0:
+ - uplink_0
+ xe1:
+ - downlink_0
+ xe2:
+ - uplink_1
+ xe3:
+ - downlink_1
+ networks:
+ uplink_0:
+ port_num: 0
+ phy_port: "0000:88:00.0"
+ vpci: "0000:00:07.0"
+ cidr: '152.16.100.19/24'
+ gateway_ip: '152.16.100.20'
+ downlink_0:
+ port_num: 1
+ phy_port: "0000:d8:00.0"
+ vpci: "0000:00:08.0"
+ cidr: '152.16.40.19/24'
+ gateway_ip: '152.16.40.20'
+ uplink_1:
+ port_num: 2
+ phy_port: "0000:81:00.0"
+ vpci: "0000:00:09.0"
+ cidr: '152.16.101.19/24'
+ gateway_ip: '152.16.101.20'
+ downlink_1:
+ port_num: 3
+ phy_port: "0000:86:00.0"
+ vpci: "0000:00:0a.0"
+ cidr: '152.16.41.19/24'
+ gateway_ip: '152.16.41.20'
diff --git a/samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_9cores_4ports_64B_trex.yaml b/samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_9cores_4ports_64B_trex.yaml
new file mode 100644
index 000000000..601d30891
--- /dev/null
+++ b/samples/vnf_samples/nsut/router/tc_ovs_rfc2544_ipv4_128Kflows_9cores_4ports_64B_trex.yaml
@@ -0,0 +1,140 @@
+# Copyright (c) 2016-2017 Intel Corporation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+---
+schema: yardstick:task:0.1
+scenarios:
+- type: NSPerf
+ traffic_profile: ../../traffic_profiles/ipv4_throughput-2.yaml
+ topology: router-tg-topology-4port.yaml
+ nodes:
+ tg__0: trafficgen_1.yardstick
+ vnf__0: vnf.yardstick
+# Required for enabling NFVi collection
+ cpt__0: ovs_dpdk.yardstick
+ options:
+ framesize:
+ uplink: {64B: 100}
+ downlink: {64B: 100}
+ flow:
+ src_ip:
+ - '152.16.100.26-152.16.100.105'
+ - '152.16.101.26-152.16.101.105'
+ dst_ip:
+ - '152.16.40.26-152.16.40.105'
+ - '152.16.41.26-152.16.41.105'
+ src_port:
+ - '1234-1238'
+ dst_port:
+ - '2001-2004'
+ count: 128000
+ traffic_type: 4
+ rfc2544:
+ allowed_drop_rate: 0.0001 - 0.1
+ tg__0:
+ queues_per_port: 8
+ vnf__0:
+ nfvi_enable: True
+ runner:
+ type: Iteration
+ iterations: 10
+ interval: 35
+contexts:
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/pod_ovs.yaml
+
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/pod_trex_4ports.yaml
+
+ - name: yardstick
+ type: StandaloneOvsDpdk
+ file: /etc/yardstick/nodes/standalone/pod_ovs.yaml
+ vm_deploy: True
+ ovs_properties:
+ version:
+ ovs: 2.7.0
+ dpdk: 16.11.1
+ pmd_threads: 8
+ # override pmd_threads to use NUMA 1 vcpus
+ pmd_cpu_mask: "0x3FC00000"
+ lcore_mask: "0x200000"
+ ram:
+ socket_0: 0
+ socket_1: 4096
+ queues: 2
+ vpath: "/usr/local"
+
+ flavor:
+ images: "/var/lib/libvirt/images/ubuntu_9cores.qcow2"
+ ram: 4096
+ hw_socket: 1
+ extra_specs:
+ hw:cpu_sockets: 1
+ hw:cpu_cores: 9
+ hw:cpu_threads: 1
+ cputune: "<cputune>
+ <vcpupin vcpu='0' cpuset='31'/>
+ <vcpupin vcpu='1' cpuset='32'/>
+ <vcpupin vcpu='2' cpuset='33'/>
+ <vcpupin vcpu='3' cpuset='34'/>
+ <vcpupin vcpu='4' cpuset='35'/>
+ <vcpupin vcpu='5' cpuset='36'/>
+ <vcpupin vcpu='6' cpuset='37'/>
+ <vcpupin vcpu='7' cpuset='38'/>
+ <vcpupin vcpu='8' cpuset='39'/>
+ <emulatorpin cpuset='31-39'/>
+ </cputune>"
+ user: "root"
+ password: "password"
+ servers:
+ vnf:
+ network_ports:
+ mgmt:
+ ip: '10.166.31.252'
+ cidr: '10.166.31.252/28'
+ xe0:
+ - uplink_0
+ xe1:
+ - downlink_0
+ xe2:
+ - uplink_1
+ xe3:
+ - downlink_1
+ networks:
+ uplink_0:
+ port_num: 0
+ phy_port: "0000:88:00.0"
+ vpci: "0000:00:07.0"
+ cidr: '152.16.100.19/24'
+ gateway_ip: '152.16.100.20'
+ downlink_0:
+ port_num: 1
+ phy_port: "0000:d8:00.0"
+ vpci: "0000:00:08.0"
+ cidr: '152.16.40.19/24'
+ gateway_ip: '152.16.40.20'
+ uplink_1:
+ port_num: 2
+ phy_port: "0000:81:00.0"
+ vpci: "0000:00:09.0"
+ cidr: '152.16.101.19/24'
+ gateway_ip: '152.16.101.20'
+ downlink_1:
+ port_num: 3
+ phy_port: "0000:86:00.0"
+ vpci: "0000:00:0a.0"
+ cidr: '152.16.41.19/24'
+ gateway_ip: '152.16.41.20'
diff --git a/samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_13cores_4ports_1024B_trex.yaml b/samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_13cores_4ports_1024B_trex.yaml
new file mode 100644
index 000000000..18e25e25d
--- /dev/null
+++ b/samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_13cores_4ports_1024B_trex.yaml
@@ -0,0 +1,125 @@
+# Copyright (c) 2016-2017 Intel Corporation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+---
+schema: yardstick:task:0.1
+scenarios:
+- type: NSPerf
+ traffic_profile: ../../traffic_profiles/ipv4_throughput.yaml
+ topology: router-tg-topology-4port.yaml
+ nodes:
+ tg__0: trafficgen_1.yardstick
+ vnf__0: vnf.yardstick
+# Required for enabling NFVi collection
+ cpt__0: sriov.yardstick
+ options:
+ framesize:
+ uplink: {1024B: 100}
+ downlink: {1024B: 100}
+ flow:
+ src_ip:
+ - '152.16.100.26-152.16.100.105'
+ - '152.16.101.26-152.16.101.105'
+ dst_ip:
+ - '152.16.40.26-152.16.40.105'
+ - '152.16.41.26-152.16.41.105'
+ src_port:
+ - '1234-1238'
+ dst_port:
+ - '2001-2004'
+ count: 128000
+ traffic_type: 4
+ rfc2544:
+ allowed_drop_rate: 0.0001 - 0.1
+ tg__0:
+ queues_per_port: 8
+ vnf__0:
+ nfvi_enable: True
+ runner:
+ type: Iteration
+ iterations: 10
+ interval: 35
+contexts:
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/host_sriov.yaml
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/pod_trex_4ports.yaml
+ - type: StandaloneSriov
+ file: /etc/yardstick/nodes/standalone/host_sriov.yaml
+ name: yardstick
+ vm_deploy: True
+ flavor:
+ images: "/var/lib/libvirt/images/ubuntu_13cores.qcow2"
+ ram: 4096
+ hw_socket: 1
+ extra_specs:
+ hw:cpu_sockets: 1
+ hw:cpu_cores: 13
+ hw:cpu_threads: 1
+ cputune: "<cputune>
+ <vcpupin vcpu='0' cpuset='27'/>
+ <vcpupin vcpu='1' cpuset='28'/>
+ <vcpupin vcpu='2' cpuset='29'/>
+ <vcpupin vcpu='3' cpuset='30'/>
+ <vcpupin vcpu='4' cpuset='31'/>
+ <vcpupin vcpu='5' cpuset='32'/>
+ <vcpupin vcpu='6' cpuset='33'/>
+ <vcpupin vcpu='7' cpuset='34'/>
+ <vcpupin vcpu='8' cpuset='35'/>
+ <vcpupin vcpu='9' cpuset='36'/>
+ <vcpupin vcpu='10' cpuset='37'/>
+ <vcpupin vcpu='11' cpuset='38'/>
+ <vcpupin vcpu='12' cpuset='39'/>
+ <emulatorpin cpuset='27-39'/>
+ </cputune>"
+ user: root
+ password: password
+ servers:
+ vnf:
+ network_ports:
+ mgmt:
+ ip: '10.166.31.252'
+ cidr: '10.166.31.252/28'
+ xe0:
+ - uplink_0
+ xe1:
+ - downlink_0
+ xe2:
+ - uplink_1
+ xe3:
+ - downlink_1
+ networks:
+ uplink_0:
+ phy_port: "0000:88:00.0"
+ vpci: "0000:00:07.0"
+ cidr: '152.16.100.19/24'
+ gateway_ip: '152.16.100.20'
+ downlink_0:
+ phy_port: "0000:d8:00.0"
+ vpci: "0000:00:08.0"
+ cidr: '152.16.40.19/24'
+ gateway_ip: '152.16.40.20'
+ uplink_1:
+ phy_port: "0000:81:00.0"
+ vpci: "0000:00:09.0"
+ cidr: '152.16.101.19/24'
+ gateway_ip: '152.16.101.20'
+ downlink_1:
+ phy_port: "0000:86:00.0"
+ vpci: "0000:00:0a.0"
+ cidr: '152.16.41.19/24'
+ gateway_ip: '152.16.41.20'
+
diff --git a/samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_13cores_4ports_1280B_trex.yaml b/samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_13cores_4ports_1280B_trex.yaml
new file mode 100644
index 000000000..bfaf74b5c
--- /dev/null
+++ b/samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_13cores_4ports_1280B_trex.yaml
@@ -0,0 +1,125 @@
+# Copyright (c) 2016-2017 Intel Corporation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+---
+schema: yardstick:task:0.1
+scenarios:
+- type: NSPerf
+ traffic_profile: ../../traffic_profiles/ipv4_throughput.yaml
+ topology: router-tg-topology-4port.yaml
+ nodes:
+ tg__0: trafficgen_1.yardstick
+ vnf__0: vnf.yardstick
+# Required for enabling NFVi collection
+ cpt__0: sriov.yardstick
+ options:
+ framesize:
+ uplink: {1280B: 100}
+ downlink: {1280B: 100}
+ flow:
+ src_ip:
+ - '152.16.100.26-152.16.100.105'
+ - '152.16.101.26-152.16.101.105'
+ dst_ip:
+ - '152.16.40.26-152.16.40.105'
+ - '152.16.41.26-152.16.41.105'
+ src_port:
+ - '1234-1238'
+ dst_port:
+ - '2001-2004'
+ count: 128000
+ traffic_type: 4
+ rfc2544:
+ allowed_drop_rate: 0.0001 - 0.1
+ tg__0:
+ queues_per_port: 8
+ vnf__0:
+ nfvi_enable: True
+ runner:
+ type: Iteration
+ iterations: 10
+ interval: 35
+contexts:
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/host_sriov.yaml
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/pod_trex_4ports.yaml
+ - type: StandaloneSriov
+ file: /etc/yardstick/nodes/standalone/host_sriov.yaml
+ name: yardstick
+ vm_deploy: True
+ flavor:
+ images: "/var/lib/libvirt/images/ubuntu_13cores.qcow2"
+ ram: 4096
+ hw_socket: 1
+ extra_specs:
+ hw:cpu_sockets: 1
+ hw:cpu_cores: 13
+ hw:cpu_threads: 1
+ cputune: "<cputune>
+ <vcpupin vcpu='0' cpuset='27'/>
+ <vcpupin vcpu='1' cpuset='28'/>
+ <vcpupin vcpu='2' cpuset='29'/>
+ <vcpupin vcpu='3' cpuset='30'/>
+ <vcpupin vcpu='4' cpuset='31'/>
+ <vcpupin vcpu='5' cpuset='32'/>
+ <vcpupin vcpu='6' cpuset='33'/>
+ <vcpupin vcpu='7' cpuset='34'/>
+ <vcpupin vcpu='8' cpuset='35'/>
+ <vcpupin vcpu='9' cpuset='36'/>
+ <vcpupin vcpu='10' cpuset='37'/>
+ <vcpupin vcpu='11' cpuset='38'/>
+ <vcpupin vcpu='12' cpuset='39'/>
+ <emulatorpin cpuset='27-39'/>
+ </cputune>"
+ user: root
+ password: password
+ servers:
+ vnf:
+ network_ports:
+ mgmt:
+ ip: '10.166.31.252'
+ cidr: '10.166.31.252/28'
+ xe0:
+ - uplink_0
+ xe1:
+ - downlink_0
+ xe2:
+ - uplink_1
+ xe3:
+ - downlink_1
+ networks:
+ uplink_0:
+ phy_port: "0000:88:00.0"
+ vpci: "0000:00:07.0"
+ cidr: '152.16.100.19/24'
+ gateway_ip: '152.16.100.20'
+ downlink_0:
+ phy_port: "0000:d8:00.0"
+ vpci: "0000:00:08.0"
+ cidr: '152.16.40.19/24'
+ gateway_ip: '152.16.40.20'
+ uplink_1:
+ phy_port: "0000:81:00.0"
+ vpci: "0000:00:09.0"
+ cidr: '152.16.101.19/24'
+ gateway_ip: '152.16.101.20'
+ downlink_1:
+ phy_port: "0000:86:00.0"
+ vpci: "0000:00:0a.0"
+ cidr: '152.16.41.19/24'
+ gateway_ip: '152.16.41.20'
+
diff --git a/samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_13cores_4ports_128B_trex.yaml b/samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_13cores_4ports_128B_trex.yaml
new file mode 100644
index 000000000..529c8a5ef
--- /dev/null
+++ b/samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_13cores_4ports_128B_trex.yaml
@@ -0,0 +1,125 @@
+# Copyright (c) 2016-2017 Intel Corporation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+---
+schema: yardstick:task:0.1
+scenarios:
+- type: NSPerf
+ traffic_profile: ../../traffic_profiles/ipv4_throughput.yaml
+ topology: router-tg-topology-4port.yaml
+ nodes:
+ tg__0: trafficgen_1.yardstick
+ vnf__0: vnf.yardstick
+# Required for enabling NFVi collection
+ cpt__0: sriov.yardstick
+ options:
+ framesize:
+ uplink: {128B: 100}
+ downlink: {128B: 100}
+ flow:
+ src_ip:
+ - '152.16.100.26-152.16.100.105'
+ - '152.16.101.26-152.16.101.105'
+ dst_ip:
+ - '152.16.40.26-152.16.40.105'
+ - '152.16.41.26-152.16.41.105'
+ src_port:
+ - '1234-1238'
+ dst_port:
+ - '2001-2004'
+ count: 128000
+ traffic_type: 4
+ rfc2544:
+ allowed_drop_rate: 0.0001 - 0.1
+ tg__0:
+ queues_per_port: 8
+ vnf__0:
+ nfvi_enable: True
+ runner:
+ type: Iteration
+ iterations: 10
+ interval: 35
+contexts:
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/host_sriov.yaml
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/pod_trex_4ports.yaml
+ - type: StandaloneSriov
+ file: /etc/yardstick/nodes/standalone/host_sriov.yaml
+ name: yardstick
+ vm_deploy: True
+ flavor:
+ images: "/var/lib/libvirt/images/ubuntu_13cores.qcow2"
+ ram: 4096
+ hw_socket: 1
+ extra_specs:
+ hw:cpu_sockets: 1
+ hw:cpu_cores: 13
+ hw:cpu_threads: 1
+ cputune: "<cputune>
+ <vcpupin vcpu='0' cpuset='27'/>
+ <vcpupin vcpu='1' cpuset='28'/>
+ <vcpupin vcpu='2' cpuset='29'/>
+ <vcpupin vcpu='3' cpuset='30'/>
+ <vcpupin vcpu='4' cpuset='31'/>
+ <vcpupin vcpu='5' cpuset='32'/>
+ <vcpupin vcpu='6' cpuset='33'/>
+ <vcpupin vcpu='7' cpuset='34'/>
+ <vcpupin vcpu='8' cpuset='35'/>
+ <vcpupin vcpu='9' cpuset='36'/>
+ <vcpupin vcpu='10' cpuset='37'/>
+ <vcpupin vcpu='11' cpuset='38'/>
+ <vcpupin vcpu='12' cpuset='39'/>
+ <emulatorpin cpuset='27-39'/>
+ </cputune>"
+ user: root
+ password: password
+ servers:
+ vnf:
+ network_ports:
+ mgmt:
+ ip: '10.166.31.252'
+ cidr: '10.166.31.252/28'
+ xe0:
+ - uplink_0
+ xe1:
+ - downlink_0
+ xe2:
+ - uplink_1
+ xe3:
+ - downlink_1
+ networks:
+ uplink_0:
+ phy_port: "0000:88:00.0"
+ vpci: "0000:00:07.0"
+ cidr: '152.16.100.19/24'
+ gateway_ip: '152.16.100.20'
+ downlink_0:
+ phy_port: "0000:d8:00.0"
+ vpci: "0000:00:08.0"
+ cidr: '152.16.40.19/24'
+ gateway_ip: '152.16.40.20'
+ uplink_1:
+ phy_port: "0000:81:00.0"
+ vpci: "0000:00:09.0"
+ cidr: '152.16.101.19/24'
+ gateway_ip: '152.16.101.20'
+ downlink_1:
+ phy_port: "0000:86:00.0"
+ vpci: "0000:00:0a.0"
+ cidr: '152.16.41.19/24'
+ gateway_ip: '152.16.41.20'
+
diff --git a/samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_13cores_4ports_1518B_trex.yaml b/samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_13cores_4ports_1518B_trex.yaml
new file mode 100644
index 000000000..0d2cdfbc0
--- /dev/null
+++ b/samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_13cores_4ports_1518B_trex.yaml
@@ -0,0 +1,125 @@
+# Copyright (c) 2016-2017 Intel Corporation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+---
+schema: yardstick:task:0.1
+scenarios:
+- type: NSPerf
+ traffic_profile: ../../traffic_profiles/ipv4_throughput.yaml
+ topology: router-tg-topology-4port.yaml
+ nodes:
+ tg__0: trafficgen_1.yardstick
+ vnf__0: vnf.yardstick
+# Required for enabling NFVi collection
+ cpt__0: sriov.yardstick
+ options:
+ framesize:
+ uplink: {1518B: 100}
+ downlink: {1518B: 100}
+ flow:
+ src_ip:
+ - '152.16.100.26-152.16.100.105'
+ - '152.16.101.26-152.16.101.105'
+ dst_ip:
+ - '152.16.40.26-152.16.40.105'
+ - '152.16.41.26-152.16.41.105'
+ src_port:
+ - '1234-1238'
+ dst_port:
+ - '2001-2004'
+ count: 128000
+ traffic_type: 4
+ rfc2544:
+ allowed_drop_rate: 0.0001 - 0.1
+ tg__0:
+ queues_per_port: 8
+ vnf__0:
+ nfvi_enable: True
+ runner:
+ type: Iteration
+ iterations: 10
+ interval: 35
+contexts:
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/host_sriov.yaml
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/pod_trex_4ports.yaml
+ - type: StandaloneSriov
+ file: /etc/yardstick/nodes/standalone/host_sriov.yaml
+ name: yardstick
+ vm_deploy: True
+ flavor:
+ images: "/var/lib/libvirt/images/ubuntu_13cores.qcow2"
+ ram: 4096
+ hw_socket: 1
+ extra_specs:
+ hw:cpu_sockets: 1
+ hw:cpu_cores: 13
+ hw:cpu_threads: 1
+ cputune: "<cputune>
+ <vcpupin vcpu='0' cpuset='27'/>
+ <vcpupin vcpu='1' cpuset='28'/>
+ <vcpupin vcpu='2' cpuset='29'/>
+ <vcpupin vcpu='3' cpuset='30'/>
+ <vcpupin vcpu='4' cpuset='31'/>
+ <vcpupin vcpu='5' cpuset='32'/>
+ <vcpupin vcpu='6' cpuset='33'/>
+ <vcpupin vcpu='7' cpuset='34'/>
+ <vcpupin vcpu='8' cpuset='35'/>
+ <vcpupin vcpu='9' cpuset='36'/>
+ <vcpupin vcpu='10' cpuset='37'/>
+ <vcpupin vcpu='11' cpuset='38'/>
+ <vcpupin vcpu='12' cpuset='39'/>
+ <emulatorpin cpuset='27-39'/>
+ </cputune>"
+ user: root
+ password: password
+ servers:
+ vnf:
+ network_ports:
+ mgmt:
+ ip: '10.166.31.252'
+ cidr: '10.166.31.252/28'
+ xe0:
+ - uplink_0
+ xe1:
+ - downlink_0
+ xe2:
+ - uplink_1
+ xe3:
+ - downlink_1
+ networks:
+ uplink_0:
+ phy_port: "0000:88:00.0"
+ vpci: "0000:00:07.0"
+ cidr: '152.16.100.19/24'
+ gateway_ip: '152.16.100.20'
+ downlink_0:
+ phy_port: "0000:d8:00.0"
+ vpci: "0000:00:08.0"
+ cidr: '152.16.40.19/24'
+ gateway_ip: '152.16.40.20'
+ uplink_1:
+ phy_port: "0000:81:00.0"
+ vpci: "0000:00:09.0"
+ cidr: '152.16.101.19/24'
+ gateway_ip: '152.16.101.20'
+ downlink_1:
+ phy_port: "0000:86:00.0"
+ vpci: "0000:00:0a.0"
+ cidr: '152.16.41.19/24'
+ gateway_ip: '152.16.41.20'
+
diff --git a/samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_13cores_4ports_256B_trex.yaml b/samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_13cores_4ports_256B_trex.yaml
new file mode 100644
index 000000000..9e1e8ebd3
--- /dev/null
+++ b/samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_13cores_4ports_256B_trex.yaml
@@ -0,0 +1,125 @@
+# Copyright (c) 2016-2017 Intel Corporation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+---
+schema: yardstick:task:0.1
+scenarios:
+- type: NSPerf
+ traffic_profile: ../../traffic_profiles/ipv4_throughput.yaml
+ topology: router-tg-topology-4port.yaml
+ nodes:
+ tg__0: trafficgen_1.yardstick
+ vnf__0: vnf.yardstick
+# Required for enabling NFVi collection
+ cpt__0: sriov.yardstick
+ options:
+ framesize:
+ uplink: {256B: 100}
+ downlink: {256B: 100}
+ flow:
+ src_ip:
+ - '152.16.100.26-152.16.100.105'
+ - '152.16.101.26-152.16.101.105'
+ dst_ip:
+ - '152.16.40.26-152.16.40.105'
+ - '152.16.41.26-152.16.41.105'
+ src_port:
+ - '1234-1238'
+ dst_port:
+ - '2001-2004'
+ count: 128000
+ traffic_type: 4
+ rfc2544:
+ allowed_drop_rate: 0.0001 - 0.1
+ tg__0:
+ queues_per_port: 8
+ vnf__0:
+ nfvi_enable: True
+ runner:
+ type: Iteration
+ iterations: 10
+ interval: 35
+contexts:
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/host_sriov.yaml
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/pod_trex_4ports.yaml
+ - type: StandaloneSriov
+ file: /etc/yardstick/nodes/standalone/host_sriov.yaml
+ name: yardstick
+ vm_deploy: True
+ flavor:
+ images: "/var/lib/libvirt/images/ubuntu_13cores.qcow2"
+ ram: 4096
+ hw_socket: 1
+ extra_specs:
+ hw:cpu_sockets: 1
+ hw:cpu_cores: 13
+ hw:cpu_threads: 1
+ cputune: "<cputune>
+ <vcpupin vcpu='0' cpuset='27'/>
+ <vcpupin vcpu='1' cpuset='28'/>
+ <vcpupin vcpu='2' cpuset='29'/>
+ <vcpupin vcpu='3' cpuset='30'/>
+ <vcpupin vcpu='4' cpuset='31'/>
+ <vcpupin vcpu='5' cpuset='32'/>
+ <vcpupin vcpu='6' cpuset='33'/>
+ <vcpupin vcpu='7' cpuset='34'/>
+ <vcpupin vcpu='8' cpuset='35'/>
+ <vcpupin vcpu='9' cpuset='36'/>
+ <vcpupin vcpu='10' cpuset='37'/>
+ <vcpupin vcpu='11' cpuset='38'/>
+ <vcpupin vcpu='12' cpuset='39'/>
+ <emulatorpin cpuset='27-39'/>
+ </cputune>"
+ user: root
+ password: password
+ servers:
+ vnf:
+ network_ports:
+ mgmt:
+ ip: '10.166.31.252'
+ cidr: '10.166.31.252/28'
+ xe0:
+ - uplink_0
+ xe1:
+ - downlink_0
+ xe2:
+ - uplink_1
+ xe3:
+ - downlink_1
+ networks:
+ uplink_0:
+ phy_port: "0000:88:00.0"
+ vpci: "0000:00:07.0"
+ cidr: '152.16.100.19/24'
+ gateway_ip: '152.16.100.20'
+ downlink_0:
+ phy_port: "0000:d8:00.0"
+ vpci: "0000:00:08.0"
+ cidr: '152.16.40.19/24'
+ gateway_ip: '152.16.40.20'
+ uplink_1:
+ phy_port: "0000:81:00.0"
+ vpci: "0000:00:09.0"
+ cidr: '152.16.101.19/24'
+ gateway_ip: '152.16.101.20'
+ downlink_1:
+ phy_port: "0000:86:00.0"
+ vpci: "0000:00:0a.0"
+ cidr: '152.16.41.19/24'
+ gateway_ip: '152.16.41.20'
+
diff --git a/samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_13cores_4ports_512B_trex.yaml b/samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_13cores_4ports_512B_trex.yaml
new file mode 100644
index 000000000..4b3fbe4b3
--- /dev/null
+++ b/samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_13cores_4ports_512B_trex.yaml
@@ -0,0 +1,125 @@
+# Copyright (c) 2016-2017 Intel Corporation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+---
+schema: yardstick:task:0.1
+scenarios:
+- type: NSPerf
+ traffic_profile: ../../traffic_profiles/ipv4_throughput.yaml
+ topology: router-tg-topology-4port.yaml
+ nodes:
+ tg__0: trafficgen_1.yardstick
+ vnf__0: vnf.yardstick
+# Required for enabling NFVi collection
+ cpt__0: sriov.yardstick
+ options:
+ framesize:
+ uplink: {512B: 100}
+ downlink: {512B: 100}
+ flow:
+ src_ip:
+ - '152.16.100.26-152.16.100.105'
+ - '152.16.101.26-152.16.101.105'
+ dst_ip:
+ - '152.16.40.26-152.16.40.105'
+ - '152.16.41.26-152.16.41.105'
+ src_port:
+ - '1234-1238'
+ dst_port:
+ - '2001-2004'
+ count: 128000
+ traffic_type: 4
+ rfc2544:
+ allowed_drop_rate: 0.0001 - 0.1
+ tg__0:
+ queues_per_port: 8
+ vnf__0:
+ nfvi_enable: True
+ runner:
+ type: Iteration
+ iterations: 10
+ interval: 35
+contexts:
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/host_sriov.yaml
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/pod_trex_4ports.yaml
+ - type: StandaloneSriov
+ file: /etc/yardstick/nodes/standalone/host_sriov.yaml
+ name: yardstick
+ vm_deploy: True
+ flavor:
+ images: "/var/lib/libvirt/images/ubuntu_13cores.qcow2"
+ ram: 4096
+ hw_socket: 1
+ extra_specs:
+ hw:cpu_sockets: 1
+ hw:cpu_cores: 13
+ hw:cpu_threads: 1
+ cputune: "<cputune>
+ <vcpupin vcpu='0' cpuset='27'/>
+ <vcpupin vcpu='1' cpuset='28'/>
+ <vcpupin vcpu='2' cpuset='29'/>
+ <vcpupin vcpu='3' cpuset='30'/>
+ <vcpupin vcpu='4' cpuset='31'/>
+ <vcpupin vcpu='5' cpuset='32'/>
+ <vcpupin vcpu='6' cpuset='33'/>
+ <vcpupin vcpu='7' cpuset='34'/>
+ <vcpupin vcpu='8' cpuset='35'/>
+ <vcpupin vcpu='9' cpuset='36'/>
+ <vcpupin vcpu='10' cpuset='37'/>
+ <vcpupin vcpu='11' cpuset='38'/>
+ <vcpupin vcpu='12' cpuset='39'/>
+ <emulatorpin cpuset='27-39'/>
+ </cputune>"
+ user: root
+ password: password
+ servers:
+ vnf:
+ network_ports:
+ mgmt:
+ ip: '10.166.31.252'
+ cidr: '10.166.31.252/28'
+ xe0:
+ - uplink_0
+ xe1:
+ - downlink_0
+ xe2:
+ - uplink_1
+ xe3:
+ - downlink_1
+ networks:
+ uplink_0:
+ phy_port: "0000:88:00.0"
+ vpci: "0000:00:07.0"
+ cidr: '152.16.100.19/24'
+ gateway_ip: '152.16.100.20'
+ downlink_0:
+ phy_port: "0000:d8:00.0"
+ vpci: "0000:00:08.0"
+ cidr: '152.16.40.19/24'
+ gateway_ip: '152.16.40.20'
+ uplink_1:
+ phy_port: "0000:81:00.0"
+ vpci: "0000:00:09.0"
+ cidr: '152.16.101.19/24'
+ gateway_ip: '152.16.101.20'
+ downlink_1:
+ phy_port: "0000:86:00.0"
+ vpci: "0000:00:0a.0"
+ cidr: '152.16.41.19/24'
+ gateway_ip: '152.16.41.20'
+
diff --git a/samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_13cores_4ports_64B_trex.yaml b/samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_13cores_4ports_64B_trex.yaml
new file mode 100644
index 000000000..d23ab4e69
--- /dev/null
+++ b/samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_13cores_4ports_64B_trex.yaml
@@ -0,0 +1,125 @@
+# Copyright (c) 2016-2017 Intel Corporation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+---
+schema: yardstick:task:0.1
+scenarios:
+- type: NSPerf
+ traffic_profile: ../../traffic_profiles/ipv4_throughput.yaml
+ topology: router-tg-topology-4port.yaml
+ nodes:
+ tg__0: trafficgen_1.yardstick
+ vnf__0: vnf.yardstick
+# Required for enabling NFVi collection
+ cpt__0: sriov.yardstick
+ options:
+ framesize:
+ uplink: {64B: 100}
+ downlink: {64B: 100}
+ flow:
+ src_ip:
+ - '152.16.100.26-152.16.100.105'
+ - '152.16.101.26-152.16.101.105'
+ dst_ip:
+ - '152.16.40.26-152.16.40.105'
+ - '152.16.41.26-152.16.41.105'
+ src_port:
+ - '1234-1238'
+ dst_port:
+ - '2001-2004'
+ count: 128000
+ traffic_type: 4
+ rfc2544:
+ allowed_drop_rate: 0.0001 - 0.1
+ tg__0:
+ queues_per_port: 8
+ vnf__0:
+ nfvi_enable: True
+ runner:
+ type: Iteration
+ iterations: 10
+ interval: 35
+contexts:
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/host_sriov.yaml
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/pod_trex_4ports.yaml
+ - type: StandaloneSriov
+ file: /etc/yardstick/nodes/standalone/host_sriov.yaml
+ name: yardstick
+ vm_deploy: True
+ flavor:
+ images: "/var/lib/libvirt/images/ubuntu_13cores.qcow2"
+ ram: 4096
+ hw_socket: 1
+ extra_specs:
+ hw:cpu_sockets: 1
+ hw:cpu_cores: 13
+ hw:cpu_threads: 1
+ cputune: "<cputune>
+ <vcpupin vcpu='0' cpuset='27'/>
+ <vcpupin vcpu='1' cpuset='28'/>
+ <vcpupin vcpu='2' cpuset='29'/>
+ <vcpupin vcpu='3' cpuset='30'/>
+ <vcpupin vcpu='4' cpuset='31'/>
+ <vcpupin vcpu='5' cpuset='32'/>
+ <vcpupin vcpu='6' cpuset='33'/>
+ <vcpupin vcpu='7' cpuset='34'/>
+ <vcpupin vcpu='8' cpuset='35'/>
+ <vcpupin vcpu='9' cpuset='36'/>
+ <vcpupin vcpu='10' cpuset='37'/>
+ <vcpupin vcpu='11' cpuset='38'/>
+ <vcpupin vcpu='12' cpuset='39'/>
+ <emulatorpin cpuset='27-39'/>
+ </cputune>"
+ user: root
+ password: password
+ servers:
+ vnf:
+ network_ports:
+ mgmt:
+ ip: '10.166.31.252'
+ cidr: '10.166.31.252/28'
+ xe0:
+ - uplink_0
+ xe1:
+ - downlink_0
+ xe2:
+ - uplink_1
+ xe3:
+ - downlink_1
+ networks:
+ uplink_0:
+ phy_port: "0000:88:00.0"
+ vpci: "0000:00:07.0"
+ cidr: '152.16.100.19/24'
+ gateway_ip: '152.16.100.20'
+ downlink_0:
+ phy_port: "0000:d8:00.0"
+ vpci: "0000:00:08.0"
+ cidr: '152.16.40.19/24'
+ gateway_ip: '152.16.40.20'
+ uplink_1:
+ phy_port: "0000:81:00.0"
+ vpci: "0000:00:09.0"
+ cidr: '152.16.101.19/24'
+ gateway_ip: '152.16.101.20'
+ downlink_1:
+ phy_port: "0000:86:00.0"
+ vpci: "0000:00:0a.0"
+ cidr: '152.16.41.19/24'
+ gateway_ip: '152.16.41.20'
+
diff --git a/samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_13cores_6ports_1518B_trex.yaml b/samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_13cores_6ports_1518B_trex.yaml
new file mode 100644
index 000000000..0353b3875
--- /dev/null
+++ b/samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_13cores_6ports_1518B_trex.yaml
@@ -0,0 +1,141 @@
+# Copyright (c) 2016-2017 Intel Corporation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+---
+schema: yardstick:task:0.1
+scenarios:
+- type: NSPerf
+ traffic_profile: ../../traffic_profiles/ipv4_throughput-3.yaml
+ topology: router-tg-topology-6port.yaml
+ nodes:
+ tg__0: trafficgen_1.yardstick
+ vnf__0: vnf.yardstick
+# Required for enabling NFVi collection
+ cpt__0: sriov.yardstick
+ options:
+ framesize:
+ uplink: {1518B: 100}
+ downlink: {1518B: 100}
+ flow:
+ src_ip:
+ - '152.16.100.26-152.16.100.105'
+ - '152.16.101.26-152.16.101.105'
+ - '152.16.102.26-152.16.102.105'
+ dst_ip:
+ - '152.16.40.26-152.16.40.105'
+ - '152.16.41.26-152.16.41.105'
+ - '152.16.42.26-152.16.42.105'
+ src_port:
+ - '1234-1238'
+ dst_port:
+ - '2001-2004'
+ count: 128000
+ traffic_type: 4
+ rfc2544:
+ allowed_drop_rate: 0.0001 - 0.1
+ tg__0:
+ queues_per_port: 8
+ vnf__0:
+ nfvi_enable: True
+ runner:
+ type: Iteration
+ iterations: 10
+ interval: 35
+contexts:
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/host_sriov.yaml
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/pod_trex_6ports.yaml
+ - type: StandaloneSriov
+ file: /etc/yardstick/nodes/standalone/host_sriov.yaml
+ name: yardstick
+ vm_deploy: True
+ flavor:
+ images: "/var/lib/libvirt/images/ubuntu_13cores.qcow2"
+ ram: 4096
+ hw_socket: 1
+ extra_specs:
+ hw:cpu_sockets: 1
+ hw:cpu_cores: 13
+ hw:cpu_threads: 1
+ cputune: "<cputune>
+ <vcpupin vcpu='0' cpuset='27'/>
+ <vcpupin vcpu='1' cpuset='28'/>
+ <vcpupin vcpu='2' cpuset='29'/>
+ <vcpupin vcpu='3' cpuset='30'/>
+ <vcpupin vcpu='4' cpuset='31'/>
+ <vcpupin vcpu='5' cpuset='32'/>
+ <vcpupin vcpu='6' cpuset='33'/>
+ <vcpupin vcpu='7' cpuset='34'/>
+ <vcpupin vcpu='8' cpuset='35'/>
+ <vcpupin vcpu='9' cpuset='36'/>
+ <vcpupin vcpu='10' cpuset='37'/>
+ <vcpupin vcpu='11' cpuset='38'/>
+ <vcpupin vcpu='12' cpuset='39'/>
+ <emulatorpin cpuset='27-39'/>
+ </cputune>"
+ user: root
+ password: password
+ servers:
+ vnf:
+ network_ports:
+ mgmt:
+ ip: '10.166.31.252'
+ cidr: '10.166.31.252/28'
+ xe0:
+ - uplink_0
+ xe1:
+ - downlink_0
+ xe2:
+ - uplink_1
+ xe3:
+ - downlink_1
+ xe4:
+ - uplink_2
+ xe5:
+ - downlink_2
+ networks:
+ uplink_0:
+ phy_port: "0000:88:00.0"
+ vpci: "0000:00:07.0"
+ cidr: '152.16.100.19/24'
+ gateway_ip: '152.16.100.20'
+ downlink_0:
+ phy_port: "0000:d8:00.0"
+ vpci: "0000:00:08.0"
+ cidr: '152.16.40.19/24'
+ gateway_ip: '152.16.40.20'
+ uplink_1:
+ phy_port: "0000:81:00.0"
+ vpci: "0000:00:09.0"
+ cidr: '152.16.101.19/24'
+ gateway_ip: '152.16.101.20'
+ downlink_1:
+ phy_port: "0000:81:00.1"
+ vpci: "0000:00:0a.0"
+ cidr: '152.16.41.19/24'
+ gateway_ip: '152.16.41.20'
+ uplink_2:
+ phy_port: "0000:86:00.0"
+ vpci: "0000:00:0b.0"
+ cidr: '152.16.102.19/24'
+ gateway_ip: '152.16.102.20'
+ downlink_2:
+ phy_port: "0000:86:00.1"
+ vpci: "0000:00:0c.0"
+ cidr: '152.16.42.19/24'
+ gateway_ip: '152.16.42.20'
+
diff --git a/samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_7cores_2ports_1024B_trex.yaml b/samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_7cores_2ports_1024B_trex.yaml
new file mode 100644
index 000000000..4fa22975f
--- /dev/null
+++ b/samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_7cores_2ports_1024B_trex.yaml
@@ -0,0 +1,93 @@
+# Copyright (c) 2016-2017 Intel Corporation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+---
+schema: yardstick:task:0.1
+scenarios:
+- type: NSPerf
+ traffic_profile: ../../traffic_profiles/ipv4_throughput.yaml
+ topology: router-tg-topology.yaml
+ nodes:
+ tg__0: trafficgen_1.yardstick
+ vnf__0: vnf.yardstick
+ cpt__0: sriov.yardstick
+ options:
+ framesize:
+ uplink: {1024B: 100}
+ downlink: {1024B: 100}
+ flow:
+ src_ip:
+ - '152.16.100.26-152.16.100.105'
+ dst_ip:
+ - '152.16.40.26-152.16.40.105'
+ src_port:
+ - '1234-1238'
+ dst_port:
+ - '2001-2004'
+ count: 128000
+ traffic_type: 4
+ rfc2544:
+ allowed_drop_rate: 0.0001 - 0.1
+ tg__0:
+ queues_per_port: 4
+ vnf__0:
+ nfvi_enable: True
+ runner:
+ type: Iteration
+ iterations: 10
+ interval: 35
+contexts:
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/host_sriov.yaml
+
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/pod_trex.yaml
+
+ - name: yardstick
+ type: StandaloneSriov
+ file: /etc/yardstick/nodes/standalone/host_sriov.yaml
+
+ vm_deploy: True
+ flavor:
+ images: "/var/lib/libvirt/images/ubuntu.qcow2"
+ ram: 4096
+ extra_specs:
+ hw:cpu_sockets: 1
+ hw:cpu_cores: 6
+ hw:cpu_threads: 2
+ user: "root"
+ password: "password"
+ servers:
+ vnf:
+ network_ports:
+ mgmt:
+ ip: '192.168.18.185'
+ cidr: '192.168.18.185/30'
+ xe0:
+ - uplink_0
+ xe1:
+ - downlink_0
+ networks:
+ uplink_0:
+ phy_port: "0000:07:00.0"
+ vpci: "0000:00:07.0"
+ cidr: '152.16.100.19/24'
+ gateway_ip: '152.16.100.20'
+ downlink_0:
+ phy_port: "0000:07:00.1"
+ vpci: "0000:00:08.0"
+ cidr: '152.16.40.19/24'
+ gateway_ip: '152.16.40.20'
diff --git a/samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_7cores_2ports_1280B_trex.yaml b/samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_7cores_2ports_1280B_trex.yaml
new file mode 100644
index 000000000..a7acbafdd
--- /dev/null
+++ b/samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_7cores_2ports_1280B_trex.yaml
@@ -0,0 +1,93 @@
+# Copyright (c) 2016-2017 Intel Corporation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+---
+schema: yardstick:task:0.1
+scenarios:
+- type: NSPerf
+ traffic_profile: ../../traffic_profiles/ipv4_throughput.yaml
+ topology: router-tg-topology.yaml
+ nodes:
+ tg__0: trafficgen_1.yardstick
+ vnf__0: vnf.yardstick
+ cpt__0: sriov.yardstick
+ options:
+ framesize:
+ uplink: {1280B: 100}
+ downlink: {1280B: 100}
+ flow:
+ src_ip:
+ - '152.16.100.26-152.16.100.105'
+ dst_ip:
+ - '152.16.40.26-152.16.40.105'
+ src_port:
+ - '1234-1238'
+ dst_port:
+ - '2001-2004'
+ count: 128000
+ traffic_type: 4
+ rfc2544:
+ allowed_drop_rate: 0.0001 - 0.1
+ tg__0:
+ queues_per_port: 4
+ vnf__0:
+ nfvi_enable: True
+ runner:
+ type: Iteration
+ iterations: 10
+ interval: 35
+contexts:
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/host_sriov.yaml
+
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/pod_trex.yaml
+
+ - name: yardstick
+ type: StandaloneSriov
+ file: /etc/yardstick/nodes/standalone/host_sriov.yaml
+
+ vm_deploy: True
+ flavor:
+ images: "/var/lib/libvirt/images/ubuntu.qcow2"
+ ram: 4096
+ extra_specs:
+ hw:cpu_sockets: 1
+ hw:cpu_cores: 7
+ hw:cpu_threads: 1
+ user: root
+ password: password
+ servers:
+ vnf:
+ network_ports:
+ mgmt:
+ ip: '192.168.18.185'
+ cidr: '192.168.18.185/30'
+ xe0:
+ - uplink_0
+ xe1:
+ - downlink_0
+ networks:
+ uplink_0:
+ phy_port: "0000:07:00.0"
+ vpci: "0000:00:07.0"
+ cidr: '152.16.100.19/24'
+ gateway_ip: '152.16.100.20'
+ downlink_0:
+ phy_port: "0000:07:00.1"
+ vpci: "0000:00:08.0"
+ cidr: '152.16.40.19/24'
+ gateway_ip: '152.16.40.20'
diff --git a/samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_7cores_2ports_128B_trex.yaml b/samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_7cores_2ports_128B_trex.yaml
new file mode 100644
index 000000000..121aaec4b
--- /dev/null
+++ b/samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_7cores_2ports_128B_trex.yaml
@@ -0,0 +1,93 @@
+# Copyright (c) 2016-2017 Intel Corporation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+---
+schema: yardstick:task:0.1
+scenarios:
+- type: NSPerf
+ traffic_profile: ../../traffic_profiles/ipv4_throughput.yaml
+ topology: router-tg-topology.yaml
+ nodes:
+ tg__0: trafficgen_1.yardstick
+ vnf__0: vnf.yardstick
+ cpt__0: sriov.yardstick
+ options:
+ framesize:
+ uplink: {128B: 100}
+ downlink: {128B: 100}
+ flow:
+ src_ip:
+ - '152.16.100.26-152.16.100.105'
+ dst_ip:
+ - '152.16.40.26-152.16.40.105'
+ src_port:
+ - '1234-1238'
+ dst_port:
+ - '2001-2004'
+ count: 128000
+ traffic_type: 4
+ rfc2544:
+ allowed_drop_rate: 0.0001 - 0.1
+ tg__0:
+ queues_per_port: 4
+ vnf__0:
+ nfvi_enable: True
+ runner:
+ type: Iteration
+ iterations: 10
+ interval: 35
+contexts:
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/host_sriov.yaml
+
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/pod_trex.yaml
+
+ - name: yardstick
+ type: StandaloneSriov
+ file: /etc/yardstick/nodes/standalone/host_sriov.yaml
+
+ vm_deploy: True
+ flavor:
+ images: "/var/lib/libvirt/images/ubuntu.qcow2"
+ ram: 4096
+ extra_specs:
+ hw:cpu_sockets: 1
+ hw:cpu_cores: 7
+ hw:cpu_threads: 1
+ user: root
+ password: password
+ servers:
+ vnf:
+ network_ports:
+ mgmt:
+ ip: '192.168.18.185'
+ cidr: '192.168.18.185/30'
+ xe0:
+ - uplink_0
+ xe1:
+ - downlink_0
+ networks:
+ uplink_0:
+ phy_port: "0000:07:00.0"
+ vpci: "0000:00:07.0"
+ cidr: '152.16.100.19/24'
+ gateway_ip: '152.16.100.20'
+ downlink_0:
+ phy_port: "0000:07:00.1"
+ vpci: "0000:00:08.0"
+ cidr: '152.16.40.19/24'
+ gateway_ip: '152.16.100.20'
diff --git a/samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_7cores_2ports_1518B_trex.yaml b/samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_7cores_2ports_1518B_trex.yaml
new file mode 100644
index 000000000..6e856c80e
--- /dev/null
+++ b/samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_7cores_2ports_1518B_trex.yaml
@@ -0,0 +1,93 @@
+# Copyright (c) 2016-2017 Intel Corporation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+---
+schema: yardstick:task:0.1
+scenarios:
+- type: NSPerf
+ traffic_profile: ../../traffic_profiles/ipv4_throughput.yaml
+ topology: router-tg-topology.yaml
+ nodes:
+ tg__0: trafficgen_1.yardstick
+ vnf__0: vnf.yardstick
+ cpt__0: sriov.yardstick
+ options:
+ framesize:
+ uplink: {1518B: 100}
+ downlink: {1518B: 100}
+ flow:
+ src_ip:
+ - '152.16.100.26-152.16.100.105'
+ dst_ip:
+ - '152.16.40.26-152.16.40.105'
+ src_port:
+ - '1234-1238'
+ dst_port:
+ - '2001-2004'
+ count: 128000
+ traffic_type: 4
+ rfc2544:
+ allowed_drop_rate: 0.0001 - 0.1
+ tg__0:
+ queues_per_port: 4
+ vnf__0:
+ nfvi_enable: True
+ runner:
+ type: Iteration
+ iterations: 10
+ interval: 35
+contexts:
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/host_sriov.yaml
+
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/pod_trex.yaml
+
+ - name: yardstick
+ type: StandaloneSriov
+ file: /etc/yardstick/nodes/standalone/host_sriov.yaml
+
+ vm_deploy: True
+ flavor:
+ images: "/var/lib/libvirt/images/ubuntu.qcow2"
+ ram: 4096
+ extra_specs:
+ hw:cpu_sockets: 1
+ hw:cpu_cores: 7
+ hw:cpu_threads: 1
+ user: root
+ password: password
+ servers:
+ vnf:
+ network_ports:
+ mgmt:
+ ip: '192.168.18.185'
+ cidr: '192.168.18.185/30'
+ xe0:
+ - uplink_0
+ xe1:
+ - downlink_0
+ networks:
+ uplink_0:
+ phy_port: "0000:07:00.0"
+ vpci: "0000:00:07.0"
+ cidr: '152.16.100.19/24'
+ gateway_ip: '152.16.100.20'
+ downlink_0:
+ phy_port: "0000:07:00.1"
+ vpci: "0000:00:08.0"
+ cidr: '152.16.40.19/24'
+ gateway_ip: '152.16.40.20'
diff --git a/samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_7cores_2ports_256B_trex.yaml b/samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_7cores_2ports_256B_trex.yaml
new file mode 100644
index 000000000..54a26bc49
--- /dev/null
+++ b/samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_7cores_2ports_256B_trex.yaml
@@ -0,0 +1,92 @@
+# Copyright (c) 2016-2017 Intel Corporation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+---
+schema: yardstick:task:0.1
+scenarios:
+- type: NSPerf
+ traffic_profile: ../../traffic_profiles/ipv4_throughput.yaml
+ topology: router-tg-topology.yaml
+ nodes:
+ tg__0: trafficgen_1.yardstick
+ vnf__0: vnf.yardstick
+ cpt__0: sriov.yardstick
+ options:
+ framesize:
+ uplink: {256B: 100}
+ downlink: {256B: 100}
+ flow:
+ src_ip:
+ - '152.16.100.26-152.16.100.105'
+ dst_ip:
+ - '152.16.40.26-152.16.40.105'
+ src_port:
+ - '1234-1238'
+ dst_port:
+ - '2001-2004'
+ count: 128000
+ traffic_type: 4
+ rfc2544:
+ allowed_drop_rate: 0.0001 - 0.1
+ tg__0:
+ queues_per_port: 4
+ vnf__0:
+ nfvi_enable: True
+ runner:
+ type: Iteration
+ iterations: 10
+ interval: 35
+contexts:
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/host_sriov.yaml
+
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/pod_trex.yaml
+
+ - name: yardstick
+ type: StandaloneSriov
+ file: /etc/yardstick/nodes/standalone/host_sriov.yaml
+ vm_deploy: True
+ flavor:
+ images: "/var/lib/libvirt/images/ubuntu.qcow2"
+ ram: 4096
+ extra_specs:
+ hw:cpu_sockets: 1
+ hw:cpu_cores: 7
+ hw:cpu_threads: 1
+ user: root
+ password: password
+ servers:
+ vnf:
+ network_ports:
+ mgmt:
+ ip: '192.168.18.185'
+ cidr: '192.168.18.185/30'
+ xe0:
+ - uplink_0
+ xe1:
+ - downlink_0
+ networks:
+ uplink_0:
+ phy_port: "0000:07:00.0"
+ vpci: "0000:00:07.0"
+ cidr: '152.16.100.19/24'
+ gateway_ip: '152.16.100.20'
+ downlink_0:
+ phy_port: "0000:07:00.1"
+ vpci: "0000:00:08.0"
+ cidr: '152.16.40.19/24'
+ gateway_ip: '152.16.100.20'
diff --git a/samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_7cores_2ports_512B_trex.yaml b/samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_7cores_2ports_512B_trex.yaml
new file mode 100644
index 000000000..1ed39c236
--- /dev/null
+++ b/samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_7cores_2ports_512B_trex.yaml
@@ -0,0 +1,93 @@
+# Copyright (c) 2016-2017 Intel Corporation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+---
+schema: yardstick:task:0.1
+scenarios:
+- type: NSPerf
+ traffic_profile: ../../traffic_profiles/ipv4_throughput.yaml
+ topology: router-tg-topology.yaml
+ nodes:
+ tg__0: trafficgen_1.yardstick
+ vnf__0: vnf.yardstick
+ cpt__0: sriov.yardstick
+ options:
+ framesize:
+ uplink: {512B: 100}
+ downlink: {512B: 100}
+ flow:
+ src_ip:
+ - '152.16.100.26-152.16.100.105'
+ dst_ip:
+ - '152.16.40.26-152.16.40.105'
+ src_port:
+ - '1234-1238'
+ dst_port:
+ - '2001-2004'
+ count: 128000
+ traffic_type: 4
+ rfc2544:
+ allowed_drop_rate: 0.0001 - 0.1
+ tg__0:
+ queues_per_port: 4
+ vnf__0:
+ nfvi_enable: True
+ runner:
+ type: Iteration
+ iterations: 10
+ interval: 35
+contexts:
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/host_sriov.yaml
+
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/pod_trex.yaml
+
+ - name: yardstick
+ type: StandaloneSriov
+ file: /etc/yardstick/nodes/standalone/host_sriov.yaml
+
+ vm_deploy: True
+ flavor:
+ images: "/var/lib/libvirt/images/ubuntu.qcow2"
+ ram: 4096
+ extra_specs:
+ hw:cpu_sockets: 1
+ hw:cpu_cores: 7
+ hw:cpu_threads: 1
+ user: root
+ password: password
+ servers:
+ vnf:
+ network_ports:
+ mgmt:
+ ip: '192.168.18.185'
+ cidr: '192.168.18.185/30'
+ xe0:
+ - uplink_0
+ xe1:
+ - downlink_0
+ networks:
+ uplink_0:
+ phy_port: "0000:07:00.0"
+ vpci: "0000:00:07.0"
+ cidr: '152.16.100.19/24'
+ gateway_ip: '152.16.100.20'
+ downlink_0:
+ phy_port: "0000:07:00.1"
+ vpci: "0000:00:08.0"
+ cidr: '152.16.40.19/24'
+ gateway_ip: '152.16.100.20'
diff --git a/samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_7cores_2ports_64B_trex.yaml b/samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_7cores_2ports_64B_trex.yaml
new file mode 100644
index 000000000..c128df37b
--- /dev/null
+++ b/samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_7cores_2ports_64B_trex.yaml
@@ -0,0 +1,92 @@
+# Copyright (c) 2016-2017 Intel Corporation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+---
+schema: yardstick:task:0.1
+scenarios:
+- type: NSPerf
+ traffic_profile: ../../traffic_profiles/ipv4_throughput.yaml
+ topology: router-tg-topology.yaml
+ nodes:
+ tg__0: trafficgen_1.yardstick
+ vnf__0: vnf.yardstick
+ cpt__0: sriov.yardstick
+ options:
+ framesize:
+ uplink: {64B: 100}
+ downlink: {64B: 100}
+ flow:
+ src_ip:
+ - '152.16.100.26-152.16.100.105'
+ dst_ip:
+ - '152.16.40.26-152.16.40.105'
+ src_port:
+ - '1234-1238'
+ dst_port:
+ - '2001-2004'
+ count: 128000
+ traffic_type: 4
+ rfc2544:
+ allowed_drop_rate: 0.0001 - 0.1
+ tg__0:
+ queues_per_port: 4
+ vnf__0:
+ nfvi_enable: True
+ runner:
+ type: Iteration
+ iterations: 10
+ interval: 35
+contexts:
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/host_sriov.yaml
+
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/pod_trex.yaml
+
+ - name: yardstick
+ type: StandaloneSriov
+ file: /etc/yardstick/nodes/standalone/host_sriov.yaml
+ vm_deploy: True
+ flavor:
+ images: "/var/lib/libvirt/images/ubuntu.qcow2"
+ ram: 4096
+ extra_specs:
+ hw:cpu_sockets: 1
+ hw:cpu_cores: 7
+ hw:cpu_threads: 1
+ user: root
+ password: password
+ servers:
+ vnf:
+ network_ports:
+ mgmt:
+ ip: '192.168.18.185'
+ cidr: '192.168.18.185/30'
+ xe0:
+ - uplink_0
+ xe1:
+ - downlink_0
+ networks:
+ uplink_0:
+ phy_port: "0000:07:00.0"
+ vpci: "0000:00:07.0"
+ cidr: '152.16.100.19/24'
+ gateway_ip: '152.16.100.20'
+ downlink_0:
+ phy_port: "0000:07:00.1"
+ vpci: "0000:00:08.0"
+ cidr: '152.16.40.19/24'
+ gateway_ip: '152.16.100.20'
diff --git a/samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_9cores_4ports_1024B_trex.yaml b/samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_9cores_4ports_1024B_trex.yaml
new file mode 100644
index 000000000..7be7c991c
--- /dev/null
+++ b/samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_9cores_4ports_1024B_trex.yaml
@@ -0,0 +1,121 @@
+# Copyright (c) 2016-2017 Intel Corporation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+---
+schema: yardstick:task:0.1
+scenarios:
+- type: NSPerf
+ traffic_profile: ../../traffic_profiles/ipv4_throughput.yaml
+ topology: router-tg-topology-4port.yaml
+ nodes:
+ tg__0: trafficgen_1.yardstick
+ vnf__0: vnf.yardstick
+# Required for enabling NFVi collection
+ cpt__0: sriov.yardstick
+ options:
+ framesize:
+ uplink: {1024B: 100}
+ downlink: {1024B: 100}
+ flow:
+ src_ip:
+ - '152.16.100.26-152.16.100.105'
+ - '152.16.101.26-152.16.101.105'
+ dst_ip:
+ - '152.16.40.26-152.16.40.105'
+ - '152.16.41.26-152.16.41.105'
+ src_port:
+ - '1234-1238'
+ dst_port:
+ - '2001-2004'
+ count: 128000
+ traffic_type: 4
+ rfc2544:
+ allowed_drop_rate: 0.0001 - 0.1
+ tg__0:
+ queues_per_port: 8
+ vnf__0:
+ nfvi_enable: True
+ runner:
+ type: Iteration
+ iterations: 10
+ interval: 35
+contexts:
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/host_sriov.yaml
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/pod_trex_4ports.yaml
+ - type: StandaloneSriov
+ file: /etc/yardstick/nodes/standalone/host_sriov.yaml
+ name: yardstick
+ vm_deploy: True
+ flavor:
+ images: "/var/lib/libvirt/images/ubuntu_9cores.qcow2"
+ ram: 4096
+ hw_socket: 1
+ extra_specs:
+ hw:cpu_sockets: 1
+ hw:cpu_cores: 9
+ hw:cpu_threads: 1
+ cputune: "<cputune>
+ <vcpupin vcpu='0' cpuset='31'/>
+ <vcpupin vcpu='1' cpuset='32'/>
+ <vcpupin vcpu='2' cpuset='33'/>
+ <vcpupin vcpu='3' cpuset='34'/>
+ <vcpupin vcpu='4' cpuset='35'/>
+ <vcpupin vcpu='5' cpuset='36'/>
+ <vcpupin vcpu='6' cpuset='37'/>
+ <vcpupin vcpu='7' cpuset='38'/>
+ <vcpupin vcpu='8' cpuset='39'/>
+ <emulatorpin cpuset='31-39'/>
+ </cputune>"
+ user: root
+ password: password
+ servers:
+ vnf:
+ network_ports:
+ mgmt:
+ ip: '10.166.31.252'
+ cidr: '10.166.31.252/28'
+ xe0:
+ - uplink_0
+ xe1:
+ - downlink_0
+ xe2:
+ - uplink_1
+ xe3:
+ - downlink_1
+ networks:
+ uplink_0:
+ phy_port: "0000:88:00.0"
+ vpci: "0000:00:07.0"
+ cidr: '152.16.100.19/24'
+ gateway_ip: '152.16.100.20'
+ downlink_0:
+ phy_port: "0000:d8:00.0"
+ vpci: "0000:00:08.0"
+ cidr: '152.16.40.19/24'
+ gateway_ip: '152.16.40.20'
+ uplink_1:
+ phy_port: "0000:81:00.0"
+ vpci: "0000:00:09.0"
+ cidr: '152.16.101.19/24'
+ gateway_ip: '152.16.101.20'
+ downlink_1:
+ phy_port: "0000:86:00.0"
+ vpci: "0000:00:0a.0"
+ cidr: '152.16.41.19/24'
+ gateway_ip: '152.16.41.20'
+
diff --git a/samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_9cores_4ports_1280B_trex.yaml b/samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_9cores_4ports_1280B_trex.yaml
new file mode 100644
index 000000000..cf73e1690
--- /dev/null
+++ b/samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_9cores_4ports_1280B_trex.yaml
@@ -0,0 +1,121 @@
+# Copyright (c) 2016-2017 Intel Corporation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+---
+schema: yardstick:task:0.1
+scenarios:
+- type: NSPerf
+ traffic_profile: ../../traffic_profiles/ipv4_throughput.yaml
+ topology: router-tg-topology-4port.yaml
+ nodes:
+ tg__0: trafficgen_1.yardstick
+ vnf__0: vnf.yardstick
+# Required for enabling NFVi collection
+ cpt__0: sriov.yardstick
+ options:
+ framesize:
+ uplink: {1280B: 100}
+ downlink: {1280B: 100}
+ flow:
+ src_ip:
+ - '152.16.100.26-152.16.100.105'
+ - '152.16.101.26-152.16.101.105'
+ dst_ip:
+ - '152.16.40.26-152.16.40.105'
+ - '152.16.41.26-152.16.41.105'
+ src_port:
+ - '1234-1238'
+ dst_port:
+ - '2001-2004'
+ count: 128000
+ traffic_type: 4
+ rfc2544:
+ allowed_drop_rate: 0.0001 - 0.1
+ tg__0:
+ queues_per_port: 8
+ vnf__0:
+ nfvi_enable: True
+ runner:
+ type: Iteration
+ iterations: 10
+ interval: 35
+contexts:
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/host_sriov.yaml
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/pod_trex_4ports.yaml
+ - type: StandaloneSriov
+ file: /etc/yardstick/nodes/standalone/host_sriov.yaml
+ name: yardstick
+ vm_deploy: True
+ flavor:
+ images: "/var/lib/libvirt/images/ubuntu_9cores.qcow2"
+ ram: 4096
+ hw_socket: 1
+ extra_specs:
+ hw:cpu_sockets: 1
+ hw:cpu_cores: 9
+ hw:cpu_threads: 1
+ cputune: "<cputune>
+ <vcpupin vcpu='0' cpuset='31'/>
+ <vcpupin vcpu='1' cpuset='32'/>
+ <vcpupin vcpu='2' cpuset='33'/>
+ <vcpupin vcpu='3' cpuset='34'/>
+ <vcpupin vcpu='4' cpuset='35'/>
+ <vcpupin vcpu='5' cpuset='36'/>
+ <vcpupin vcpu='6' cpuset='37'/>
+ <vcpupin vcpu='7' cpuset='38'/>
+ <vcpupin vcpu='8' cpuset='39'/>
+ <emulatorpin cpuset='31-39'/>
+ </cputune>"
+ user: root
+ password: password
+ servers:
+ vnf:
+ network_ports:
+ mgmt:
+ ip: '10.166.31.252'
+ cidr: '10.166.31.252/28'
+ xe0:
+ - uplink_0
+ xe1:
+ - downlink_0
+ xe2:
+ - uplink_1
+ xe3:
+ - downlink_1
+ networks:
+ uplink_0:
+ phy_port: "0000:88:00.0"
+ vpci: "0000:00:07.0"
+ cidr: '152.16.100.19/24'
+ gateway_ip: '152.16.100.20'
+ downlink_0:
+ phy_port: "0000:d8:00.0"
+ vpci: "0000:00:08.0"
+ cidr: '152.16.40.19/24'
+ gateway_ip: '152.16.40.20'
+ uplink_1:
+ phy_port: "0000:81:00.0"
+ vpci: "0000:00:09.0"
+ cidr: '152.16.101.19/24'
+ gateway_ip: '152.16.101.20'
+ downlink_1:
+ phy_port: "0000:86:00.0"
+ vpci: "0000:00:0a.0"
+ cidr: '152.16.41.19/24'
+ gateway_ip: '152.16.41.20'
+
diff --git a/samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_9cores_4ports_128B_trex.yaml b/samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_9cores_4ports_128B_trex.yaml
new file mode 100644
index 000000000..493acb20b
--- /dev/null
+++ b/samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_9cores_4ports_128B_trex.yaml
@@ -0,0 +1,121 @@
+# Copyright (c) 2016-2017 Intel Corporation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+---
+schema: yardstick:task:0.1
+scenarios:
+- type: NSPerf
+ traffic_profile: ../../traffic_profiles/ipv4_throughput.yaml
+ topology: router-tg-topology-4port.yaml
+ nodes:
+ tg__0: trafficgen_1.yardstick
+ vnf__0: vnf.yardstick
+# Required for enabling NFVi collection
+ cpt__0: sriov.yardstick
+ options:
+ framesize:
+ uplink: {128B: 100}
+ downlink: {128B: 100}
+ flow:
+ src_ip:
+ - '152.16.100.26-152.16.100.105'
+ - '152.16.101.26-152.16.101.105'
+ dst_ip:
+ - '152.16.40.26-152.16.40.105'
+ - '152.16.41.26-152.16.41.105'
+ src_port:
+ - '1234-1238'
+ dst_port:
+ - '2001-2004'
+ count: 128000
+ traffic_type: 4
+ rfc2544:
+ allowed_drop_rate: 0.0001 - 0.1
+ tg__0:
+ queues_per_port: 8
+ vnf__0:
+ nfvi_enable: True
+ runner:
+ type: Iteration
+ iterations: 10
+ interval: 35
+contexts:
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/host_sriov.yaml
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/pod_trex_4ports.yaml
+ - type: StandaloneSriov
+ file: /etc/yardstick/nodes/standalone/host_sriov.yaml
+ name: yardstick
+ vm_deploy: True
+ flavor:
+ images: "/var/lib/libvirt/images/ubuntu_9cores.qcow2"
+ ram: 4096
+ hw_socket: 1
+ extra_specs:
+ hw:cpu_sockets: 1
+ hw:cpu_cores: 9
+ hw:cpu_threads: 1
+ cputune: "<cputune>
+ <vcpupin vcpu='0' cpuset='31'/>
+ <vcpupin vcpu='1' cpuset='32'/>
+ <vcpupin vcpu='2' cpuset='33'/>
+ <vcpupin vcpu='3' cpuset='34'/>
+ <vcpupin vcpu='4' cpuset='35'/>
+ <vcpupin vcpu='5' cpuset='36'/>
+ <vcpupin vcpu='6' cpuset='37'/>
+ <vcpupin vcpu='7' cpuset='38'/>
+ <vcpupin vcpu='8' cpuset='39'/>
+ <emulatorpin cpuset='31-39'/>
+ </cputune>"
+ user: root
+ password: password
+ servers:
+ vnf:
+ network_ports:
+ mgmt:
+ ip: '10.166.31.252'
+ cidr: '10.166.31.252/28'
+ xe0:
+ - uplink_0
+ xe1:
+ - downlink_0
+ xe2:
+ - uplink_1
+ xe3:
+ - downlink_1
+ networks:
+ uplink_0:
+ phy_port: "0000:88:00.0"
+ vpci: "0000:00:07.0"
+ cidr: '152.16.100.19/24'
+ gateway_ip: '152.16.100.20'
+ downlink_0:
+ phy_port: "0000:d8:00.0"
+ vpci: "0000:00:08.0"
+ cidr: '152.16.40.19/24'
+ gateway_ip: '152.16.40.20'
+ uplink_1:
+ phy_port: "0000:81:00.0"
+ vpci: "0000:00:09.0"
+ cidr: '152.16.101.19/24'
+ gateway_ip: '152.16.101.20'
+ downlink_1:
+ phy_port: "0000:86:00.0"
+ vpci: "0000:00:0a.0"
+ cidr: '152.16.41.19/24'
+ gateway_ip: '152.16.41.20'
+
diff --git a/samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_9cores_4ports_1518B_trex.yaml b/samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_9cores_4ports_1518B_trex.yaml
new file mode 100644
index 000000000..6a88e3b8c
--- /dev/null
+++ b/samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_9cores_4ports_1518B_trex.yaml
@@ -0,0 +1,121 @@
+# Copyright (c) 2016-2017 Intel Corporation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+---
+schema: yardstick:task:0.1
+scenarios:
+- type: NSPerf
+ traffic_profile: ../../traffic_profiles/ipv4_throughput.yaml
+ topology: router-tg-topology-4port.yaml
+ nodes:
+ tg__0: trafficgen_1.yardstick
+ vnf__0: vnf.yardstick
+# Required for enabling NFVi collection
+ cpt__0: sriov.yardstick
+ options:
+ framesize:
+ uplink: {1518B: 100}
+ downlink: {1518B: 100}
+ flow:
+ src_ip:
+ - '152.16.100.26-152.16.100.105'
+ - '152.16.101.26-152.16.101.105'
+ dst_ip:
+ - '152.16.40.26-152.16.40.105'
+ - '152.16.41.26-152.16.41.105'
+ src_port:
+ - '1234-1238'
+ dst_port:
+ - '2001-2004'
+ count: 128000
+ traffic_type: 4
+ rfc2544:
+ allowed_drop_rate: 0.0001 - 0.1
+ tg__0:
+ queues_per_port: 8
+ vnf__0:
+ nfvi_enable: True
+ runner:
+ type: Iteration
+ iterations: 10
+ interval: 35
+contexts:
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/host_sriov.yaml
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/pod_trex_4ports.yaml
+ - type: StandaloneSriov
+ file: /etc/yardstick/nodes/standalone/host_sriov.yaml
+ name: yardstick
+ vm_deploy: True
+ flavor:
+ images: "/var/lib/libvirt/images/ubuntu_9cores.qcow2"
+ ram: 4096
+ hw_socket: 1
+ extra_specs:
+ hw:cpu_sockets: 1
+ hw:cpu_cores: 9
+ hw:cpu_threads: 1
+ cputune: "<cputune>
+ <vcpupin vcpu='0' cpuset='31'/>
+ <vcpupin vcpu='1' cpuset='32'/>
+ <vcpupin vcpu='2' cpuset='33'/>
+ <vcpupin vcpu='3' cpuset='34'/>
+ <vcpupin vcpu='4' cpuset='35'/>
+ <vcpupin vcpu='5' cpuset='36'/>
+ <vcpupin vcpu='6' cpuset='37'/>
+ <vcpupin vcpu='7' cpuset='38'/>
+ <vcpupin vcpu='8' cpuset='39'/>
+ <emulatorpin cpuset='31-39'/>
+ </cputune>"
+ user: root
+ password: password
+ servers:
+ vnf:
+ network_ports:
+ mgmt:
+ ip: '10.166.31.252'
+ cidr: '10.166.31.252/28'
+ xe0:
+ - uplink_0
+ xe1:
+ - downlink_0
+ xe2:
+ - uplink_1
+ xe3:
+ - downlink_1
+ networks:
+ uplink_0:
+ phy_port: "0000:88:00.0"
+ vpci: "0000:00:07.0"
+ cidr: '152.16.100.19/24'
+ gateway_ip: '152.16.100.20'
+ downlink_0:
+ phy_port: "0000:d8:00.0"
+ vpci: "0000:00:08.0"
+ cidr: '152.16.40.19/24'
+ gateway_ip: '152.16.40.20'
+ uplink_1:
+ phy_port: "0000:81:00.0"
+ vpci: "0000:00:09.0"
+ cidr: '152.16.101.19/24'
+ gateway_ip: '152.16.101.20'
+ downlink_1:
+ phy_port: "0000:86:00.0"
+ vpci: "0000:00:0a.0"
+ cidr: '152.16.41.19/24'
+ gateway_ip: '152.16.41.20'
+
diff --git a/samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_9cores_4ports_256B_trex.yaml b/samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_9cores_4ports_256B_trex.yaml
new file mode 100644
index 000000000..79aba6043
--- /dev/null
+++ b/samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_9cores_4ports_256B_trex.yaml
@@ -0,0 +1,121 @@
+# Copyright (c) 2016-2017 Intel Corporation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+---
+schema: yardstick:task:0.1
+scenarios:
+- type: NSPerf
+ traffic_profile: ../../traffic_profiles/ipv4_throughput.yaml
+ topology: router-tg-topology-4port.yaml
+ nodes:
+ tg__0: trafficgen_1.yardstick
+ vnf__0: vnf.yardstick
+# Required for enabling NFVi collection
+ cpt__0: sriov.yardstick
+ options:
+ framesize:
+ uplink: {256B: 100}
+ downlink: {256B: 100}
+ flow:
+ src_ip:
+ - '152.16.100.26-152.16.100.105'
+ - '152.16.101.26-152.16.101.105'
+ dst_ip:
+ - '152.16.40.26-152.16.40.105'
+ - '152.16.41.26-152.16.41.105'
+ src_port:
+ - '1234-1238'
+ dst_port:
+ - '2001-2004'
+ count: 128000
+ traffic_type: 4
+ rfc2544:
+ allowed_drop_rate: 0.0001 - 0.1
+ tg__0:
+ queues_per_port: 8
+ vnf__0:
+ nfvi_enable: True
+ runner:
+ type: Iteration
+ iterations: 10
+ interval: 35
+contexts:
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/host_sriov.yaml
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/pod_trex_4ports.yaml
+ - type: StandaloneSriov
+ file: /etc/yardstick/nodes/standalone/host_sriov.yaml
+ name: yardstick
+ vm_deploy: True
+ flavor:
+ images: "/var/lib/libvirt/images/ubuntu_9cores.qcow2"
+ ram: 4096
+ hw_socket: 1
+ extra_specs:
+ hw:cpu_sockets: 1
+ hw:cpu_cores: 9
+ hw:cpu_threads: 1
+ cputune: "<cputune>
+ <vcpupin vcpu='0' cpuset='31'/>
+ <vcpupin vcpu='1' cpuset='32'/>
+ <vcpupin vcpu='2' cpuset='33'/>
+ <vcpupin vcpu='3' cpuset='34'/>
+ <vcpupin vcpu='4' cpuset='35'/>
+ <vcpupin vcpu='5' cpuset='36'/>
+ <vcpupin vcpu='6' cpuset='37'/>
+ <vcpupin vcpu='7' cpuset='38'/>
+ <vcpupin vcpu='8' cpuset='39'/>
+ <emulatorpin cpuset='31-39'/>
+ </cputune>"
+ user: root
+ password: password
+ servers:
+ vnf:
+ network_ports:
+ mgmt:
+ ip: '10.166.31.252'
+ cidr: '10.166.31.252/28'
+ xe0:
+ - uplink_0
+ xe1:
+ - downlink_0
+ xe2:
+ - uplink_1
+ xe3:
+ - downlink_1
+ networks:
+ uplink_0:
+ phy_port: "0000:88:00.0"
+ vpci: "0000:00:07.0"
+ cidr: '152.16.100.19/24'
+ gateway_ip: '152.16.100.20'
+ downlink_0:
+ phy_port: "0000:d8:00.0"
+ vpci: "0000:00:08.0"
+ cidr: '152.16.40.19/24'
+ gateway_ip: '152.16.40.20'
+ uplink_1:
+ phy_port: "0000:81:00.0"
+ vpci: "0000:00:09.0"
+ cidr: '152.16.101.19/24'
+ gateway_ip: '152.16.101.20'
+ downlink_1:
+ phy_port: "0000:86:00.0"
+ vpci: "0000:00:0a.0"
+ cidr: '152.16.41.19/24'
+ gateway_ip: '152.16.41.20'
+
diff --git a/samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_9cores_4ports_512B_trex.yaml b/samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_9cores_4ports_512B_trex.yaml
new file mode 100644
index 000000000..f83c78872
--- /dev/null
+++ b/samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_9cores_4ports_512B_trex.yaml
@@ -0,0 +1,121 @@
+# Copyright (c) 2016-2017 Intel Corporation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+---
+schema: yardstick:task:0.1
+scenarios:
+- type: NSPerf
+ traffic_profile: ../../traffic_profiles/ipv4_throughput.yaml
+ topology: router-tg-topology-4port.yaml
+ nodes:
+ tg__0: trafficgen_1.yardstick
+ vnf__0: vnf.yardstick
+# Required for enabling NFVi collection
+ cpt__0: sriov.yardstick
+ options:
+ framesize:
+ uplink: {512B: 100}
+ downlink: {512B: 100}
+ flow:
+ src_ip:
+ - '152.16.100.26-152.16.100.105'
+ - '152.16.101.26-152.16.101.105'
+ dst_ip:
+ - '152.16.40.26-152.16.40.105'
+ - '152.16.41.26-152.16.41.105'
+ src_port:
+ - '1234-1238'
+ dst_port:
+ - '2001-2004'
+ count: 128000
+ traffic_type: 4
+ rfc2544:
+ allowed_drop_rate: 0.0001 - 0.1
+ tg__0:
+ queues_per_port: 8
+ vnf__0:
+ nfvi_enable: True
+ runner:
+ type: Iteration
+ iterations: 10
+ interval: 35
+contexts:
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/host_sriov.yaml
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/pod_trex_4ports.yaml
+ - type: StandaloneSriov
+ file: /etc/yardstick/nodes/standalone/host_sriov.yaml
+ name: yardstick
+ vm_deploy: True
+ flavor:
+ images: "/var/lib/libvirt/images/ubuntu_9cores.qcow2"
+ ram: 4096
+ hw_socket: 1
+ extra_specs:
+ hw:cpu_sockets: 1
+ hw:cpu_cores: 9
+ hw:cpu_threads: 1
+ cputune: "<cputune>
+ <vcpupin vcpu='0' cpuset='31'/>
+ <vcpupin vcpu='1' cpuset='32'/>
+ <vcpupin vcpu='2' cpuset='33'/>
+ <vcpupin vcpu='3' cpuset='34'/>
+ <vcpupin vcpu='4' cpuset='35'/>
+ <vcpupin vcpu='5' cpuset='36'/>
+ <vcpupin vcpu='6' cpuset='37'/>
+ <vcpupin vcpu='7' cpuset='38'/>
+ <vcpupin vcpu='8' cpuset='39'/>
+ <emulatorpin cpuset='31-39'/>
+ </cputune>"
+ user: root
+ password: password
+ servers:
+ vnf:
+ network_ports:
+ mgmt:
+ ip: '10.166.31.252'
+ cidr: '10.166.31.252/28'
+ xe0:
+ - uplink_0
+ xe1:
+ - downlink_0
+ xe2:
+ - uplink_1
+ xe3:
+ - downlink_1
+ networks:
+ uplink_0:
+ phy_port: "0000:88:00.0"
+ vpci: "0000:00:07.0"
+ cidr: '152.16.100.19/24'
+ gateway_ip: '152.16.100.20'
+ downlink_0:
+ phy_port: "0000:d8:00.0"
+ vpci: "0000:00:08.0"
+ cidr: '152.16.40.19/24'
+ gateway_ip: '152.16.40.20'
+ uplink_1:
+ phy_port: "0000:81:00.0"
+ vpci: "0000:00:09.0"
+ cidr: '152.16.101.19/24'
+ gateway_ip: '152.16.101.20'
+ downlink_1:
+ phy_port: "0000:86:00.0"
+ vpci: "0000:00:0a.0"
+ cidr: '152.16.41.19/24'
+ gateway_ip: '152.16.41.20'
+
diff --git a/samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_9cores_4ports_64B_trex.yaml b/samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_9cores_4ports_64B_trex.yaml
new file mode 100644
index 000000000..2c4397233
--- /dev/null
+++ b/samples/vnf_samples/nsut/router/tc_sriov_rfc2544_ipv4_128Kflows_9cores_4ports_64B_trex.yaml
@@ -0,0 +1,121 @@
+# Copyright (c) 2016-2017 Intel Corporation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+---
+schema: yardstick:task:0.1
+scenarios:
+- type: NSPerf
+ traffic_profile: ../../traffic_profiles/ipv4_throughput.yaml
+ topology: router-tg-topology-4port.yaml
+ nodes:
+ tg__0: trafficgen_1.yardstick
+ vnf__0: vnf.yardstick
+# Required for enabling NFVi collection
+ cpt__0: sriov.yardstick
+ options:
+ framesize:
+ uplink: {64B: 100}
+ downlink: {64B: 100}
+ flow:
+ src_ip:
+ - '152.16.100.26-152.16.100.105'
+ - '152.16.101.26-152.16.101.105'
+ dst_ip:
+ - '152.16.40.26-152.16.40.105'
+ - '152.16.41.26-152.16.41.105'
+ src_port:
+ - '1234-1238'
+ dst_port:
+ - '2001-2004'
+ count: 128000
+ traffic_type: 4
+ rfc2544:
+ allowed_drop_rate: 0.0001 - 0.1
+ tg__0:
+ queues_per_port: 8
+ vnf__0:
+ nfvi_enable: True
+ runner:
+ type: Iteration
+ iterations: 10
+ interval: 35
+contexts:
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/host_sriov.yaml
+ - name: yardstick
+ type: Node
+ file: /etc/yardstick/nodes/standalone/pod_trex_4ports.yaml
+ - type: StandaloneSriov
+ file: /etc/yardstick/nodes/standalone/host_sriov.yaml
+ name: yardstick
+ vm_deploy: True
+ flavor:
+ images: "/var/lib/libvirt/images/ubuntu_9cores.qcow2"
+ ram: 4096
+ hw_socket: 1
+ extra_specs:
+ hw:cpu_sockets: 1
+ hw:cpu_cores: 9
+ hw:cpu_threads: 1
+ cputune: "<cputune>
+ <vcpupin vcpu='0' cpuset='31'/>
+ <vcpupin vcpu='1' cpuset='32'/>
+ <vcpupin vcpu='2' cpuset='33'/>
+ <vcpupin vcpu='3' cpuset='34'/>
+ <vcpupin vcpu='4' cpuset='35'/>
+ <vcpupin vcpu='5' cpuset='36'/>
+ <vcpupin vcpu='6' cpuset='37'/>
+ <vcpupin vcpu='7' cpuset='38'/>
+ <vcpupin vcpu='8' cpuset='39'/>
+ <emulatorpin cpuset='31-39'/>
+ </cputune>"
+ user: root
+ password: password
+ servers:
+ vnf:
+ network_ports:
+ mgmt:
+ ip: '10.166.31.252'
+ cidr: '10.166.31.252/28'
+ xe0:
+ - uplink_0
+ xe1:
+ - downlink_0
+ xe2:
+ - uplink_1
+ xe3:
+ - downlink_1
+ networks:
+ uplink_0:
+ phy_port: "0000:88:00.0"
+ vpci: "0000:00:07.0"
+ cidr: '152.16.100.19/24'
+ gateway_ip: '152.16.100.20'
+ downlink_0:
+ phy_port: "0000:d8:00.0"
+ vpci: "0000:00:08.0"
+ cidr: '152.16.40.19/24'
+ gateway_ip: '152.16.40.20'
+ uplink_1:
+ phy_port: "0000:81:00.0"
+ vpci: "0000:00:09.0"
+ cidr: '152.16.101.19/24'
+ gateway_ip: '152.16.101.20'
+ downlink_1:
+ phy_port: "0000:86:00.0"
+ vpci: "0000:00:0a.0"
+ cidr: '152.16.41.19/24'
+ gateway_ip: '152.16.41.20'
+