Andrew Beekhof <[email protected]> writes: > On 22/08/2013, at 10:22 PM, Ferenc Wagner <[email protected]> wrote: > >> man cibadmin says: "the tagname and all attributes must match in order >> for the element to be deleted", > > "for the element to be deleted" <--- not the children of the element > to be deleted
Ah, so these are XML attributes, not instance attributes. Thanks for the clarification! I was confused. >> # cibadmin --create --obj_type resources --xml-text "<primitive class='ocf' >> provider='heartbeat' type='Dummy' id='test_dummy'> >> [...] >> # cibadmin --delete --obj_type resources --xml-text "<primitive class='ocf' >> provider='heartbeat' type='Dummy' id='test_dummy'> > > tagname, class, provider, type and id all match here. so deletion is > allowed to proceed Fine, then I can still use the description attribute to restrict deletion, right? I have to use a fixed tag name (id) to exclude the possibility of having multiple such resources in the CIB. -- Thanks, Feri. _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
