Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

OCF_ReturnCodes - Common varibales for the OCF Resource Agents supplied by heartbeat.

Description

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

Name

       OCF_ReturnCodes - Common varibales for the OCF Resource Agents supplied by heartbeat.

Synopsis

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

         use OCF_ReturnCodes;

Variables

       Here are the variables exported by this module:

       $OCF_SUCCESS
       $OCF_ERR_GENERIC
       $OCF_ERR_ARGS
       $OCF_ERR_UNIMPLEMENTED
       $OCF_ERR_PERM
       $OCF_ERR_INSTALLED
       $OCF_ERR_CONFIGURED
       $OCF_NOT_RUNNING
       $OCF_RUNNING_MASTER
       $OCF_FAILED_MASTER

See Also