Hi All,
I have a doubt, My slpd daemon does static registration from slp.reg
file. Its observed that these registration gets removed from slpd after 17+
hours. I went through the code and searched the RFC.
I found this below.
The <entry> is a URL Entry (see section 4.3). The Lifetime defines
how long a DA can cache the registration. SAs SHOULD reregister
before this lifetime expires (but SHOULD NOT more often than once per
second). The Lifetime MAY be set to any value between 0 and 0xffff
(maximum, around 18 hours). Long-lived registrations remain stale
longer if the service fails and the SA does not deregister the
service.
So i assumed that slpd is working as per RFC. But then i saw this.
http://ocw.novell.com/suse-linux-enterprise-server-engineers/suse-linux-network-services/3057_06_manual.pdf
look at the statement marked in bold
The OpenSLP Registration File Syntax
nservice-url. (required) This option defines the service URL.
The syntax is described in “The OpenSLP Service URL Syntax” on 6-14.
nlanguage-tag. (required) This option uses the (two character) language tags as
specified by RFC 1766 (such as en, fr, and de).
nlifetime. (required) This option defines the lifetime of the registration in
seconds.
The value must be between 0 and 65535.
Use 65535 if you want the registration maintained for the life of slpd.
nservice-type. (optional) This option defines the type of service being
registered.
This option is ignored by OpenSLP, because service-url must conform to the SLP
Service URL format.
nscope-list. (optional) This option is a list of comma-delimited scopes to
register the service in.
If it is omitted, the service is registered in all scopes specified by the
slp.conf file.
By default, this is the DEFAULT scope on SLP version 2 systems.
nattrid. (optional) This option lists the attributes to register along with the
service.
Any string but scopes or SCOPES can be used as an attributeThe registration
file format is easy to understand. Each registration consists of several lines
with the format #comment ;comment
service-url,language-tag,lifetime,service-type scopes=scope-list attrid=val1
attrid=val1,val2,val3 The options mean
Can someone explain me? Is it possible to have a static reg done that wont get
removed after 17+ hours?
Regards,
Varun
------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:
Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Openslp-devel mailing list
Openslp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openslp-devel