ofproto, connmgr: Parameterise OpenFlow versions for adding controller
[openvswitch] / ofproto / ofproto.h
index 20335a2eb748aa585702e1f94c7d7d845df19b70..0366c89f0772e1e9b3a2997619970122cc6ed2b5 100644 (file)
@@ -218,7 +218,8 @@ int ofproto_port_query_by_name(const struct ofproto *, const char *devname,
 uint64_t ofproto_get_datapath_id(const struct ofproto *);
 void ofproto_set_datapath_id(struct ofproto *, uint64_t datapath_id);
 void ofproto_set_controllers(struct ofproto *,
-                             const struct ofproto_controller *, size_t n);
+                             const struct ofproto_controller *, size_t n,
+                             uint32_t allowed_versions);
 void ofproto_set_fail_mode(struct ofproto *, enum ofproto_fail_mode fail_mode);
 void ofproto_reconnect_controllers(struct ofproto *);
 void ofproto_set_extra_in_band_remotes(struct ofproto *,