Runtime and lock management based on Postgres for VmShepherd
Project description
vmshepherd-runtime-postgres-driver
==================================
Introduction
------------
Provides plugin for ``VmShepherd`` - driver allows to store runtime data and lock management in postgres database.
Installation
------------
Simply use ``pip``.
::
pip install vmshepherd-runtime-postgres-driver
Library requires (as well as VmShepherd itself) python 3.6 or later.
Usage
-----
Install package (in the same environment as VmShepherd) and configure ``VmShepherd`` like:
::
# ...
runtime:
driver: PostgresDriver
host: (hostname -f)
database: vmshepherd
user: vmshepherd
password: vmshepherd
# ...
Available config options
~~~~~~~~~~~~~~~~~~~~~~~
.. csv-table::
:header: "Name", "Type", "Description", "Default value"
:widths: 15, 10, 40, 10
"host", "string", "Postgres DB host.", ""
"port", "integer", "Postgres DB port.", "5432"
"database", "string", "Postgres DB name.", ""
"user", "string", "Postgres auth user.", ""
"password", "string", "Postgres auth password.", ""
"pool_size", "integer", "Postgres connection pool size.","2"
Develop
-------
Run tests:
::
make test
Create local DB in docker and start vmshepherd:
::
make db
make develop
License
-------
`Apache License 2.0 <LICENSE>`_
Changelog
=========
0.0.1 (2018-03-15)
------------------
* Initial release
==================================
Introduction
------------
Provides plugin for ``VmShepherd`` - driver allows to store runtime data and lock management in postgres database.
Installation
------------
Simply use ``pip``.
::
pip install vmshepherd-runtime-postgres-driver
Library requires (as well as VmShepherd itself) python 3.6 or later.
Usage
-----
Install package (in the same environment as VmShepherd) and configure ``VmShepherd`` like:
::
# ...
runtime:
driver: PostgresDriver
host: (hostname -f)
database: vmshepherd
user: vmshepherd
password: vmshepherd
# ...
Available config options
~~~~~~~~~~~~~~~~~~~~~~~
.. csv-table::
:header: "Name", "Type", "Description", "Default value"
:widths: 15, 10, 40, 10
"host", "string", "Postgres DB host.", ""
"port", "integer", "Postgres DB port.", "5432"
"database", "string", "Postgres DB name.", ""
"user", "string", "Postgres auth user.", ""
"password", "string", "Postgres auth password.", ""
"pool_size", "integer", "Postgres connection pool size.","2"
Develop
-------
Run tests:
::
make test
Create local DB in docker and start vmshepherd:
::
make db
make develop
License
-------
`Apache License 2.0 <LICENSE>`_
Changelog
=========
0.0.1 (2018-03-15)
------------------
* Initial release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for vmshepherd-runtime-postgres-driver-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00923d4d11f9e3d3b8c57627feef0785bffac7185e11f8e61312fe9c88bf44df |
|
MD5 | a4a57a164703abc23b6410a7528965c7 |
|
BLAKE2b-256 | 6c8b5860baefb221fa313dfadc524fa4f3386549bdd56a9b9962530086e36b62 |