summaryrefslogtreecommitdiffstats
path: root/docs/sections/blueprints/PGaaS.rst
diff options
context:
space:
mode:
authorTony Hansen <tony@att.com>2017-10-30 18:52:57 +0000
committerTony Hansen <tony@att.com>2017-10-30 18:53:10 +0000
commit09c6a769d52ae0da916e5ce9926d71a60e3de2ce (patch)
tree457d2106a25a9dc491e5cc83f5781a7465890ccc /docs/sections/blueprints/PGaaS.rst
parentb32a0b6ebcaf7a0735806f39a3b91b0f830c79c7 (diff)
fix formatting of CW sections
http://onap.readthedocs.io/en/latest/submodules/dcaegen2.git/docs/sections/blueprints/PGaaS.html has some sections that should be constant width but are not showing up properly Change-Id: Iaf457a2c59448e33bdb7d46500f331343315418d Signed-off-by: Tony Hansen <tony@att.com> Issue-ID: DCAEGEN2-184
Diffstat (limited to 'docs/sections/blueprints/PGaaS.rst')
-rw-r--r--docs/sections/blueprints/PGaaS.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/sections/blueprints/PGaaS.rst b/docs/sections/blueprints/PGaaS.rst
index a5508a19..2d20b047 100644
--- a/docs/sections/blueprints/PGaaS.rst
+++ b/docs/sections/blueprints/PGaaS.rst
@@ -94,12 +94,14 @@ You can override that name using another ``-i`` option.
set the -b and -d names.)
::
+
cfy install -p pgaas.yaml -b pgaas-CLNAME -d pgaas-CLNAME -i inputs.yaml -i pgaas_cluster_name=CLNAME
Separating out the disk allocation from the service creation requires using two blueprints:
::
+
cfy install -p pgaas-disk.yaml -i inputs.yaml
cfy install -p pgaas-cluster.yaml -i inputs.yaml
@@ -107,6 +109,7 @@ By default, these blueprints create a cluster named ``pgcl``, which can be overr
way as shown above:
::
+
cfy install -p pgaas-disk.yaml -b pgaas-disk-CLNAME -d pgaas-disk-CLNAME -i inputs.yaml -i pgaas_cluster_name=CLNAME
cfy install -p pgaas-cluster.yaml -b pgaas-disk-CLNAME -d pgaas-disk-CLNAME -i inputs.yaml -i pgaas_cluster_name=CLNAME
@@ -123,6 +126,7 @@ on port 5432. To verify that all of the DNS names were created properly and that
answering on port 5432, you can use something like this:
::
+
sleep 1 | nc -v ${LOCATIONPREFIX}${CLUSTER}00.${LOCATIONDOMAIN} 5432
sleep 1 | nc -v ${LOCATIONPREFIX}${CLUSTER}01.${LOCATIONDOMAIN} 5432
sleep 1 | nc -v ${LOCATIONPREFIX}-${CLUSTER}-write.${LOCATIONDOMAIN} 5432
@@ -134,6 +138,7 @@ wants a persistent database not tied to the lifetime of the application blueprin
use the ``pgaas-database.yaml`` blueprint to create the database;
::
+
cfy install -p pgaas-database.yaml -i inputs.yaml
By default, the ``pgaas-database.yaml`` blueprint creates a database with the name ``sample``, which
@@ -141,6 +146,7 @@ can be overridden using ``database_name``.
::
+
cfy install -p pgaas-database.yaml -b pgaas-database-DBNAME -d pgaas-database-DBNAME -i inputs.yaml -i database_name=DBNAME
cfy install -p pgaas-database.yaml -b pgaas-database-CLNAME-DBNAME -d pgaas-database-CLNAME-DBNAME -i inputs.yaml -i pgaas_cluster_name=CLNAME -i database_name=DBNAME
@@ -149,6 +155,7 @@ The ``pgaas-getdbinfo.yaml`` blueprint shows how an application can attach to an
database and access its attributes:
::
+
cfy install -p pgaas-getdbinfo.yaml -d pgaas-getdbinfo -b pgaas-getdbinfo -i inputs.yaml
cfy deployments outputs -d pgaas-getdbinfo
cfy uninstall -d pgaas-getdbinfo