Revert "Revert "oran-shell-release: release image for F""
[pti/rtp.git] / meta-starlingx / meta-stx-cloud / recipes-support / cluster-resource-agents / resource-agents / stx / new_ocf_return_codes.patch
1 From 111343419dd381d81303354dad48cca5095ab080 Mon Sep 17 00:00:00 2001
2 From: Scott Little <scott.little@windriver.com>
3 Date: Fri, 26 Aug 2016 15:06:02 -0400
4 Subject: [PATCH 02/12] WRS: Patch106: new_ocf_return_codes.patch
5
6 ---
7  heartbeat/ocf-returncodes | 35 +++++++++++++++++++++++++++++++++++
8  1 file changed, 35 insertions(+)
9
10 diff --git a/heartbeat/ocf-returncodes b/heartbeat/ocf-returncodes
11 index dd5f017..9200889 100644
12 --- a/heartbeat/ocf-returncodes
13 +++ b/heartbeat/ocf-returncodes
14 @@ -4,6 +4,7 @@
15  #
16  # Copyright (c) 2004 SUSE LINUX AG, Andrew Beekhof
17  #                    All Rights Reserved.
18 +# Copyright (c) 2014 Wind River Systems, Inc. All rights reserved.
19  #
20  #
21  # This library is free software; you can redistribute it and/or
22 @@ -53,3 +54,37 @@ OCF_NOT_RUNNING=7
23  #
24  OCF_RUNNING_MASTER=8
25  OCF_FAILED_MASTER=9
26 +
27 +# Non-standard values particular to Wind River deployments.
28 +#
29 +# OCF does not include the concept of data sync states for master/slave
30 +# resources.
31 +#
32 +# OCF_DATA_INCONSISTENT:
33 +#   The resource's data is not useable.
34 +#
35 +# OCF_DATA_OUTDATED:
36 +#   The resource's data is consistent, but a peer with more recent data
37 +#   has been seen.
38 +#
39 +# OCF_DATA_CONSISTENT:
40 +#   The resource's data is consistent, but it is unsure that this is the
41 +#   most recent data.
42 +#
43 +# OCF_SYNC:
44 +#   The resource is syncing data.
45 +#
46 +# OCF_STANDALONE:
47 +#   The resource is operating as standalone.  No peer is available or
48 +#   syncing is not possible (i.e. split brain fencing).
49 +#
50 +OCF_DATA_INCONSISTENT=32
51 +OCF_DATA_OUTDATED=33
52 +OCF_DATA_CONSISTENT=34
53 +OCF_DATA_SYNC=35
54 +OCF_DATA_STANDALONE=36
55 +OCF_RUNNING_MASTER_DATA_INCONSISTENT=37
56 +OCF_RUNNING_MASTER_DATA_OUTDATED=38
57 +OCF_RUNNING_MASTER_DATA_CONSISTENT=39
58 +OCF_RUNNING_MASTER_DATA_SYNC=40
59 +OCF_RUNNING_MASTER_DATA_STANDALONE=41
60 -- 
61 1.9.1
62