Fixes attaching networks for baremetal only to admin/public 09/6609/2
authorTim Rozet <trozet@redhat.com>
Wed, 13 Jan 2016 21:40:03 +0000 (16:40 -0500)
committerTim Rozet <trozet@redhat.com>
Thu, 14 Jan 2016 03:03:27 +0000 (22:03 -0500)
We should only bridge to admin/public for baremetal deployments.  There
is no reason for us to bridge to the private or storage networks on
instack for deployment.

Also fixes OpenDaylight to Lithium 3.3

Change-Id: I2eb8f83ddbcb69d3219e7927025b46dcb9550ba9
Signed-off-by: Tim Rozet <trozet@redhat.com>
build/instack.sh
ci/deploy.sh

index 54f05d5..92ef5e8 100755 (executable)
@@ -63,7 +63,7 @@ fi
 cat << 'EOF' | sudo tee /etc/yum.repos.d/opendaylight.repo
 [opendaylight]
 name=OpenDaylight $releasever - $basearch
-baseurl=http://cbs.centos.org/repos/nfv7-opendaylight-3-candidate/$basearch/os/
+baseurl=http://cbs.centos.org/repos/nfv7-opendaylight-33-release/$basearch/os/
 enabled=1
 gpgcheck=0
 EOF
@@ -254,7 +254,7 @@ LIBGUESTFS_BACKEND=direct virt-customize --run-command "yum remove -y openstack-
 
 # upload the opendaylight puppet module
 rm -rf puppet-opendaylight
-git clone https://github.com/dfarrell07/puppet-opendaylight
+git clone -b 2.2.0 https://github.com/dfarrell07/puppet-opendaylight
 pushd puppet-opendaylight
 git archive --format=tar.gz --prefix=opendaylight/ HEAD > ../puppet-opendaylight.tar.gz
 popd
index 05df640..21999d1 100755 (executable)
@@ -409,6 +409,9 @@ function configure_deps {
   if [[ -z "$virtual" || "$virtual" == "FALSE" ]]; then
     # bridge interfaces to correct OVS instances for baremetal deployment
     for network in ${enabled_network_list}; do
+      if [[ "$network" != "admin_network" && "$network" != "public_network" ]]; then
+        continue
+      fi
       this_interface=$(eval echo \${${network}_bridged_interface})
       # check if this a bridged interface for this network
       if [[ ! -z "$this_interface" || "$this_interface" != "none" ]]; then