Browse Source

Update qdrouterd.conf for qpid-dispatch-router

V0.6 schema changes for configuration entities.

Change-Id: Ibc0b79d333edeba6d8d3ede1e8bbd23d4d02ffde
Andrew Smith 2 years ago
parent
commit
7390461041
1 changed files with 43 additions and 22 deletions
  1. 43
    22
      devstack/plugin.sh

+ 43
- 22
devstack/plugin.sh View File

@@ -169,24 +169,17 @@ function _configure_qdr {
169 169
 
170 170
     # qdouterd.conf file customization for devstack deployment
171 171
     # Define attributes related to the AMQP container
172
+    # Create stand alone router
172 173
     cat <<EOF | sudo tee $qdr_conf_file
173
-container {
174
+router {
175
+    mode: standalone
176
+    id: Router.A
174 177
     workerThreads: 4
175
-    containerName: Qpid.Dispatch.Router.A
176 178
     saslConfigPath: /etc/sasl2
177 179
     saslConfigName: qdrouterd
178 180
     debugDump: /opt/stack/amqp1
179 181
 }
180 182
 
181
-EOF
182
-
183
-    # Create stand alone router
184
-    cat <<EOF | sudo tee --append $qdr_conf_file
185
-router {
186
-    mode: standalone
187
-    routerId: Router.A
188
-}
189
-
190 183
 EOF
191 184
 
192 185
     # Create a listener for incoming connect to the router
@@ -227,21 +220,49 @@ EOF
227 220
 
228 221
     # Create fixed address prefixes
229 222
     cat <<EOF | sudo tee --append $qdr_conf_file
230
-fixedAddress {
231
-    prefix: /unicast
232
-    fanout: single
233
-    bias: closest
223
+address {
224
+    prefix: unicast
225
+    distribution: closest
226
+}
227
+
228
+address {
229
+    prefix: exclusive
230
+    distribution: closest
231
+}
232
+
233
+address {
234
+    prefix: broadcast
235
+    distribution: multicast
236
+}
237
+
238
+address {
239
+    prefix: openstack.org/om/rpc/multicast
240
+    distribution: multicast
241
+}
242
+
243
+address {
244
+    prefix: openstack.org/om/rpc/unicast
245
+    distribution: closest
246
+}
247
+
248
+address {
249
+    prefix: openstack.org/om/rpc/anycast
250
+    distribution: balanced
251
+}
252
+
253
+address {
254
+    prefix: openstack.org/om/notify/multicast
255
+    distribution: multicast
234 256
 }
235 257
 
236
-fixedAddress {
237
-    prefix: /exclusive
238
-    fanout: single
239
-    bias: closest
258
+address {
259
+    prefix: openstack.org/om/notify/unicast
260
+    distribution: closest
240 261
 }
241 262
 
242
-fixedAddress {
243
-    prefix: /broadcast
244
-    fanout: multiple
263
+address {
264
+    prefix: openstack.org/om/notify/anycast
265
+    distribution: balanced
245 266
 }
246 267
 
247 268
 EOF

Loading…
Cancel
Save