Skip to content

Commit 7953532

Browse files
committed
SET-1468: Add documentation for OpenStack tools
Closes: https://warthogs.atlassian.net/browse/SET-1468 Signed-off-by: Nicolas Bock <nicolas.bock@canonical.com>
1 parent 2205755 commit 7953532

8 files changed

Lines changed: 291 additions & 8 deletions

File tree

docs/.custom_wordlist.txt

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
# Leave a blank line at the end of this file to support concatenation
22
apache
33
AthenaV2
4+
az
45
backend
56
backends
7+
balancers
68
Caracal
79
ceph
810
Charmcraft
@@ -12,9 +14,11 @@ config
1214
configs
1315
cryptographically
1416
DHSS
17+
distributable
1518
dvipng
1619
fonts
1720
freefont
21+
functest
1822
github
1923
GPG
2024
gyre
@@ -25,6 +29,7 @@ IDP
2529
IDPs
2630
Intersphinx
2731
io
32+
ipv
2833
JDK
2934
Jira
3035
Kanban
@@ -33,16 +38,20 @@ Keycloak
3338
lang
3439
LaTeX
3540
latexmk
41+
lnav
3642
manila
3743
Manila
44+
microceph
3845
Multipass
3946
neutronclient
47+
octavia
4048
oidc
4149
openidc
4250
OpenIDC
4351
openstack
4452
openstackclient
4553
openstackclients
54+
OSCI
4655
otf
4756
plantuml
4857
PNG
@@ -52,10 +61,14 @@ Pygments
5261
QEMU
5362
readthedocs
5463
Rockcraft
64+
routable
5565
rst
5666
rsync
67+
samltestid
68+
sg
5769
sitemapindex
5870
sos
71+
ssl
5972
SSL
6073
stsstack
6174
STSStack
@@ -73,6 +86,8 @@ uncommenting
7386
URIs
7487
url
7588
utils
89+
vips
90+
vm
7691
VMs
7792
WCAG
7893
webhook

docs/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,7 @@
251251

252252
# myst_enable_extensions = set()
253253

254+
# myst_heading_anchors = 3
254255

255256
# Custom Sphinx extensions; see
256257
# https://www.sphinx-doc.org/en/master/usage/extensions/index.html

docs/index.rst

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@ STSStack-Bundles Documentation
33

44
STSStack-Bundles is a set of bundles that leverage Juju bundle overlays to allow generating complex deployments from a number of options using a single command. These bundles are designed for use with the Juju OpenStack provider.
55

6-
The top level directory contains a set of modules, each of which has a generate-bundle.sh script which you can use to create a deployment from a number of options.
6+
The top level directory contains a set of modules, each of which has a ``generate-bundle.sh`` script which you can use to create a deployment from a number of options.
77

8-
NOTE: see generate-bundle.sh --help for option info about using that particular module.
8+
NOTE: see :doc:`user-docs/generate-bundle` ``--help`` for option info about using that particular module.
99

1010
Basic usage:
1111

12-
* give your deployment a name with (--name)
12+
* give your deployment a name with (``--name``)
1313
* create a Juju model using the given name or use existing one
14-
* add one or more feature overlays depending on what you need (see --list-overlays)
15-
* resources are stored under a named directory so as to be able to avoid collisions and replay later (--replay)
16-
* immediate deploy (--run) or save for later
14+
* add one or more feature overlays depending on what you need (see ``--list-overlays``)
15+
* resources are stored under a named directory so as to be able to avoid collisions and replay later (``--replay``)
16+
* immediate deploy (``--run``) or save for later
1717

1818

1919
.. toctree::
@@ -39,4 +39,3 @@ In this documentation
3939
:link-type: doc
4040

4141
**For contributors** - how to contribute to STSStack-Bundles.
42-

docs/user-docs/generate-bundle.rst

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
generate-bundle.sh
2+
==================
3+
4+
The `generate-bundle.sh` script is used to create a bundle, and optionally deploy it, of a Charmed OpenStack, Kubernetes, or Ceph deployment.
5+
6+
Usage
7+
-----
8+
9+
Run the script from the project root:
10+
11+
.. code::
12+
13+
./generate-bundle.sh
14+
15+
This will generate the necessary files for deployment in the `b` directory.
16+
17+
Options
18+
-------
19+
20+
You can pass additional options to customise the build process. For example:
21+
22+
.. code::
23+
24+
./generate-bundle.sh --keystone-ha --num-compute 2 --run
25+
26+
Prerequisites
27+
-------------
28+
29+
Make sure you have all required dependencies installed before running the script.

docs/user-docs/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ User Documentation
66
:maxdepth: 2
77

88
usage
9+
generate-bundle.sh<generate-bundle>
910
openstack/index
1011
ceph/index
1112
osm/index

docs/user-docs/openstack/index.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ OVN <ovn>
1515
SAML <saml>
1616
Keystone + OpenIDC <keystone-openidc>
1717
Manila <manila-generic>
18+
Tools <tools>
1819
```
1920

2021
````{grid} 1 1 2 2
@@ -89,4 +90,9 @@ Dynamic Routing
8990
:link-type: doc
9091
**Tutorial** - learn how to deploy an OpenStack cloud on `serverstack`
9192
```
93+
```{grid-item-card} Tools
94+
:link: tools
95+
:link-type: doc
96+
**Tools** - OpenStack Tools
97+
```
9298
````

0 commit comments

Comments
 (0)