Add functions to determine how port should be opened based on type.
[openvswitch] / ofproto / ofproto.h
index 0366c89f0772e1e9b3a2997619970122cc6ed2b5..e4abe523d4873f5389dbdf31a4ef0e23d042c88a 100644 (file)
@@ -207,6 +207,8 @@ int ofproto_port_dump_done(struct ofproto_port_dump *);
 #define OFPROTO_FLOW_EVICTION_THRESHOLD_DEFAULT  1000
 #define OFPROTO_FLOW_EVICTION_THRESHOLD_MIN 100
 
+const char *ofproto_port_open_type(const char *datapath_type,
+                                   const char *port_type);
 int ofproto_port_add(struct ofproto *, struct netdev *, uint16_t *ofp_portp);
 int ofproto_port_del(struct ofproto *, uint16_t ofp_port);
 int ofproto_port_get_stats(const struct ofport *, struct netdev_stats *stats);