forgotten side note:<br>I&#39;ve not been much following SLP (Service Location Protocol) recently, which is the IETF standard, being somehow superceeded by mDNS / DNS-SD.<br>it could be worth to have a look at OpenSLP (<a href="http://www.openslp.org">http://www.openslp.org</a>) to also provide an implementation for this one too.<br>
<br>cheers,<br>Arno<br><br><div class="gmail_quote">2011/4/20 Arnaud Quette <span dir="ltr">&lt;<a href="mailto:aquette.dev@gmail.com">aquette.dev@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
damn, I forgot the attachment!<br>fixed.<div><div></div><div class="h5"><br><br><div class="gmail_quote">2011/4/20 Arnaud Quette <span dir="ltr">&lt;<a href="mailto:aquette.dev@gmail.com" target="_blank">aquette.dev@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div></div><div><br><div class="gmail_quote">2011/4/20 Charles Lepple <span dir="ltr">&lt;<a href="mailto:clepple@gmail.com" target="_blank">clepple@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">


<div>On Apr 19, 2011, at 10:26 AM, Arnaud Quette wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
what still puzzles me is that &quot;_upsd._tcp&quot; is used as Service Type.<br>
while &quot;nut&quot; is used as the Service Name.<br>
(instant update) I&#39;ve just made a quick test with Frédéric, and the &quot;nut&quot; name *must* be unique: each system that publish a nut service availability has to have a unique Service Name!<br>
</blockquote>
<br></div>
It looks like the convention is to use the hostname or MAC address to make the DNS-SD name unique. &quot;man avahi.services&quot; mentions a &quot;%h&quot; format specifier and an XML attribute to insert the local hostname.</blockquote>


</div><br></div></div>right, thanks for these info Charles.<br>note that service files also use a friendly name like &quot;Printer on %h&quot;.<br><br>In light of this, I&#39;ve shaped up the attachment. <br clear="all">

<br>The things I&#39;d probably like to add in &lt;txt-record&gt; are:<br>
- running mode (ie none, standalone, netserver, netclient)<br>- (optional) NUT protocol version or at least NUT version (can use @PACKAGE_VERSION@)<br>- (optional) security mode<br><br>
But service files are not suitable for this, conversely to the avahi-publish call.<br><br>I need to have more use cases, but the idea is to be able to select (ie filter on):<br>- non configured instances, to configure these<br>


- instance types, like netserver for netclient configuration<br><br>If you have ideas in mind related to that, I&#39;m all hears.<div><div></div><div><br><br>cheers,<br>Arnaud<br>-- <br>Linux / Unix Expert R&amp;D - Eaton - <a href="http://powerquality.eaton.com" target="_blank">http://powerquality.eaton.com</a><br>


Network UPS Tools (NUT) Project Leader - <a href="http://www.networkupstools.org/" target="_blank">http://www.networkupstools.org/</a><br>Debian Developer - <a href="http://www.debian.org" target="_blank">http://www.debian.org</a><br>


Free Software Developer - <a href="http://arnaud.quette.free.fr/" target="_blank">http://arnaud.quette.free.fr/</a><br><br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>