Browse code

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

Dean Troyer authored on 2013/03/30 04:06:52
Showing 1 changed files
... ...
@@ -79,9 +79,9 @@ SWIFT_REPLICAS_SEQ=$(seq ${SWIFT_REPLICAS})
79 79
 # Port bases used in port number calclution for the service "nodes"
80 80
 # The specified port number will be used, the additinal ports calculated by
81 81
 # base_port + node_num * 10
82
-OBJECT_PORT_BASE=6013
83
-CONTAINER_PORT_BASE=6011
84
-ACCOUNT_PORT_BASE=6012
82
+OBJECT_PORT_BASE=${OBJECT_PORT_BASE:-6013}
83
+CONTAINER_PORT_BASE=${CONTAINER_PORT_BASE:-6011}
84
+ACCOUNT_PORT_BASE=${ACCOUNT_PORT_BASE:-6012}
85 85
 
86 86
 
87 87
 # Entry Points