Browse code

Merge "Make Swift *_PORT_BASE configurable"

Jenkins authored on 2013/03/30 05:52: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