@@ -196,12 +196,15 @@ module OpenFlow0x01 : sig
196
196
include Platform. CTL
197
197
with type t := t
198
198
199
- (* val clear_flows : t -> SDN.Pattern.t -> Client_id.t -> (unit, exn) Deferred.Result.t *)
199
+ open OpenFlow0x01_Core
200
+ open OpenFlow0x01_Stats
201
+
200
202
val clear_table : t -> Client_id .t -> (unit , exn ) Deferred.Result .t
203
+ val send_flow_mods : ?clear : bool -> t -> Client_id .t -> flowMod list -> (unit , exn ) Deferred.Result .t
201
204
202
- val send_pkt_out : t -> Client_id .t -> OpenFlow0x01_Core . packetOut -> (unit , exn ) Deferred.Result .t
205
+ val send_pkt_out : t -> Client_id .t -> packetOut -> (unit , exn ) Deferred.Result .t
203
206
val barrier : t -> Client_id .t -> (unit , exn ) Result .t Deferred .t
204
- val stats : t -> Client_id .t -> OpenFlow0x01_Core . pattern -> (OpenFlow0x01_Stats . aggregateStats , exn ) Deferred.Result .t
207
+ val stats : t -> Client_id .t -> pattern -> (aggregateStats , exn ) Deferred.Result .t
205
208
end
206
209
207
210
end
@@ -220,11 +223,12 @@ module OpenFlow0x04 : sig
220
223
include Platform. CTL
221
224
with type t := t
222
225
226
+ open OpenFlow0x04_Core
223
227
224
- (* val clear_flows : t -> Pattern.t -> Client_id.t -> (unit, exn) Deferred.Result.t *)
225
228
val clear_table : t -> Client_id .t -> (unit , exn ) Deferred.Result .t
229
+ val send_flow_mods : ?clear : bool -> t -> Client_id .t -> flowMod list -> (unit , exn ) Deferred.Result .t
226
230
227
- val send_pkt_out : t -> Client_id .t -> OpenFlow0x04_Core . packetOut -> (unit , exn ) Deferred.Result .t
231
+ val send_pkt_out : t -> Client_id .t -> packetOut -> (unit , exn ) Deferred.Result .t
228
232
val barrier : t -> Client_id .t -> (unit , exn ) Result .t Deferred .t
229
233
end
230
234
0 commit comments