summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorItsuro Oda <oda@valinux.co.jp>2017-10-05 09:20:56 +0900
committerItsuro Oda <oda@valinux.co.jp>2017-10-05 14:38:20 +0900
commitb127bc4888a60be64895667ab8be5fd08cbb2d42 (patch)
treed222c5e98b8130045cfd46e2f510595f18e87aa3
parentbaa2ab26c6a3c096a034f0ef99083096c005267d (diff)
add change dir
generate_dsl.py assumes lagopus_template.dsl exists current directory. Change-Id: Ic5177d60d9488793071f7975ce40190bbb8eb559
Notes
Notes (review): Code-Review+2: Hirofumi Ichihara <ichihara.hirofumi@lab.ntt.co.jp> Workflow+1: Hirofumi Ichihara <ichihara.hirofumi@lab.ntt.co.jp> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Thu, 05 Oct 2017 05:56:57 +0000 Reviewed-on: https://review.openstack.org/509686 Project: openstack/networking-lagopus Branch: refs/heads/master
-rw-r--r--devstack/lagopus3
1 files changed, 2 insertions, 1 deletions
diff --git a/devstack/lagopus b/devstack/lagopus
index 30a48df..c05c963 100644
--- a/devstack/lagopus
+++ b/devstack/lagopus
@@ -27,7 +27,8 @@ function install_lagopus {
27function generate_dsl { 27function generate_dsl {
28 local dir=${GITDIR['networking-lagopus']} 28 local dir=${GITDIR['networking-lagopus']}
29 sudo mkdir -p $LAGOPUS_CONF_DIR 29 sudo mkdir -p $LAGOPUS_CONF_DIR
30 sudo python $dir/devstack/generate_dsl.py \ 30 cd $dir/devstack
31 sudo python generate_dsl.py \
31 $DPDK_PORT_MAPPINGS $LAGOPUS_CONF_DIR/$LAGOPUS_CONF 32 $DPDK_PORT_MAPPINGS $LAGOPUS_CONF_DIR/$LAGOPUS_CONF
32} 33}
33 34