Code

OVS link: Implement OVS link plugin
authorMytnyk, VolodymyrX <volodymyrx.mytnyk@intel.com>
Wed, 31 Aug 2016 16:55:10 +0000 (17:55 +0100)
committerMytnyk, VolodymyrX <volodymyrx.mytnyk@intel.com>
Mon, 26 Dec 2016 13:26:05 +0000 (13:26 +0000)
commit7f0ab40f34e685128edca1ab489bc36dbbb7bd50
tree4beaa7d6cff1da4d10137bc4cbc96d04267922b6
parent38dd976ae03dcc308233523047dfa866a02f8492
OVS link: Implement OVS link plugin

This plugin consists of two parts:
 - OVS link
    The implementation of the plugin itself, which uses
    OVS utils API to be able to monitor a link status of
    OVS connected interfaces and dispatch the values
    through collectd notification mechanism whenever
    the link state change occurs.

 - OVS utils
    This module implements the OVS DB communication routine
    specified by RFC7047. It includes:
      - Connecting/disconnecting to/from OVS DB (via TCP/UNIX);
      - Mechanism to subscribe to OVS DB table events like
        init/insert/modify/delete table rows;
      - API to send custom request and receive result;
      - Recovery connection mechanism with OVS DB;
      - Handling of ECHO request to verify the liveness
        of a database connection;
      - Helpers functions.

Change-Id: Icac392bd1bd40f7dd156bfd2fc4ff08d9725a22f
Signed-off-by: Mytnyk, VolodymyrX <volodymyrx.mytnyk@intel.com>
Makefile.am
README
configure.ac
src/collectd.conf.in
src/collectd.conf.pod
src/ovs_link.c [new file with mode: 0644]
src/utils_ovs.c [new file with mode: 0644]
src/utils_ovs.h [new file with mode: 0644]