Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Generic OCF resource agents

Project Description


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


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


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:


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


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


0.1 (unreleased)

  • Initial release
Release History

Release History

This version
History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
inqbus.ocf.generic-0.1-py2.6.egg (35.1 kB) Copy SHA256 Checksum SHA256 2.6 Egg Nov 29, 2011
inqbus.ocf.generic-0.1.tar.gz (9.0 kB) Copy SHA256 Checksum SHA256 Source Nov 29, 2011

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting