summaryrefslogtreecommitdiffstats
path: root/patches/opnfv-fuel/0010-deploy.sh-allow-specifying-several-bridges.patch
diff options
context:
space:
mode:
authorJosep Puigdemont <josep.puigdemont@enea.com>2016-06-17 17:28:59 +0200
committerJosep Puigdemont <josep.puigdemont@enea.com>2016-06-17 17:28:59 +0200
commit440c1f1321eb06f570207506d212220661bd3a9d (patch)
treed054e797dad10a042e63b7cf618761392449146c /patches/opnfv-fuel/0010-deploy.sh-allow-specifying-several-bridges.patch
parentc1b2d0f84ce5b685185fa34d6c007d31e9ade3bb (diff)
opnv-fuel: updated deploy patch set
Change-Id: I9442f217d2f840382b40f6eae77ddb9ae2ddbadc Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
Diffstat (limited to 'patches/opnfv-fuel/0010-deploy.sh-allow-specifying-several-bridges.patch')
-rw-r--r--patches/opnfv-fuel/0010-deploy.sh-allow-specifying-several-bridges.patch47
1 files changed, 0 insertions, 47 deletions
diff --git a/patches/opnfv-fuel/0010-deploy.sh-allow-specifying-several-bridges.patch b/patches/opnfv-fuel/0010-deploy.sh-allow-specifying-several-bridges.patch
deleted file mode 100644
index d3de23f6..00000000
--- a/patches/opnfv-fuel/0010-deploy.sh-allow-specifying-several-bridges.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-From: Josep Puigdemont <josep.puigdemont@enea.com>
-Date: Fri, 6 May 2016 04:39:44 +0200
-Subject: [PATCH] deploy.sh: allow specifying several bridges
-
-It might be desirable to add several bridges to the fuel VM, so we let
-the user specify -B more than once, and honor that when calling
-deploy.py. We also make it possible to specify a comma separated list of
-bridges, as in: -B br1,br2, for convenience for the Jenkins jobs.
-
-There is a change in behavior from the previous version, and that is
-that it may call the deploy.py python script with more than one instance
-of the "-b" parameter.
-
-Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
----
- ci/deploy.sh | 11 +++++++----
- 1 file changed, 7 insertions(+), 4 deletions(-)
-
-diff --git a/ci/deploy.sh b/ci/deploy.sh
-index dc13f1c..3a95327 100755
---- a/ci/deploy.sh
-+++ b/ci/deploy.sh
-@@ -57,7 +57,10 @@ and provides a fairly simple mechanism to execute a deployment.
- Input parameters to the build script is:
- -b Base URI to the configuration directory (needs to be provided in a URI
- style, it can be a local resource: file:// or a remote resource http(s)://)
---B PXE Bridge for booting of Fuel master, default is pxebr
-+-B PXE Bridge for booting of Fuel master. It can be specified several times,
-+ or as a comma separated list of bridges, or both: -B br1 -B br2,br3
-+ One NIC connected to each specified bridge will be created in the Fuel VM,
-+ in the same order as provided in the command line. The default is pxebr.
- -d Dry-run - Produces deploy config files (config/dea.yaml and
- config/dha.yaml), but does not execute deploy
- -f Deploy on existing Fuel master
-@@ -133,9 +136,9 @@ do
- fi
- ;;
- B)
-- if [[ ${OPTARG} ]]; then
-- PXE_BRIDGE="-b ${OPTARG}"
-- fi
-+ for bridge in ${OPTARG//,/ }; do
-+ PXE_BRIDGE+=" -b $bridge"
-+ done
- ;;
- d)
- DRY_RUN=1