<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mtk-20170518/package/network/services/lldpd, branch reboot</title>
<subtitle>MTK 20170518 : Mediatek SDK based on OpenWRT Barrier Breaker</subtitle>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/'/>
<entry>
<title>lldp: Upgrade to 0.9.0</title>
<updated>2016-02-18T08:22:07+00:00</updated>
<author>
<name>John Crispin</name>
<email>john@openwrt.org</email>
</author>
<published>2016-02-18T08:22:07+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=7a29f7c22d0d13f51411282d7294aec1862e235f'/>
<id>7a29f7c22d0d13f51411282d7294aec1862e235f</id>
<content type='text'>
Signed-off-by: Ben Kelly &lt;ben@benjii.net&gt;

SVN-Revision: 48738
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Ben Kelly &lt;ben@benjii.net&gt;

SVN-Revision: 48738
</pre>
</div>
</content>
</entry>
<entry>
<title>package/lldpd: Remove extraneous select</title>
<updated>2015-12-23T14:44:05+00:00</updated>
<author>
<name>John Crispin</name>
<email>john@openwrt.org</email>
</author>
<published>2015-12-23T14:44:05+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=fde2ac3537fb3867698d4b161944bba4e51c4ed1'/>
<id>fde2ac3537fb3867698d4b161944bba4e51c4ed1</id>
<content type='text'>
Only the conditional dependency ought to be required;
if build fails with JSON there is some other problem
at work.

Signed-off-by: Daniel Dickinson &lt;openwrt@daniel.thecshore.com&gt;

SVN-Revision: 47976
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Only the conditional dependency ought to be required;
if build fails with JSON there is some other problem
at work.

Signed-off-by: Daniel Dickinson &lt;openwrt@daniel.thecshore.com&gt;

SVN-Revision: 47976
</pre>
</div>
</content>
</entry>
<entry>
<title>network/services/lldpd: Fix missing dependency when using JSON</title>
<updated>2015-12-17T09:30:16+00:00</updated>
<author>
<name>John Crispin</name>
<email>john@openwrt.org</email>
</author>
<published>2015-12-17T09:30:16+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=fa532b839f14482206ee4d045ce3b087ae35e63e'/>
<id>fa532b839f14482206ee4d045ce3b087ae35e63e</id>
<content type='text'>
Using the JSON output option depends on json library so
add select json-c library when JSON output is selected.

Signed-off-by: Daniel Dickinson &lt;openwrt@daniel.thecshore.com&gt;

SVN-Revision: 47928
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Using the JSON output option depends on json library so
add select json-c library when JSON output is selected.

Signed-off-by: Daniel Dickinson &lt;openwrt@daniel.thecshore.com&gt;

SVN-Revision: 47928
</pre>
</div>
</content>
</entry>
<entry>
<title>lldpd: add STOP=01 param in init script</title>
<updated>2015-12-05T09:57:19+00:00</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@openwrt.org</email>
</author>
<published>2015-12-05T09:57:19+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=b580ebb5a8e19401b984a36de187b74843a7612b'/>
<id>b580ebb5a8e19401b984a36de187b74843a7612b</id>
<content type='text'>
This should ensure that lldpd is among the first processes to stop,
so that it has time to send the shutdown LLDPU to the other side,
before the network goes down.

Signed-off-by: Alexandru Ardelean &lt;ardeleanalex@gmail.com&gt;

SVN-Revision: 47786
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This should ensure that lldpd is among the first processes to stop,
so that it has time to send the shutdown LLDPU to the other side,
before the network goes down.

Signed-off-by: Alexandru Ardelean &lt;ardeleanalex@gmail.com&gt;

SVN-Revision: 47786
</pre>
</div>
</content>
</entry>
<entry>
<title>lldpd: implement a reload hook</title>
<updated>2015-11-03T11:59:09+00:00</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@openwrt.org</email>
</author>
<published>2015-11-03T11:59:09+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=322de4101abb40d29a3496f694fcf6619c7b7e34'/>
<id>322de4101abb40d29a3496f694fcf6619c7b7e34</id>
<content type='text'>
Seems the default one is not working as expected.
The way that reload should work is that the 'start' service
call should return 1 (if lldpd is running) and then a normal
restart would be called.

