[ovs-git] Open vSwitch: daemon-windows: Add users for windows services. (master)

dev at openvswitch.org dev at openvswitch.org
Tue Feb 4 16:30:08 UTC 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  42dd41ef305bac8be801346e9232788d30f895bd (commit)
       via  fda546bd0b1737bf3beeef69b32d0df6dc9e0ad4 (commit)
      from  80e448834d1f57131c0751e299d1c7cef9761210 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 42dd41ef305bac8be801346e9232788d30f895bd
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=42dd41ef305bac8be801346e9232788d30f895bd
Author: Gurucharan Shetty <gshetty at nicira.com>
		
daemon-windows: Add users for windows services.
		
Start with ovs-vswitchd and ovsdb-server.

Signed-off-by: Gurucharan Shetty <gshetty at nicira.com>


commit fda546bd0b1737bf3beeef69b32d0df6dc9e0ad4
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=fda546bd0b1737bf3beeef69b32d0df6dc9e0ad4
Author: Gurucharan Shetty <gshetty at nicira.com>
		
daemon-windows: Ability to handle windows service calls.
		
The following code does not add any users yet.

The visioned workflow that this piece of code should work with is:
* Create a windows service through a startup script with
a tool like 'sc'
ex:  sc create ovsdb-server binpath=
 "C:\openvswitch\usr\sbin\ovsdb-server.exe -vconsole:off
-vsyslog:off -vfile:info --remote=ptcp:6632:127.0.0.1 --log-file
--service-monitor --service"

* Start the service from the startup script.
ex: sc start ovsdb-server

* Terminate the service during shutdown process.
ex: sc stop ovsdb-server

* Abrupt termination will restart the service.

Signed-off-by: Gurucharan Shetty <gshetty at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>


-----------------------------------------------------------------------

Summary of changes:
 lib/automake.mk            |    5 +-
 lib/daemon-windows.c       |  332 ++++++++++++++++++++++++++++++++++++++++++++
 lib/daemon.c               |   19 +++
 lib/daemon.h               |   46 +++++-
 lib/daemon.man             |    1 +
 lib/service-syn.man        |    3 +
 lib/service.man            |   12 ++
 lib/util.c                 |    4 +
 manpages.mk                |    6 +
 ovsdb/ovsdb-server.1.in    |    3 +
 ovsdb/ovsdb-server.c       |    5 +
 vswitchd/ovs-vswitchd.8.in |    3 +
 vswitchd/ovs-vswitchd.c    |    5 +
 13 files changed, 439 insertions(+), 5 deletions(-)
 create mode 100644 lib/daemon-windows.c
 create mode 100644 lib/service-syn.man
 create mode 100644 lib/service.man


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list