LWN.net Logo

implementation of IEEE 802.1Qbg in lldpad, part2

From:  Jens Osterkamp <jens@linux.vnet.ibm.com>
To:  e1000-eedc@lists.sourceforge.net, virtualization@lists.linux-foundation.org, evb@yahoogroups.com
Subject:  implementation of IEEE 802.1Qbg in lldpad, part2
Date:  Thu, 17 Jun 2010 15:57:08 +0200
Cc:  chrisw@redhat.com
Archive-link:  Article, Thread

Hi,

This series of patches contains the second part of an initial implementation of
the IEEE 802.1Qbg standard: code for the exchange of VDP VSI TLVs between a
host with virtual machines and an adjacent switch.

VDP profiles consisting of mode,mgrid,typeid,typeidversion,instanceid,mac,vlan
can be given to lldpad with lldptool.
A way to deliver profiles to lldpad from libvirt using netlink messages is
currently under development and not yet included in this series.

The profiles are then processed through the VDP/VSI and ECP state machines and
sent out as ECP frames.
ACK frames are received and processed through ECP and VDP/VSI state machines.

It implements a bridge role for a port together with a lldptool command to
switch a port to the bridge role.

The patch applies to lldpad 0.9.34 and still contains code to log low-level
protocol activity more verbosely than it would be necessary in the final
version.

Things that are still missing but planned:

	   - adapt to final ECP ethertype. code currently uses extended
		ethertype (0x88b7) plus OUI.
	   - more testing

Next steps

	   - interface to allow registration of profiles with libvirt
	   - implementation of CDCP

Please review and comment !

Thanks !

	            Jens

_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/virtu...

Copyright © 2010, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds