pacemaker  1.1.16-94ff4df
Scalable High-Availability cluster resource manager
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules
remote.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2013 Andrew Beekhof <andrew@beekhof.net>
3  *
4  * This program is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2 of the License, or (at your option) any later version.
8  *
9  * This software is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  * General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17  */
18 #ifndef PE_REMOTE__H
19 # define PE_REMOTE__H
20 
21 gboolean xml_contains_remote_node(xmlNode *xml);
22 gboolean is_baremetal_remote_node(node_t *node);
23 gboolean is_container_remote_node(node_t *node);
24 gboolean is_remote_node(node_t *node);
27 void pe_foreach_guest_node(const pe_working_set_t *data_set, const node_t *host,
28  void (*helper)(const node_t*, void*), void *user_data);
29 
30 #endif
resource_t * rsc_contains_remote_node(pe_working_set_t *data_set, resource_t *rsc)
Definition: remote.c:71
AIS_Host host
Definition: internal.h:52
gboolean is_rsc_baremetal_remote_node(resource_t *rsc, pe_working_set_t *data_set)
Definition: remote.c:25
gboolean is_remote_node(node_t *node)
Definition: remote.c:62
void pe_foreach_guest_node(const pe_working_set_t *data_set, const node_t *host, void(*helper)(const node_t *, void *), void *user_data)
Definition: remote.c:113
gboolean is_baremetal_remote_node(node_t *node)
Definition: remote.c:44
gboolean is_container_remote_node(node_t *node)
Definition: remote.c:53
gboolean xml_contains_remote_node(xmlNode *xml)
Definition: remote.c:91
Definition: status.h:165