-struct fail_open *fail_open_create(struct ofproto *, struct switch_status *);
-void fail_open_set_controllers(struct fail_open *, struct rconn **, size_t n);
-void fail_open_destroy(struct fail_open *);
+/* Returns true if 'rule' is one created by the "fail open" logic, false
+ * otherwise. */
+static inline bool
+is_fail_open_rule(const struct rule *rule)
+{
+ return rule->cr.priority == FAIL_OPEN_PRIORITY;
+}
+
+struct fail_open *fail_open_create(struct ofproto *, struct connmgr *);
+void fail_open_destroy(struct fail_open *) OVS_EXCLUDED(ofproto_mutex);