From: Dennis Flynn <drfl...@avaya.com> This patch sequence provides OVS support for the IETF Auto-Attach SPBM draft standard. This standard describes a compact method of using IEEE 802.1AB Link Layer Discovery Protocol (LLDP) together with a IEEE 802.1aq Shortest Path Bridging (SPB) network to automatically attach network devices to individual services in a SPB network. The intent here is to allow network applications and devices using OVS to be able to easily take advantage of features offered by industry standard SPB networks. Details of the Auto-Attach standard can be found here.
http://tools.ietf.org/html/draft-unbehagen-lldp-spb-00 We have modified the OVS source code to integrate basic LLDP protocol support as required to implement Auto-Attach (AA). We modeled our LLDP code changes after other protocols currently supported by OVS (BFD, CFM, etc.). We have chosen to base this OVS LLDP work on the open source LLDPD project headed by Vincent Bernat. Details of the LLDPD project can be found here. http://vincentbernat.github.io/lldpd Although the LLDPD project provides a full LLDP implementation as per the IEEE 802.1AB standard, our initial offering focuses on the core pieces of LLDP required to provide AA support. We have plans in place to extend this work to include full LLDP support within OVS. We have reached a point in our development where we would like to submit our changes upstream to the OVS development community. Within this patch set we have integrated core LLDP support into OVS and have augmented that to support Auto-Attach. We have extended OVSDB and unixctl adding new commands to support the configuration, status display, and statistics display of Auto-Attach. We have added the associated man pages for these new commands. While there is more Auto-Attach work to be done we feel we are at a point where it makes sense to start presenting this new Auto-Attach feature upstream for your consideration. Regards, Dennis Flynn: Avaya, Inc. email: drfl...@avaya.com Ludovic Beliveau: WindRiver, Inc. email: ludovic.beliv...@windriver.com Rev. 1.0 ======== - Initial submission. Rev. 2.0 ======== - Fix GCC and sparse errors - Replace BSD-style linked lists with OVS-style lists - Add endianness checks in auto attach TLV packet structures - Removed auto attach configuration option and associated conditional compilation - Update NOTICE and copyright.in files with auto attach Copyright and license info - Change comment reflecting Net::CDP packet generation macro license change from GPLv2 to ISC. - Remove lldp logic not required by auto attach - Adapt lldp code to fit Open vSwitch sytles and conventions - Eliminate "#include config.h" from header files - Accommodate GCC specifics and validate build using MSVC 2013 - Eliminate references to log.h in favor of OVS vlog.h - Add auto attach description to man pages and NEWS - Simplify auto attach OVSDB entries - Remove unnecessary GCC version check - Remove references to sysfs Dennis Flynn (3): auto-attach: Initial support for Auto-Attach standard auto-attach: Add auto-attach support to ofproto layer auto-attach: Add auto-attach support to bridge layer and command set NEWS | 3 + NOTICE | 13 + debian/copyright.in | 18 + lib/aa-structs.h | 63 +++ lib/automake.mk | 11 + lib/lldp-const.h | 230 +++++++++ lib/lldp-tlv.h | 80 ++++ lib/lldp.c | 698 +++++++++++++++++++++++++++ lib/lldpd-structs.c | 138 ++++++ lib/lldpd-structs.h | 277 +++++++++++ lib/lldpd.c | 810 +++++++++++++++++++++++++++++++ lib/lldpd.h | 136 ++++++ lib/marshal.h | 149 ++++++ lib/odp-util.h | 1 + lib/ovs-lldp.c | 1029 ++++++++++++++++++++++++++++++++++++++++ lib/ovs-lldp.h | 99 ++++ ofproto/ofproto-dpif-monitor.c | 41 +- ofproto/ofproto-dpif-monitor.h | 3 +- ofproto/ofproto-dpif-xlate.c | 34 +- ofproto/ofproto-dpif-xlate.h | 8 +- ofproto/ofproto-dpif.c | 98 +++- ofproto/ofproto-provider.h | 61 +++ ofproto/ofproto.c | 80 +++- ofproto/ofproto.h | 17 + tests/ovs-vsctl.at | 2 + utilities/ovs-vsctl.8.in | 22 + utilities/ovs-vsctl.c | 193 ++++++++ vswitchd/bridge.c | 273 ++++++++++- vswitchd/vswitch.ovsschema | 31 +- vswitchd/vswitch.xml | 23 + 30 files changed, 4605 insertions(+), 36 deletions(-) create mode 100644 lib/aa-structs.h create mode 100644 lib/lldp-const.h create mode 100644 lib/lldp-tlv.h create mode 100644 lib/lldp.c create mode 100644 lib/lldpd-structs.c create mode 100644 lib/lldpd-structs.h create mode 100644 lib/lldpd.c create mode 100644 lib/lldpd.h create mode 100644 lib/marshal.h create mode 100644 lib/ovs-lldp.c create mode 100644 lib/ovs-lldp.h -- 1.7.12.4 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev