diff options
author | Gurucharan Shetty <gshetty@nicira.com> | 2014-02-14 14:07:34 -0800 |
---|---|---|
committer | Gurucharan Shetty <gshetty@nicira.com> | 2014-02-19 14:24:26 -0800 |
commit | 41064650bea07f7896cf5f5ccfebef1bdec153fa (patch) | |
tree | 770e8a6fe30ce83f38508196ccb6b55a15ae2ceb /ovsdb | |
parent | 6ca326ed3f1def5f3dbc05f03e9808191e488a38 (diff) |
process: Make changes for Windows.
As of now, we are using the process subsystem in
ovsdb-server to handle the "--run" command line
option. That particular option is not used often
and till deemed necessary, make it unsupported on
Windows platform.
Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'ovsdb')
-rw-r--r-- | ovsdb/ovsdb-server.1.in | 2 | ||||
-rw-r--r-- | ovsdb/ovsdb-server.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/ovsdb/ovsdb-server.1.in b/ovsdb/ovsdb-server.1.in index 6924d4203..a4cf3442d 100644 --- a/ovsdb/ovsdb-server.1.in +++ b/ovsdb/ovsdb-server.1.in @@ -88,6 +88,8 @@ otherwise, it exits with exit code 1. This option can be useful where a database server is needed only to run a single command, e.g.: .B "ovsdb\-server \-\-remote=punix:socket \-\-run='ovsdb\-client dump unix:socket Open_vSwitch'" +.IP +This option is not supported on Windows platform. .SS "Daemon Options" .ds DD \ \fBovsdb\-server\fR detaches only after it starts listening on all \ diff --git a/ovsdb/ovsdb-server.c b/ovsdb/ovsdb-server.c index c24d355ae..bdcdad922 100644 --- a/ovsdb/ovsdb-server.c +++ b/ovsdb/ovsdb-server.c @@ -1172,7 +1172,9 @@ parse_options(int *argcp, char **argvp[], static const struct option long_options[] = { {"remote", required_argument, NULL, OPT_REMOTE}, {"unixctl", required_argument, NULL, OPT_UNIXCTL}, +#ifndef _WIN32 {"run", required_argument, NULL, OPT_RUN}, +#endif {"help", no_argument, NULL, 'h'}, {"version", no_argument, NULL, 'V'}, DAEMON_LONG_OPTIONS, |