summaryrefslogtreecommitdiffstats
path: root/ci/02-deploybundle.sh
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2017-02-14 23:52:10 -0600
committerNarinder Gupta <narinder.gupta@canonical.com>2017-02-14 23:53:40 -0600
commite719bf409fc5d711e1df8b8fb3a3da8660b0a3c0 (patch)
treee272680a7681b60819a2517be24e5261d9ee5efd /ci/02-deploybundle.sh
parent11d88375218cf94d24024b4178d2d1cd78e49999 (diff)
modified to enable cpu pinning anf ceph.
Change-Id: I43e5fe208d771c9f1c92cdfc392b9ba1ddea41e4 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'ci/02-deploybundle.sh')
-rwxr-xr-xci/02-deploybundle.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/ci/02-deploybundle.sh b/ci/02-deploybundle.sh
index 7ac224ae..ee2cac9a 100755
--- a/ci/02-deploybundle.sh
+++ b/ci/02-deploybundle.sh
@@ -96,6 +96,12 @@ if [[ "$opnfvmodel" = "openstack" ]]; then
workmutiple=0.05
fi
sed -i "s/worker_multiplier: 1.0/worker_multiplier: ${workmutiple}/g" default_deployment_config.yaml
+
+ if [ "$opnfvlab" != "default" ]; then
+ sed -i "s/cpu_pin_set: all/cpu_pin_set: 2-${max},^${max}/g" default_deployment_config.yaml
+ else
+ sed -i "s/cpu_pin_set: all/cpu_pin_set: 1/g" default_deployment_config.yaml
+ fi
fi
case "$opnfvlab" in