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
driver_params:
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
driver_params:
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
Built Distribution
Close
Hashes for vmshepherd-zookeeper-driver-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7fac3526c53d95324477df28224dcc627d032c487731570e80ea3e186c35dd8 |
|
MD5 | b774e57558656550318c449280658987 |
|
BLAKE2b-256 | 5d05e1c701a651b4da4ca6eafca95be0533b0d4f10730f51910649042c2849e2 |
Close
Hashes for vmshepherd_zookeeper_driver-0.0.1-py3.6.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8503749e260a40507e9586bcbd8aa966acbbe2541791147c17e30f26e9c21efc |
|
MD5 | 48840f5c2650fe65f308b97675d99d3d |
|
BLAKE2b-256 | b0b1d8ac309c9514ca1827881f4fceb4c4cd95d3dae8781783e5e7726b2fe97c |