diff options
author | Simon Horman <horms@verge.net.au> | 2012-11-07 17:03:02 +0900 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2012-11-12 09:44:23 -0800 |
commit | 1d9ffc175a68bf05c57797fa3715476f9e426b55 (patch) | |
tree | 4bd57d1ce4bbcc16ccbfd79734aed00eb02f690a /ofproto/connmgr.h | |
parent | e182670b0262e58a982a659dc5248aa5874264e2 (diff) |
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 <horms@verge.net.au>
Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'ofproto/connmgr.h')
-rw-r--r-- | ofproto/connmgr.h | 3 |
1 files changed, 2 insertions, 1 deletions
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); |