diff options
Diffstat (limited to 'build')
-rw-r--r-- | build/build_perf_image.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/build/build_perf_image.sh b/build/build_perf_image.sh index 68a1804f..68f74ea2 100644 --- a/build/build_perf_image.sh +++ b/build/build_perf_image.sh @@ -41,3 +41,14 @@ if [ "$CATEGORY" == "kernel" ]; then fi fi +if [ "$CATEGORY" == "vpp" ]; then + if [ "$KEY" == "main-core" ]; then + sudo sed -i "/${ROLE}VPPMainCore:/c\ ${ROLE}VPPMainCore: '${VALUE}'" /usr/share/openstack-tripleo-heat-templates/environments/numa.yaml + fi + if [ "$KEY" == "corelist-workers" ]; then + sudo sed -i "/${ROLE}VPPCorelistWorkers:/c\ ${ROLE}VPPCorelistWorkers: '${VALUE}'" /usr/share/openstack-tripleo-heat-templates/environments/numa.yaml + fi + if [ "$KEY" == "uio-driver" ]; then + sudo sed -i "/${ROLE}UIODriver:/c\ ${ROLE}UIODriver: '${VALUE}'" /usr/share/openstack-tripleo-heat-templates/environments/numa.yaml + fi +fi
\ No newline at end of file |