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
Name |
Type |
Description |
Default value |
---|---|---|---|
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
Changelog
1.0.0 (2018-06-10)
Public release
x.y.z (2018-xx-yy)
Internal devel
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
Hashes for vmshepherd-runtime-postgres-driver-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25494691549c17f17714056392ff9ddb72b4976b0fbb779365e044378e3d24b6 |
|
MD5 | ba2369c6481a141ed6889f9308ea3898 |
|
BLAKE2b-256 | c0f93e01146d1b2182e355a2e54b323a2e16a81add88613d80ab108230baa977 |