| author | Mytnyk, VolodymyrX <volodymyrx.mytnyk@intel.com> | |
| Wed, 31 Aug 2016 16:55:10 +0000 (17:55 +0100) | ||
| committer | Mytnyk, VolodymyrX <volodymyrx.mytnyk@intel.com> | |
| Mon, 26 Dec 2016 13:26:05 +0000 (13:26 +0000) | ||
| commit | 7f0ab40f34e685128edca1ab489bc36dbbb7bd50 | |
| tree | 4beaa7d6cff1da4d10137bc4cbc96d04267922b6 | tree | snapshot |
| parent | 38dd976ae03dcc308233523047dfa866a02f8492 | commit | diff |
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>
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 | diff | blob | history | |
| README | diff | blob | history | |
| configure.ac | diff | blob | history | |
| src/collectd.conf.in | diff | blob | history | |
| src/collectd.conf.pod | diff | blob | history | |
| src/ovs_link.c | [new file with mode: 0644] | blob |
| src/utils_ovs.c | [new file with mode: 0644] | blob |
| src/utils_ovs.h | [new file with mode: 0644] | blob |