Skip to main content

Generic OCF resource agents

Project description

Version:
0.1
Download:

http://pypi.python.org/pypi/inqbus.ocf.generic

Keywords:

python, OCF, resource agents, framework, pacemaker,

Overview

Inqbus.ocf.generic is a framework that helps you writing OCF compatible resource agents for e.g. the Pacemaker failover management system.

The inqbus.ocf.generic framework keeps away from you the gory details you have to go into writing an OCF compatible resource agent. Powerfull base classes bring to you:

  • support of the complete set of OCF exitcodes and their respective business logik

  • OCF Paramter classes for integer, string, etc. values

  • predefined generic OCF handlers (meta-data, validate)

  • the generation of the XML meta data is done for you automagically

  • easy addition of handlers for e.g. start/stop/status

  • inheritance of resource agents: encapsulate agent business logic and share it among similiar reasource agents

Installation

Please refer to the installation of the inqbus.ocf.agents package .

Documentation

The documentation of the inqbus.ocf.generic API is still in progress. Please refere in the meanwhile to inqbus.ocf.agents which is a good example of using inqbus.ocf.generic.

Bugs and Issues

This software is work in progress. Please help us to improve it: https://bitbucket.org/inqbus/inqbus.ocf.generic

Credits

I have stolen lots of ideas from Michael Samuel’s ocfra framework .

License

This software is licensed under the New BSD License. See the LICENSE.txt file in the top distribution directory for the full license text.

Changelog

0.1 (unreleased)

  • Initial release

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

inqbus.ocf.generic-0.1.tar.gz (9.0 kB view details)

Uploaded Source

Built Distribution

inqbus.ocf.generic-0.1-py2.6.egg (35.1 kB view details)

Uploaded Source

File details

Details for the file inqbus.ocf.generic-0.1.tar.gz.

File metadata

File hashes

Hashes for inqbus.ocf.generic-0.1.tar.gz
Algorithm Hash digest
SHA256 376da7a758c147703e8a228a87487ee3a412df28595f7826898d35788f95a055
MD5 9f43e2499b025d9b662de2d9c5e9055a
BLAKE2b-256 0e944f21041621ff5ec75ea4cf889635fd8fd88b48a22cf46b4aa6274f49aee8

See more details on using hashes here.

File details

Details for the file inqbus.ocf.generic-0.1-py2.6.egg.

File metadata

File hashes

Hashes for inqbus.ocf.generic-0.1-py2.6.egg
Algorithm Hash digest
SHA256 1aa8229de933b9ab2057222fd89dc608794668515255eb92e925d22f57a6c64e
MD5 582d2fc90c2a48e30e1d2ffb03b032cd
BLAKE2b-256 c74c23821bac4d0773cd41cc37b10ace307d4aa89bdddc67d9e283091b417e0b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page