[ovs-git] Open vSwitch: xenserver: Introduce "force-reload-kmod" to reload kernel module. (master)

dev at openvswitch.org dev at openvswitch.org
Wed Feb 9 00:46:15 UTC 2011

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  f7a122fc2457f805fd0906f4368ea42d2ea55584 (commit)
       via  e051b42c418e0c0e6627ae78d2e86d2d8b24cfb2 (commit)
       via  c6a4125250b97d41d18dbeeea13043a86e9b8f55 (commit)
       via  3a3eb9daef012e58d6604a6fc726a5115b25945f (commit)
       via  0a140468ddcff3f767a3069fe3303c7ae000a855 (commit)
       via  9591fefeea4b475ee0d1387486a410bbb592b050 (commit)
       via  f158c54a9830e6aef4f1e5a918da5860d2254616 (commit)
      from  a02f82862e2d6794d090284806fb79b5a77c20ae (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 f7a122fc2457f805fd0906f4368ea42d2ea55584
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=f7a122fc2457f805fd0906f4368ea42d2ea55584
Author: Ben Pfaff <blp at nicira.com>
xenserver: Introduce "force-reload-kmod" to reload kernel module.
Running "service openvswitch force-reload-kmod" will now save the kernel
configuration state of Open vSwitch interfaces, stop the vswitch, unload
the kernel module, reload the kernel module, restart the vswitch, and
restore kernel configuration state.  It is a reasonably safe way to upgrade
or downgrade the Open vSwitch kernel module on a running system.

Signed-off-by: Ben Pfaff <blp at nicira.com>

commit e051b42c418e0c0e6627ae78d2e86d2d8b24cfb2
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=e051b42c418e0c0e6627ae78d2e86d2d8b24cfb2
Author: Ben Pfaff <blp at nicira.com>
ovs-vsctl: Add formatting options for the "list" and "find" commands.
The default format is the same as before (which the testsuite verifies).
The most important use for the new formatting options is --bare, which
outputs a format that is easy to parse from a shell script.  An upcoming
patch will start using that.

commit c6a4125250b97d41d18dbeeea13043a86e9b8f55
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=c6a4125250b97d41d18dbeeea13043a86e9b8f55
Author: Ben Pfaff <blp at nicira.com>
table: Add new "bare" output formatting options.
--format=list corresponds to the output format that "ovs-vsctl list" has
always used.

--bare is easier for scripts to parse.

commit 3a3eb9daef012e58d6604a6fc726a5115b25945f
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=3a3eb9daef012e58d6604a6fc726a5115b25945f
Author: Ben Pfaff <blp at nicira.com>
ovsdb-client: Break table formatting into new library.
This makes the table formatting functions available to other programs.
ovs-vsctl will start using it soon on the "list" and "find" commands.

commit 0a140468ddcff3f767a3069fe3303c7ae000a855
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=0a140468ddcff3f767a3069fe3303c7ae000a855
Author: Ben Pfaff <blp at nicira.com>
ovs-vsctl: Add new "find" command.
This allows listing records that match specified criteria, instead
of just records that have specific names.

This will be used in an upcoming patch, along with --columns, to
list all of the interfaces whose type is 'internal'.

commit 9591fefeea4b475ee0d1387486a410bbb592b050
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=9591fefeea4b475ee0d1387486a410bbb592b050
Author: Ben Pfaff <blp at nicira.com>
ovs-vsctl: Add --columns options to "list" command.
This allows the user to list just selected columns from a table,
for example just the "name" column.

This will become more useful as additional formatting options
are added in upcoming commits.

commit f158c54a9830e6aef4f1e5a918da5860d2254616
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=f158c54a9830e6aef4f1e5a918da5860d2254616
Author: Ben Pfaff <blp at nicira.com>
ovs-vsctl: Fix spelling of "satisfied" in function name.
Suggested-by: Ethan Jackson <ethan at nicira.com>


Summary of changes:
 lib/automake.mk                  |    3 +
 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             |  502 +---------------------------------
 tests/ovs-vsctl.at               |   28 ++-
 utilities/automake.mk            |    1 +
 utilities/ovs-save               |  157 +++++++++++
 utilities/ovs-vsctl.8.in         |   29 ++-
 utilities/ovs-vsctl.c            |  237 ++++++++++++++---
 xenserver/etc_init.d_openvswitch |   48 ++++
 xenserver/openvswitch-xen.spec   |    5 +-
 15 files changed, 1282 insertions(+), 583 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

Open vSwitch

More information about the git mailing list