Hi,

On Mon, Oct 19, 2009 at 06:44:01PM +0200, Vincent Bernat wrote:
> OoO  En ce début  d'après-midi nuageux  du lundi  19 octobre  2009, vers
> 14:37, Marc Haber <[email protected]> disait :
> > please consider making it easier to parse lldpctl's output from a
> > script. I would like to suggest that lldpctl will have command line
> > options to select the information to be output:
> 
> >   lldpctl --interface eth0 - only print information regarding interface eth0
> >   lldpctl --interface eth0 --sysName - print sysName of LLDP remote
> >                       device on eth0 without any explanation
> >   lldpctl --interface eth0 --portID - print PortID from LLDP remote
> >                       device on eth0 without any explanation
> 
> Hi Marc!
> 
> Would ticket #22 solves your problem:
>  https://trac.luffy.cx/lldpd/ticket/22
> 
> This is not incompatible with your proposal.

If I see correctly, this will have lldpctl output XML. This is
incredibly hard to parse from a shell script, so I'd still like to
have something which is easier to use.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 3221 2323190



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to