Runtime and lock management for VmShepherd
Project description
vmshepherd-zookeeper-driver
=====================
Work in progress
----------------
TODO
- lock implementation
- proper integration tests with docker
Introduction
------------
Provides plugin for ``VmShepherd`` - driver allows to store runtime data and lock management in Zookeeper.
Installation
------------
Simply use ``pip``.
::
pip install vmshepherd-zookeeper-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: ZookeeperDriver
servers:
- some.zk.host
working_path: /vmshepherd
addauth:
auth: vmshepherduser:password
# ...
Available config options
~~~~~~~~~~~~~~~~~~~~~~~~
.. csv-table::
:header: "Name", "Type", "Description", "Default value"
:widths: 15, 10, 40, 10
"servers", "list", "Zookeeper hosts", ""
"working_path", "string", "Base path where vmshepherd will read/write/create/deletes its nodes. A cdrwa permissions must be set for this path either to provided auth otherwise to anyone/world", "/vmshepherd"
"addauth", "object", "Authentication options. If not provided or `null` no auth assumed.", "null"
"addauth.scheme", "string", "Zookeeper's auth scheme (eg. digest sasl).", "digest"
"addauth.auth", "string", "Auth data specific to given scheme (eg. user:password for digest)","vmshepherd:vmshepherd"
License
-------
MIT
Changelog
=========
0.0.1 (2018-02-13)
------------------
* Initial release
=====================
Work in progress
----------------
TODO
- lock implementation
- proper integration tests with docker
Introduction
------------
Provides plugin for ``VmShepherd`` - driver allows to store runtime data and lock management in Zookeeper.
Installation
------------
Simply use ``pip``.
::
pip install vmshepherd-zookeeper-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: ZookeeperDriver
servers:
- some.zk.host
working_path: /vmshepherd
addauth:
auth: vmshepherduser:password
# ...
Available config options
~~~~~~~~~~~~~~~~~~~~~~~~
.. csv-table::
:header: "Name", "Type", "Description", "Default value"
:widths: 15, 10, 40, 10
"servers", "list", "Zookeeper hosts", ""
"working_path", "string", "Base path where vmshepherd will read/write/create/deletes its nodes. A cdrwa permissions must be set for this path either to provided auth otherwise to anyone/world", "/vmshepherd"
"addauth", "object", "Authentication options. If not provided or `null` no auth assumed.", "null"
"addauth.scheme", "string", "Zookeeper's auth scheme (eg. digest sasl).", "digest"
"addauth.auth", "string", "Auth data specific to given scheme (eg. user:password for digest)","vmshepherd:vmshepherd"
License
-------
MIT
Changelog
=========
0.0.1 (2018-02-13)
------------------
* 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
File details
Details for the file vmshepherd-zookeeper-driver-0.0.2.tar.gz
.
File metadata
- Download URL: vmshepherd-zookeeper-driver-0.0.2.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f181f390deb58424413267a886123b9f84dfdb21b1d3a648a70e60ea7c7116e9 |
|
MD5 | 7aaebcac63f322d298368993f19095e1 |
|
BLAKE2b-256 | 359878a55d62aa31e3ec6d8a8e3c1c346f7e818f8aeefc843404b15e2bb1f737 |