From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lon Hohberger Date: Fri, 10 Dec 2010 09:49:08 -0500 Subject: [Cluster-devel] [PATCH 1/8] Add "service" object manipulations In-Reply-To: <1291988557-22348-2-git-send-email-dim@parallels.com> References: <1291988557-22348-1-git-send-email-dim@parallels.com> <1291988557-22348-2-git-send-email-dim@parallels.com> Message-ID: <1291992548.7139.8.camel@localhost.localdomain> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Fri, 2010-12-10 at 16:42 +0300, Dmitry Mishin wrote: > +static xmlNode *find_ip_resource(xmlNode *root, const char *name) > +{ > + return do_find_node(root, name, "ip", "name"); > +} > + should be return do_find_node(root, name, "ip", "address"); IP resources don't have names; the primary attribute is the address field. Adding a "name" will break configuration validation without patches to ip.sh and cluster.rng. (this might happen in other patches too) -- Lon