From 1d9ffc175a68bf05c57797fa3715476f9e426b55 Mon Sep 17 00:00:00 2001 From: Simon Horman Date: Wed, 7 Nov 2012 17:03:02 +0900 Subject: ofproto, connmgr: Parameterise OpenFlow versions for adding controller Allow allowed Open Flow versions to be passed rather than relying on hard-coded defaults. This is in preparation for allowing configuration of the allowed OpenFlow versions. Signed-off-by: Simon Horman Signed-off-by: Ben Pfaff --- ofproto/connmgr.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ofproto/connmgr.h') diff --git a/ofproto/connmgr.h b/ofproto/connmgr.h index 9a080f28..6d6842d5 100644 --- a/ofproto/connmgr.h +++ b/ofproto/connmgr.h @@ -85,7 +85,8 @@ bool connmgr_has_controllers(const struct connmgr *); void connmgr_get_controller_info(struct connmgr *, struct shash *); void connmgr_free_controller_info(struct shash *); void connmgr_set_controllers(struct connmgr *, - const struct ofproto_controller[], size_t n); + const struct ofproto_controller[], size_t n, + uint32_t allowed_versions); void connmgr_reconnect(const struct connmgr *); int connmgr_set_snoops(struct connmgr *, const struct sset *snoops); -- cgit v1.2.3