projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
OVS events: Fix multiple interface config issue
[collectd.git]
/
src
/
utils_ovs.h
diff --git
a/src/utils_ovs.h
b/src/utils_ovs.h
index
1ddda4d
..
e90bda3
100644
(file)
--- a/
src/utils_ovs.h
+++ b/
src/utils_ovs.h
@@
-93,6
+93,10
@@
struct ovs_db_callback_s {
};
typedef struct ovs_db_callback_s ovs_db_callback_t;
};
typedef struct ovs_db_callback_s ovs_db_callback_t;
+/* OVS DB defines */
+#define OVS_DB_ADDR_NODE_SIZE 256
+#define OVS_DB_ADDR_SERVICE_SIZE 128
+
/* OVS DB prototypes */
/*
/* OVS DB prototypes */
/*
@@
-104,13
+108,15
@@
typedef struct ovs_db_callback_s ovs_db_callback_t;
* shall destroy the returned object.
*
* PARAMETERS
* shall destroy the returned object.
*
* PARAMETERS
- * `surl' OVS DB communication URL.
+ * `node' OVS DB Address.
+ * `service' OVS DB service name.
* `cb' OVS DB callbacks.
*
* RETURN VALUE
* New ovs_db_t object upon success or NULL if an error occurred.
*/
* `cb' OVS DB callbacks.
*
* RETURN VALUE
* New ovs_db_t object upon success or NULL if an error occurred.
*/
-ovs_db_t *ovs_db_init(const char *surl, ovs_db_callback_t *cb);
+ovs_db_t *ovs_db_init(const char *node, const char *service,
+ ovs_db_callback_t *cb);
/*
* NAME
/*
* NAME