[ovs-dev] [kernel-reload 0/8] support reloading kernel module on running system

Ben Pfaff blp at nicira.com
Wed Feb 2 22:31:14 UTC 2011


This set of patches allows the kernel module to be unloaded and
reloaded in a reasonably safe way on a XenServer, by running
"service openvswitch force-reload-kmod".

Most of the patches enhance ovs-vsctl to make scripting easier,
and then the final patch actually takes advantage of that.

Ben Pfaff (8):
  daemon: Define daemon options enums the same way as other option
    enums.
  ovs-vswitchd: Complete daemonization only after initial
    configuration.
  ovs-vsctl: Add --columns options to "list" command.
  ovs-vsctl: Add new "find" command.
  ovsdb-client: Break table formatting into new library.
  table: Add new "bare" output formatting options.
  ovs-vsctl: Add formatting options for the "list" and "find" commands.
  xenserver: Introduce "force-reload-kmod" to reload kernel module.

 lib/automake.mk                  |    3 +
 lib/daemon.c                     |    8 +-
 lib/daemon.h                     |   13 +-
 lib/daemon.man                   |    2 +-
 lib/ovsdb-data.c                 |   39 +++-
 lib/ovsdb-data.h                 |    6 +-
 lib/table.c                      |  556 ++++++++++++++++++++++++++++++++++++++
 lib/table.h                      |  123 +++++++++
 lib/table.man                    |   71 +++++
 ovsdb/ovsdb-client.1.in          |   60 +----
 ovsdb/ovsdb-client.c             |  505 ++---------------------------------
 ovsdb/ovsdb-server.1.in          |    3 +
 ovsdb/ovsdb-server.c             |    5 +-
 tests/ovs-vsctl.at               |   28 ++-
 tests/test-jsonrpc.c             |    5 +-
 utilities/automake.mk            |    1 +
 utilities/ovs-controller.c       |    5 +-
 utilities/ovs-discover.c         |    5 +-
 utilities/ovs-openflowd.c        |    5 +-
 utilities/ovs-save               |  134 +++++++++
 utilities/ovs-vsctl.8.in         |   32 ++-
 utilities/ovs-vsctl.c            |  230 ++++++++++++++--
 vswitchd/bridge.c                |    5 +
 vswitchd/ovs-brcompatd.c         |    3 +-
 vswitchd/ovs-vswitchd.8.in       |    4 +
 vswitchd/ovs-vswitchd.c          |    7 +-
 xenserver/etc_init.d_openvswitch |   44 +++
 xenserver/openvswitch-xen.spec   |    5 +-
 28 files changed, 1302 insertions(+), 605 deletions(-)
 create mode 100644 lib/table.c
 create mode 100644 lib/table.h
 create mode 100644 lib/table.man
 create mode 100755 utilities/ovs-save





More information about the dev mailing list