The whole point of this module is side effects on the Open vSwitch
database, so the whole thing can be skipped if those are impossible.
Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Justin Pettit <jpettit@nicira.com>
const struct ovsrec_bridge *b1,
const struct ovsrec_bridge *b2)
{
- if (!ctx->ovs_idl_txn) {
- return;
- }
-
char *port_name = patch_port_name(b1, b2);
char *peer_port_name = patch_port_name(b2, b1);
void
patch_run(struct controller_ctx *ctx, const struct ovsrec_bridge *br_int)
{
+ if (!ctx->ovs_idl_txn) {
+ return;
+ }
+
const char *mappings_cfg = "";
const struct ovsrec_open_vswitch *cfg;