aboutsummaryrefslogtreecommitdiff
path: root/ofproto/ofproto.h
diff options
context:
space:
mode:
authorSimon Horman <horms@verge.net.au>2012-11-07 17:03:02 +0900
committerBen Pfaff <blp@nicira.com>2012-11-12 09:44:23 -0800
commit1d9ffc175a68bf05c57797fa3715476f9e426b55 (patch)
tree4bd57d1ce4bbcc16ccbfd79734aed00eb02f690a /ofproto/ofproto.h
parente182670b0262e58a982a659dc5248aa5874264e2 (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/ofproto.h')
-rw-r--r--ofproto/ofproto.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ofproto/ofproto.h b/ofproto/ofproto.h
index 20335a2e..0366c89f 100644
--- a/ofproto/ofproto.h
+++ b/ofproto/ofproto.h
@@ -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 *,