From 295ee1a3ae66746088cb841b6f691a6817943c0e Mon Sep 17 00:00:00 2001 From: Tim Rozet Date: Wed, 17 Aug 2016 12:53:11 -0400 Subject: Adds fds networking-odl for ODL FDIO deployments JIRA: APEX-133 Change-Id: I7d87f2e463921369cd002b768976fd9cc06c8a91 Signed-off-by: Tim Rozet --- lib/overcloud-deploy-functions.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib') diff --git a/lib/overcloud-deploy-functions.sh b/lib/overcloud-deploy-functions.sh index ef07ec0a..df17750b 100755 --- a/lib/overcloud-deploy-functions.sh +++ b/lib/overcloud-deploy-functions.sh @@ -94,6 +94,12 @@ EOF if [ "${deploy_options_array['dataplane']}" == 'fdio' ]; then sudo sed -i '/FdioEnabled:/c\ FdioEnabled: true' /usr/share/openstack-tripleo-heat-templates/environments/numa.yaml + if [ "${deploy_options_array['sdn_controller']}" == 'opendaylight' ]; then + LIBGUESTFS_BACKEND=direct virt-customize --run-command "cd /root/ && tar zxvf networking-odl.tar.gz" \ + --run-command "cd /root/networking-odl && git init && pip install -r requirements.txt" \ + --run-command "cd /root/networking-odl && python setup.py build && python setup.py install" \ + -a overcloud-full.qcow2 + fi else LIBGUESTFS_BACKEND=direct virt-customize --run-command "yum install -y /root/dpdk_rpms/*" \ -a overcloud-full.qcow2 -- cgit 1.2.3-korg