1 # Copyright (c) 2018 Intel Corporation
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
15 schema: yardstick:task:0.1
18 traffic_profile: ../../traffic_profiles/pktgen_throughput.yaml
19 topology: cmts-tg-topology.yaml
21 tg__0: trafficgen-k8syardstick
22 vnf__0: vnf-k8syardstick
36 - image: si-docker.ir.intel.com/vcmts-ubuntu/vcmts-pktgen-uepi
37 args: ["/opt/bin/cmk isolate --conf-dir=/etc/cmk --socket-id=0 --pool=dataplane /vcmts/setup.sh anga_mac_1_ds.pcap ds"]
40 value: "/vcmts/Pktgen.lua"
45 pod.alpha.kubernetes.io/opaque-int-resource-cmk: "1"
47 - containerPort: 22022
50 mountPath: /dev/hugepages
58 - name: cmk-install-dir
63 allowPrivilegeEscalation: true
67 - name: lua # Lower case alphanumeric characters or '-'
81 path: /var/lib/cni/sriov
82 - name: cmk-install-dir
94 - image: si-docker.ir.intel.com/vcmts-ubuntu/vcmts-pktgen-uepi
95 args: ["/opt/bin/cmk isolate --conf-dir=/etc/cmk --socket-id=0 --pool=dataplane /vcmts/setup.sh anga_mac_1_ds.pcap ds"]
98 value: "/vcmts/Pktgen.lua"
103 pod.alpha.kubernetes.io/opaque-int-resource-cmk: "1"
105 - containerPort: 22022
108 mountPath: /dev/hugepages
112 mountPath: /sriov-cni
114 mountPath: /host/proc
116 - name: cmk-install-dir
121 allowPrivilegeEscalation: true
125 - name: lua # Lower case alphanumeric characters or '-'
139 path: /var/lib/cni/sriov
140 - name: cmk-install-dir
152 args: '[{ "delegate": { "isDefaultGateway": true }}]'
156 args: '[{"if0": "ens802f0",
159 "kernel_driver": "i40evf",
160 "dpdk_driver": "igb_uio",
161 "dpdk_tool": "/opt/nsb_bin/dpdk-devbind.py"}
165 args: '[{"if0": "ens802f0",
168 "kernel_driver": "i40evf",
169 "dpdk_driver": "igb_uio",
170 "dpdk_tool": "/opt/nsb_bin/dpdk-devbind.py"}