root/include/crm/pengine/remote.h

/* [previous][next][first][last][top][bottom][index][help] */

INCLUDED FROM


   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);
  25 gboolean is_rsc_baremetal_remote_node(resource_t *rsc, pe_working_set_t * data_set);
  26 resource_t * rsc_contains_remote_node(pe_working_set_t * data_set, resource_t *rsc);
  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 xmlNode *pe_create_remote_xml(xmlNode *parent, const char *uname,
  30                               const char *container_id, const char *migrateable,
  31                               const char *is_managed, const char *interval,
  32                               const char *monitor_timeout,
  33                               const char *start_timeout,
  34                               const char *server, const char *port);
  35 
  36 #endif

/* [previous][next][first][last][top][bottom][index][help] */