From 09c6a769d52ae0da916e5ce9926d71a60e3de2ce Mon Sep 17 00:00:00 2001 From: Tony Hansen Date: Mon, 30 Oct 2017 18:52:57 +0000 Subject: 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 Issue-ID: DCAEGEN2-184 --- docs/sections/blueprints/PGaaS.rst | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- cgit 1.2.3-korg