Re: How we conform OCF in fence agents and what to do with it

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> On 29 Oct 2014, at 7:37 pm, Marek marx Grac <mgrac@xxxxxxxxxx> wrote:
> 
> Hi,
> 
> I took a look at OCF specification for resource agents from https://github.com/ClusterLabs/OCF-spec
> 
> I rewrote it from DTD to Relax NG

Please don't.
Its hard enough getting any change in let alone coupling it with a translation to another format.

Please just leave it as DTD for now


> (XML form) and attempts to modify it until it accept current resource agents. These changes are put for discussion and I will mark those that are important for fence agent with asterisk.
> 
> <resource-agent> is root element
> 
> 1*) new actions required: on, off, reboot, monitor, list, metadata
> 
> 2) "timeout" for service should be only optional?
> 
> 3) I don't understand element "version" directly under <resource-agent> as it has attribute "version"
> 
> 4) we have added directly elements "vendor-url" and "longdesc" under <resource-agent>. This is inconsistent with "shortdesc" that is attribute but long description really should not be an attribute.
> 
> 5) we have added attribute "automatic" to <actions> (e.g. fence_scsi)
> 
> 6) our parameters use only "shortdesc", so perhaphs "longdesc" can be optional
> 
> 7*)  element <getopt> for parameters and how they can be called from command line (used for man pages generation)
> 
> 8) add "required" attribute for each parameter
> 
> 9) add "default" value for <content> element
> 
> 10) make element <special> optional. what should be inside?
> 
> 11) <resource-agent> does not have only londgdesc but also shortdesc (single-line)
> 
> 
> m,
> 
> -- 
> Linux-cluster mailing list
> Linux-cluster@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/linux-cluster


-- 
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster




[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux