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 Revisions: v1:- Initial submission. v2 - Rebase to tip of master branch to fix apply error 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 configure.ac | 1 + lib/aa-structs.h | 46 ++ lib/automake.mk | 22 + lib/lldp-const.h | 229 ++++++ lib/lldp-frame.c | 67 ++ lib/lldp-frame.h | 137 ++++ lib/lldp-tlv.h | 83 ++ lib/lldp.c | 1259 +++++++++++++++++++++++++++++ lib/lldpd-structs.c | 197 +++++ lib/lldpd-structs.h | 473 +++++++++++ lib/lldpd.c | 1714 ++++++++++++++++++++++++++++++++++++++++ lib/lldpd.h | 468 +++++++++++ lib/marshal.h | 156 ++++ lib/odp-util.h | 1 + lib/ovs-lldp.c | 979 +++++++++++++++++++++++ lib/ovs-lldp.h | 99 +++ lib/packets.c | 1 + lib/queue.h | 574 ++++++++++++++ m4/openvswitch.m4 | 15 + ofproto/ofproto-dpif-monitor.c | 70 +- ofproto/ofproto-dpif-monitor.h | 4 + ofproto/ofproto-dpif-xlate.c | 58 +- ofproto/ofproto-dpif-xlate.h | 11 +- ofproto/ofproto-dpif.c | 118 ++- ofproto/ofproto-provider.h | 65 ++ ofproto/ofproto.c | 82 +- ofproto/ofproto.h | 21 + tests/ovs-vsctl.at | 2 + utilities/ovs-ctl.in | 11 + utilities/ovs-vsctl.8.in | 16 + utilities/ovs-vsctl.c | 240 ++++++ vswitchd/bridge.c | 297 ++++++- vswitchd/vswitch.ovsschema | 42 +- vswitchd/vswitch.xml | 30 + 34 files changed, 7569 insertions(+), 19 deletions(-) create mode 100644 lib/aa-structs.h create mode 100644 lib/lldp-const.h create mode 100644 lib/lldp-frame.c create mode 100644 lib/lldp-frame.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 create mode 100644 lib/queue.h -- 1.7.12.4 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev