Scroll to navigation

OCF_Functions(3pm) User Contributed Perl Documentation OCF_Functions(3pm)

NAME

OCF_Functions - helper subroutines for OCF agent

SYNOPSIS

  use FindBin;
  use lib "$FindBin::RealBin/../../lib/heartbeat/";
  
  use OCF_Functions;

DESCRIPTION

This module has been ported from the ocf-shellfuncs shell script of the resource-agents project. See <https://github.com/ClusterLabs/resource-agents/>.

VARIABLE

The only variable exported by this module is "__OCF_ACTION".

SUBROUTINES

Here are the subroutines ported from ocf-shellfuncs and exported by this module:

Here are the subroutines only existing in the perl module but not in the ocf-shellfuncs script:

COPYRIGHT AND LICENSE

Copyright (C) 2016: Jehan-Guillaume de Rorthais and Mael Rimbault.

Licensed under the PostgreSQL License.

2020-03-09 perl v5.30.0