Add linters for normalized formatting
This aligns with the stx-specs repo and fixes existing issues with the current doc set. Change-Id: Iefb1e70481ada6c2cd0e2d037e7bd525af862c7b Signed-off-by: Robert Church <robert.church@windriver.com>
This commit is contained in:
parent
6536f9cdb0
commit
d00f27a6d9
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
- project:
|
- project:
|
||||||
templates:
|
templates:
|
||||||
- build-openstack-docs-pti
|
- build-openstack-docs-pti
|
||||||
|
|
|
@ -2,17 +2,20 @@
|
||||||
GNOCCHI
|
GNOCCHI
|
||||||
=======
|
=======
|
||||||
|
|
||||||
Gnocchi is an open-source time series database, the problem that Gnocchi solves is the storage and
|
Gnocchi is an open-source time series database, the problem that Gnocchi solves
|
||||||
indexing of time series data and resources at a large scale. This is useful in modern cloud
|
is the storage and indexing of time series data and resources at a large scale.
|
||||||
platforms which are not only huge but also are dynamic and potentially multi-tenant. Gnocchi takes
|
This is useful in modern cloud platforms which are not only huge but also are
|
||||||
all of that into account. Gnocchi has been designed to handle large amounts of aggregates being
|
dynamic and potentially multi-tenant. Gnocchi takes all of that into account.
|
||||||
stored while being performant, scalable and fault-tolerant. While doing this, the goal was to be
|
Gnocchi has been designed to handle large amounts of aggregates being stored
|
||||||
sure to not build any hard dependency on any complex storage system.
|
while being performant, scalable and fault-tolerant. While doing this, the goal
|
||||||
Gnocchi takes a unique approach to time series storage: rather than storing raw data points, it
|
was to be sure to not build any hard dependency on any complex storage system.
|
||||||
aggregates them before storing them. This built-in feature is different from most other time series
|
Gnocchi takes a unique approach to time series storage: rather than storing raw
|
||||||
databases, which usually support this mechanism as an option and compute aggregation
|
data points, it aggregates them before storing them. This built-in feature is
|
||||||
(average, minimum, etc.) at query time. Because Gnocchi computes all the aggregations at ingestion
|
different from most other time series databases, which usually support this
|
||||||
getting the data back is extremely fast, as it just needs to read back the pre-computed results.
|
mechanism as an option and compute aggregation (average, minimum, etc.) at
|
||||||
|
query time. Because Gnocchi computes all the aggregations at ingestion getting
|
||||||
|
the data back is extremely fast, as it just needs to read back the pre-computed
|
||||||
|
results.
|
||||||
|
|
||||||
|
|
||||||
--------------------
|
--------------------
|
||||||
|
@ -35,7 +38,8 @@ Gnocchi_01
|
||||||
~~~~~~~~~~
|
~~~~~~~~~~
|
||||||
|
|
||||||
:Test ID: Gnocchi_01
|
:Test ID: Gnocchi_01
|
||||||
:Test Title: Logs - gnocchi api.log reports listening (address and port in gnocchi-api.conf)
|
:Test Title: Logs - gnocchi api.log reports listening (address and port in
|
||||||
|
gnocchi-api.conf)
|
||||||
:Tags: Gnocchi
|
:Tags: Gnocchi
|
||||||
|
|
||||||
++++++++++++++
|
++++++++++++++
|
||||||
|
@ -55,7 +59,8 @@ Environment setup
|
||||||
Test Steps
|
Test Steps
|
||||||
++++++++++
|
++++++++++
|
||||||
|
|
||||||
1. Confirm the address corresponds to what is defined in the gnocchi-api.conf file
|
1. Confirm the address corresponds to what is defined in the gnocchi-api.conf
|
||||||
|
file
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
|
@ -66,7 +71,8 @@ Test Steps
|
||||||
[2018-08-13 14:16:14 +0000] [194853] [INFO] Using worker: sync
|
[2018-08-13 14:16:14 +0000] [194853] [INFO] Using worker: sync
|
||||||
[2018-08-13 14:16:14 +0000] [195045] [INFO] Booting worker with pid: 195045
|
[2018-08-13 14:16:14 +0000] [195045] [INFO] Booting worker with pid: 195045
|
||||||
|
|
||||||
2. Confirm new gnocchi-api and metricd files exist on the controllers in the following location
|
2. Confirm new gnocchi-api and metricd files exist on the controllers in the
|
||||||
|
following location
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
|
@ -75,7 +81,8 @@ Test Steps
|
||||||
-rwxrwxr-x. 1 root root ... gnocchi-metricd
|
-rwxrwxr-x. 1 root root ... gnocchi-metricd
|
||||||
|
|
||||||
|
|
||||||
3. Confirm the new gnocchi config files and py files are in the /usr/share/gnocchi location
|
3. Confirm the new gnocchi config files and py files are in the
|
||||||
|
/usr/share/gnocchi location
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
|
@ -86,7 +93,8 @@ Test Steps
|
||||||
gnocchi-api.pyc
|
gnocchi-api.pyc
|
||||||
gnocchi-api.pyo
|
gnocchi-api.pyo
|
||||||
|
|
||||||
4. The gnocchi log & config file locations are specified in the /etc/init.d/gnocchi-api file.
|
4. The gnocchi log & config file locations are specified in the
|
||||||
|
/etc/init.d/gnocchi-api file.
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
|
@ -101,7 +109,8 @@ Test Steps
|
||||||
|
|
||||||
eg. default folder #log_dir is /var/log/gnocchi
|
eg. default folder #log_dir is /var/log/gnocchi
|
||||||
|
|
||||||
6. Confirm new gnocchi log folder and logs have been created at /var/log/gnocchi/
|
6. Confirm new gnocchi log folder and logs have been created at
|
||||||
|
/var/log/gnocchi/
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
|
@ -114,6 +123,7 @@ Expected Behavior
|
||||||
1. Address corresponds to what is defined in the gnocchi-api.conf file
|
1. Address corresponds to what is defined in the gnocchi-api.conf file
|
||||||
2. Files gnocchi-api and metricd should appear under /etc/init.d
|
2. Files gnocchi-api and metricd should appear under /etc/init.d
|
||||||
3. New gnocchi config files and py files are in place at /usr/share/gnocchi
|
3. New gnocchi config files and py files are in place at /usr/share/gnocchi
|
||||||
4. Gnocchi log & config file locations should be specified in the /etc/init.d/gnocchi-api file
|
4. Gnocchi log & config file locations should be specified in the
|
||||||
|
/etc/init.d/gnocchi-api file
|
||||||
5. Folder should be confirmed in gnocchi-dist.conf
|
5. Folder should be confirmed in gnocchi-dist.conf
|
||||||
6. New gnocchi log folder and logs have been created
|
6. New gnocchi log folder and logs have been created
|
||||||
|
|
|
@ -20,7 +20,8 @@ HEAT_HOT_Template_01
|
||||||
Testcase Objective
|
Testcase Objective
|
||||||
~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
This test case verify that HEAT can create a cinder volume successfully with HOT template.
|
This test case verify that HEAT can create a cinder volume successfully with
|
||||||
|
HOT template.
|
||||||
|
|
||||||
~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~
|
||||||
Test Pre-Conditions
|
Test Pre-Conditions
|
||||||
|
@ -95,7 +96,8 @@ Expected Behavior
|
||||||
| ... | ... |
|
| ... | ... |
|
||||||
+------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
|
+------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
|
||||||
|
|
||||||
2. Verify the STACK and the resources is deleted Openstack stack list (STACK should not be there in the list)
|
2. Verify the STACK and the resources is deleted Openstack stack list (STACK
|
||||||
|
should not be there in the list)
|
||||||
|
|
||||||
~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~
|
||||||
<cinder_volume.yaml>
|
<cinder_volume.yaml>
|
||||||
|
@ -131,7 +133,8 @@ HEAT_HOT_Template_12
|
||||||
Testcase Objective
|
Testcase Objective
|
||||||
~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
This test case verify that HEAT can create a Nova Server successfully with HOT template.
|
This test case verify that HEAT can create a Nova Server successfully with HOT
|
||||||
|
template.
|
||||||
|
|
||||||
~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~
|
||||||
Test Pre-Conditions
|
Test Pre-Conditions
|
||||||
|
|
|
@ -2,7 +2,9 @@
|
||||||
HEAT
|
HEAT
|
||||||
====
|
====
|
||||||
|
|
||||||
HEAT is a service to orchestrate composite cloud applications using a declarative template format through an OpenStack-native REST API. This test suite validates the basics of HEAT service by using HOT templates.
|
HEAT is a service to orchestrate composite cloud applications using a
|
||||||
|
declarative template format through an OpenStack-native REST API. This test
|
||||||
|
suite validates the basics of HEAT service by using HOT templates.
|
||||||
|
|
||||||
-----------------
|
-----------------
|
||||||
Test Requirements
|
Test Requirements
|
||||||
|
|
|
@ -2,10 +2,10 @@
|
||||||
NETWORKING
|
NETWORKING
|
||||||
==========
|
==========
|
||||||
|
|
||||||
Networking contains all the testcases according with connectivity and addressing
|
Networking contains all the testcases according with connectivity and
|
||||||
int the cloud. It handles the creation and management of a virtual networking
|
addressing int the cloud. It handles the creation and management of a virtual
|
||||||
infrastructure, including networks, switches, subnets, and routers for devices
|
networking infrastructure, including networks, switches, subnets, and routers
|
||||||
managed fy the OpenStack Compute service.
|
for devices managed fy the OpenStack Compute service.
|
||||||
|
|
||||||
-----------------
|
-----------------
|
||||||
Test Requirements
|
Test Requirements
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
PyYAML>=3.1.0
|
||||||
|
yamllint>=0.5.2
|
||||||
|
doc8
|
11
tox.ini
11
tox.ini
|
@ -10,6 +10,7 @@ setenv = VIRTUAL_ENV={envdir}
|
||||||
OS_STDERR_CAPTURE=1
|
OS_STDERR_CAPTURE=1
|
||||||
OS_TEST_TIMEOUT=60
|
OS_TEST_TIMEOUT=60
|
||||||
PYTHONDONTWRITEBYTECODE=True
|
PYTHONDONTWRITEBYTECODE=True
|
||||||
|
deps = -r{toxinidir}/test-requirements.txt
|
||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
|
@ -19,6 +20,16 @@ commands =
|
||||||
sphinx-build -a -E -W -d doc/build/doctrees -b html doc/source doc/build/html
|
sphinx-build -a -E -W -d doc/build/doctrees -b html doc/source doc/build/html
|
||||||
whitelist_externals = rm
|
whitelist_externals = rm
|
||||||
|
|
||||||
|
[testenv:linters]
|
||||||
|
basepython = python3
|
||||||
|
whitelist_externals = bash
|
||||||
|
commands =
|
||||||
|
bash -c "find {toxinidir} \
|
||||||
|
\( -name .tox -prune \) \
|
||||||
|
-o -type f -name '*.yaml' \
|
||||||
|
-print0 | xargs -0 yamllint"
|
||||||
|
doc8 doc/source
|
||||||
|
|
||||||
[testenv:releasenotes]
|
[testenv:releasenotes]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
deps = -r{toxinidir}/doc/requirements.txt
|
deps = -r{toxinidir}/doc/requirements.txt
|
||||||
|
|
Loading…
Reference in New Issue