mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 14:25:26 +00:00
ovn-controller: Add external-id 'ovn-remote-probe-interval'
Add a external-id 'ovn-remote-probe-interval' for setting the activity probe interval of the json session from ovn-controller to the OVN southbound database. Signed-off-by: Huang Lei <lhuang8@ebay.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
This commit is contained in:
@@ -582,6 +582,15 @@ ovsdb_idl_get_last_error(const struct ovsdb_idl *idl)
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
/* Sets the "probe interval" for 'idl->session' to 'probe_interval', in
|
||||
* milliseconds.
|
||||
*/
|
||||
void
|
||||
ovsdb_idl_set_probe_interval(const struct ovsdb_idl *idl, int probe_interval)
|
||||
{
|
||||
jsonrpc_session_set_probe_interval(idl->session, probe_interval);
|
||||
}
|
||||
|
||||
static unsigned char *
|
||||
ovsdb_idl_get_mode(struct ovsdb_idl *idl,
|
||||
|
Reference in New Issue
Block a user