Runtime and lock management for VmShepherd
Provides plugin for VmShepherd - driver allows to store runtime data and lock management in Zookeeper.
Simply use pip.
pip install vmshepherd-zookeeper-driver
Library requires (as well as VmShepherd itself) python 3.6 or later.
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
|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|
- Implement stable API
- Lock management
- Initial release
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for vmshepherd-zookeeper-driver-1.0.1.tar.gz