<div dir="ltr">Hi,<div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 6, 2017 at 11:12 PM, Digimer <span dir="ltr"><<a href="mailto:lists@alteeve.ca" target="_blank">lists@alteeve.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi all,<br>
<br>
The old FenceAgentAPI document on fedorahosted is gone now that fedora<br>
hosted is closed. So I created a copy on the clusterlabs wiki:<br>
<br>
<a href="http://wiki.clusterlabs.org/wiki/FenceAgentAPI" rel="noreferrer" target="_blank">http://wiki.clusterlabs.org/<wbr>wiki/FenceAgentAPI</a><br>
<br>
It desperately needs an update. Specifically, it needs '-o metadata'<br>
properly explained. I am happy to update this document and change the<br>
cman/cluster.conf example over to a pacemaker example, etc, but I do not<br>
feel like I am authoritative on the XML validation side of things.<br></blockquote><div><br></div><div><div><parameter name="login" unique="0" required="1"></div><div> <getopt mixed="-l, --username=[name]" /></div><div> <content type="string" default="myloginname" /></div><div> <shortdesc lang="en">Login name</shortdesc></div><div></parameter></div></div><div><br></div><div>required=1 is used only with login, ip address and plug number. Other options are required too but their constraints are more complex: e.g. passwd OR passwd_script is required. </div><div><br></div><div>unique=0 is set for every option, so it does not have to be documented. </div><div><br></div><div>content type=(string|integer|boolean|second|select)</div><div><br></div><div><content type="select"></div><div> <option value="First option" /></div><div> <option value="Second one" /></div><div></content></div><div><br></div><div>Currently, 'second' is same as the 'integer'.</div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
Can someone give me, even just point-form notes, how to explain this?<br>
If so, I'll create 'FenceAgentAPI - Working' document and I will have<br>
anyone interested comment before making it an official update.<br></blockquote><div><br></div><div>I will add also 'list-status' that prints list of available plugs together with their status.</div><div><br></div><div>Best Practise) take existing fence agent and modify it, there is no reason (except python-intollerance) to not use fencing library</div><div><br></div><div>m, </div></div></div></div>