From 1151d6ff6116ffa86eb49221cdd949380a4d7423 Mon Sep 17 00:00:00 2001 From: Dean Troyer Date: Fri, 29 Mar 2013 14:06:52 -0500 Subject: [PATCH] Make Swift *_PORT_BASE configurable DevStack's Swift port defaults changed in the Grizzly cycle, we need to put it back to complete the upgrade without going through the ring build process. Change-Id: I30c09839690ad7ba9bb3fdffa3f05aedfc47559e --- lib/swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/swift b/lib/swift index 783ec7503a..d01f6871e0 100644 --- a/lib/swift +++ b/lib/swift @@ -79,9 +79,9 @@ SWIFT_REPLICAS_SEQ=$(seq ${SWIFT_REPLICAS}) # Port bases used in port number calclution for the service "nodes" # The specified port number will be used, the additinal ports calculated by # base_port + node_num * 10 -OBJECT_PORT_BASE=6013 -CONTAINER_PORT_BASE=6011 -ACCOUNT_PORT_BASE=6012 +OBJECT_PORT_BASE=${OBJECT_PORT_BASE:-6013} +CONTAINER_PORT_BASE=${CONTAINER_PORT_BASE:-6011} +ACCOUNT_PORT_BASE=${ACCOUNT_PORT_BASE:-6012} # Entry Points