On 23/08/2013, at 5:32 PM, Ferenc Wagner <wf...@niif.hu> wrote:

> Andrew Beekhof <and...@beekhof.net> writes:
> 
>> On 22/08/2013, at 10:22 PM, Ferenc Wagner <wf...@niif.hu> 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?

yes

>  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
> Linux-HA@lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

_______________________________________________
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to