Skip to content

Commit 9504bb3

Browse files
author
Malini Kamalambal
committed
Rename Marconi to Zaqar
This patch changes all Marconi references to Zaqar. Change-Id: Iec4aeca54c0f383c995fba564bc59daa550d3747 Implements: blueprint project-rename
1 parent a6a4546 commit 9504bb3

6 files changed

Lines changed: 252 additions & 251 deletions

File tree

docs/source/index.html

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -287,8 +287,8 @@ <h2>Scripts <small>Generated documentation of DevStack scripts.</small></h2>
287287
<td><a href="lib/ldap.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
288288
</tr>
289289
<tr>
290-
<td>lib/marconi</td>
291-
<td><a href="lib/marconi.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
290+
<td>lib/zaqar</td>
291+
<td><a href="lib/zaqar.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
292292
</tr>
293293
<tr>
294294
<td>lib/neutron</td>
@@ -351,8 +351,8 @@ <h2>Scripts <small>Generated documentation of DevStack scripts.</small></h2>
351351
<td><a href="extras.d/50-ironic.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
352352
</tr>
353353
<tr>
354-
<td>extras.d/70-marconi.sh</td>
355-
<td><a href="extras.d/70-marconi.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
354+
<td>extras.d/70-zaqar.sh</td>
355+
<td><a href="extras.d/70-zaqar.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
356356
</tr>
357357
<tr>
358358
<td>extras.d/70-sahara.sh</td>
@@ -516,9 +516,6 @@ <h2>Exercises <small>Generated documentation of DevStack scripts.</small></h2>
516516
<tr>
517517
<td>exercises/horizon.sh</td>
518518
<td><a href="exercises/horizon.sh.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
519-
</tr>
520-
<td>exercises/marconi.sh</td>
521-
<td><a href="exercises/marconi.sh.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
522519
</tr>
523520
<tr>
524521
<td>exercises/neutron-adv-test.sh</td>
@@ -545,6 +542,10 @@ <h2>Exercises <small>Generated documentation of DevStack scripts.</small></h2>
545542
<td>exercises/volumes.sh</td>
546543
<td><a href="exercises/volumes.sh.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
547544
</tr>
545+
<tr>
546+
<td>exercises/zaqar.sh</td>
547+
<td><a href="exercises/zaqar.sh.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
548+
</tr>
548549
</tbody>
549550
</table>
550551

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#!/usr/bin/env bash
22

3-
# **marconi.sh**
3+
# **zaqar.sh**
44

5-
# Sanity check that Marconi started if enabled
5+
# Sanity check that Zaqar started if enabled
66

77
echo "*********************************************************************"
88
echo "Begin DevStack Exercise: $0"
@@ -33,9 +33,9 @@ source $TOP_DIR/openrc
3333
# Import exercise configuration
3434
source $TOP_DIR/exerciserc
3535

36-
is_service_enabled marconi-server || exit 55
36+
is_service_enabled zaqar-server || exit 55
3737

38-
curl http://$SERVICE_HOST:8888/v1/ 2>/dev/null | grep -q 'queue_name' || die $LINENO "Marconi API not functioning!"
38+
curl http://$SERVICE_HOST:8888/v1/ 2>/dev/null | grep -q 'queue_name' || die $LINENO "Zaqar API not functioning!"
3939

4040
set +o xtrace
4141
echo "*********************************************************************"

extras.d/70-marconi.sh

Lines changed: 0 additions & 29 deletions
This file was deleted.

extras.d/70-zaqar.sh

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# zaqar.sh - Devstack extras script to install Zaqar
2+
3+
if is_service_enabled zaqar-server; then
4+
if [[ "$1" == "source" ]]; then
5+
# Initial source
6+
source $TOP_DIR/lib/zaqar
7+
elif [[ "$1" == "stack" && "$2" == "install" ]]; then
8+
echo_summary "Installing Zaqar"
9+
install_zaqarclient
10+
install_zaqar
11+
elif [[ "$1" == "stack" && "$2" == "post-config" ]]; then
12+
echo_summary "Configuring Zaqar"
13+
configure_zaqar
14+
configure_zaqarclient
15+
16+
if is_service_enabled key; then
17+
create_zaqar_accounts
18+
fi
19+
20+
elif [[ "$1" == "stack" && "$2" == "extra" ]]; then
21+
echo_summary "Initializing Zaqar"
22+
init_zaqar
23+
start_zaqar
24+
fi
25+
26+
if [[ "$1" == "unstack" ]]; then
27+
stop_zaqar
28+
fi
29+
fi

lib/marconi

Lines changed: 0 additions & 211 deletions
This file was deleted.

0 commit comments

Comments
 (0)