Skip to main content

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

Apache License 2.0

Changelog

1.2.1 (2019-08-26)

  • bugfix: set_preset_data - immutable arguments

1.2.0 (2019-08-23)

  • Keep list vms with state in runtime

1.1.0 (2019-08-21)

  • refactoring - moved logic to sql procedures

1.0.0 (2018-06-10)

  • Public release

x.y.z (2018-xx-yy)

  • Internal devel

0.0.1 (2018-03-15)

  • Initial release

Metadata

Release files for vmshepherd-runtime-postgres-driver 1.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vmshepherd-runtime-postgres-driver 1.2.1
File Size Uploaded Provenance
vmshepherd-runtime-postgres-driver-1.2.1.tar.gz 7.0 kB Without provenance Details

Release files / vmshepherd-runtime-postgres-driver-1.2.1.tar.gz

Download URL vmshepherd-runtime-postgres-driver-1.2.1.tar.gz
Size 7.0 kB
Tags Source
SHA-256 checksum
How to use checksums
a1e80dddf3b2ef1999a4fd79a18a1c33cf4fdb97903f5d28a45baf2afa4f819d
BLAKE2b-256 checksum
How to use checksums
809540b31cd5dea3803e43c085417f98ad2001db994cf0665441e6c03fa06910
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.7

Security for vmshepherd-runtime-postgres-driver 1.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

1.2.1 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page