We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ovs-vsctl
1 parent 25e0a6b commit ad913f9Copy full SHA for ad913f9
lib/network_utils.ml
@@ -705,9 +705,16 @@ end
705
706
module Ovs = struct
707
708
- module Cli = struct
+ module Cli : sig
709
+ val vsctl : ?log:bool -> string list -> string
710
+ val ofctl : ?log:bool -> string list -> string
711
+ val appctl : ?log:bool -> string list -> string
712
+ end = struct
713
+ let s = Semaphore.create 5
714
let vsctl ?(log=false) args =
- call_script ~log_successful_output:log ovs_vsctl ("--timeout=20" :: args)
715
+ Semaphore.execute s (fun () ->
716
+ call_script ~log_successful_output:log ovs_vsctl ("--timeout=20" :: args)
717
+ )
718
let ofctl ?(log=false) args =
719
call_script ~log_successful_output:log ovs_ofctl args
720
let appctl ?(log=false) args =
0 commit comments