X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=utilities%2Fovs-openflowd.c;h=603e2587ba5c7f085e913a8a1ecd3acbc4eb5b8d;hb=37c84020e98ae97356447740a0cf906bdb4d3e64;hp=f60dea5a47777ccdfd17b39673381671fae81fbc;hpb=a5e54d9b6f8002f34cc792df69e6eda68cf95223;p=openvswitch diff --git a/utilities/ovs-openflowd.c b/utilities/ovs-openflowd.c index f60dea5a..603e2587 100644 --- a/utilities/ovs-openflowd.c +++ b/utilities/ovs-openflowd.c @@ -195,10 +195,12 @@ main(int argc, char *argv[]) } unixctl_server_run(unixctl); dp_run(); + netdev_run(); ofproto_wait(ofproto); unixctl_server_wait(unixctl); dp_wait(); + netdev_wait(); poll_block(); } @@ -289,7 +291,7 @@ parse_options(int argc, char *argv[], struct ofsettings *s) s->fail_mode = FAIL_OPEN; s->max_idle = 0; s->probe_interval = 0; - s->max_backoff = 15; + s->max_backoff = 8; s->update_resolv_conf = true; s->rate_limit = 0; s->burst_limit = 0; @@ -351,8 +353,7 @@ parse_options(int argc, char *argv[], struct ofsettings *s) } else if (!strcmp(optarg, "closed")) { s->fail_mode = FAIL_CLOSED; } else { - ovs_fatal(0, "-f or --fail argument must be \"open\" " - "or \"closed\""); + ovs_fatal(0, "--fail argument must be \"open\" or \"closed\""); } break; @@ -540,7 +541,7 @@ usage(void) " --inactivity-probe=SECS time between inactivity probes\n" " --max-idle=SECS max idle for flows set up by switch\n" " --max-backoff=SECS max time between controller connection\n" - " attempts (default: 15 seconds)\n" + " attempts (default: 8 seconds)\n" " -l, --listen=METHOD allow management connections on METHOD\n" " (a passive OpenFlow connection method)\n" " --snoop=METHOD allow controller snooping on METHOD\n"