However, for lldpd a reload would mean just clearing all custom TLVs
(if they're configured) and reloading the configuration.

So, this patch adds a reload hook, which would:
 - 'start' lldpd if it's not running (because we return 1 if not running)
 - reload configuration if it is running (also previously
    clearing custom TLVs if present)

Signed-off-by: Alexandru Ardelean &lt;ardeleanalex@gmail.com&gt;

SVN-Revision: 47367
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Seems the default one is not working as expected.
The way that reload should work is that the 'start' service
call should return 1 (if lldpd is running) and then a normal
restart would be called.

However, for lldpd a reload would mean just clearing all custom TLVs
(if they're configured) and reloading the configuration.

So, this patch adds a reload hook, which would:
 - 'start' lldpd if it's not running (because we return 1 if not running)
 - reload configuration if it is running (also previously
    clearing custom TLVs if present)

Signed-off-by: Alexandru Ardelean &lt;ardeleanalex@gmail.com&gt;

SVN-Revision: 47367
</pre>
</div>
</content>
</entry>
<entry>
<title>lldpd: wrap procd command args in separate quotes</title>
<updated>2015-10-05T10:29:01+00:00</updated>
<author>
<name>John Crispin</name>
<email>john@openwrt.org</email>
</author>
<published>2015-10-05T10:29:01+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=8181976067d879d902f192693c6b0d06bee181b9'/>
<id>8181976067d879d902f192693c6b0d06bee181b9</id>
<content type='text'>
Seems the match pattern was being adapted from 'eth0' to ' eth0'
because of the way I added the procd command args.

This did not seem to be a problem when there were multiple interfaces,
just on devices with single interfaces for lldpd to listen on.

Signed-off-by: Alexandru Ardelean &lt;ardeleanalex@gmail.com&gt;

SVN-Revision: 47136
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Seems the match pattern was being adapted from 'eth0' to ' eth0'
because of the way I added the procd command args.

This did not seem to be a problem when there were multiple interfaces,
just on devices with single interfaces for lldpd to listen on.

Signed-off-by: Alexandru Ardelean &lt;ardeleanalex@gmail.com&gt;

SVN-Revision: 47136
</pre>
</div>
</content>
</entry>
<entry>
<title>lldpd: add extra respawn params</title>
<updated>2015-09-16T08:32:41+00:00</updated>
<author>
<name>John Crispin</name>
<email>john@openwrt.org</email>
</author>
<published>2015-09-16T08:32:41+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=251b58a0a544ee2d1378c358f5bef645ade98c25'/>
<id>251b58a0a544ee2d1378c358f5bef645ade98c25</id>
<content type='text'>
Signed-off-by: Alexandru Ardelean &lt;aa@ocedo.com&gt;

SVN-Revision: 46969
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Alexandru Ardelean &lt;aa@ocedo.com&gt;

SVN-Revision: 46969
</pre>
</div>
</content>
</entry>
<entry>
<title>lldpd: conversion of init script to procd format</title>
<updated>2015-09-16T08:32:33+00:00</updated>
<author>
<name>John Crispin</name>
<email>john@openwrt.org</email>
</author>
<published>2015-09-16T08:32:33+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=9885e32521c2068552c727783d5d21974fab3b2b'/>
<id>9885e32521c2068552c727783d5d21974fab3b2b</id>
<content type='text'>
And add respawn param (the main reason for this conversion).

Signed-off-by: Alexandru Ardelean &lt;aa@ocedo.com&gt;

SVN-Revision: 46968
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
And add respawn param (the main reason for this conversion).

Signed-off-by: Alexandru Ardelean &lt;aa@ocedo.com&gt;

SVN-Revision: 46968
</pre>
</div>
</content>
</entry>
<entry>
<title>lldpd: move /var/run creation + chmod earlier</title>
<updated>2015-09-16T08:32:27+00:00</updated>
<author>
<name>John Crispin</name>
<email>john@openwrt.org</email>
</author>
<published>2015-09-16T08:32:27+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=fc19ec21e45eda9ae261778edd18007846f73ac8'/>
<id>fc19ec21e45eda9ae261778edd18007846f73ac8</id>
<content type='text'>
Signed-off-by: Alexandru Ardelean &lt;aa@ocedo.com&gt;

SVN-Revision: 46967
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Alexandru Ardelean &lt;aa@ocedo.com&gt;

SVN-Revision: 46967
</pre>
</div>
</content>
</entry>
<entry>
<title>lldpd: remove obsolete/unsupported lldpctl call</title>
<updated>2015-09-16T08:32:18+00:00</updated>
<author>
<name>John Crispin</name>
<email>john@openwrt.org</email>
</author>
<published>2015-09-16T08:32:18+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=5007f488bb5e1b556052ef246bd3822fed8d09d2'/>
<id>5007f488bb5e1b556052ef246bd3822fed8d09d2</id>
<content type='text'>
This call is no longer supported.
Maybe a come-back for it would be to use a config /etc/lldpd.conf
or /etc/lldpd.d/&lt;some-file&gt;.conf

Signed-off-by: Alexandru Ardelean &lt;aa@ocedo.com&gt;

SVN-Revision: 46966
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This call is no longer supported.
Maybe a come-back for it would be to use a config /etc/lldpd.conf
or /etc/lldpd.d/&lt;some-file&gt;.conf

Signed-off-by: Alexandru Ardelean &lt;aa@ocedo.com&gt;

SVN-Revision: 46966
</pre>
</div>
</content>
</entry>
</feed>
