diff options
| author | Ben Pfaff <blp@nicira.com> | 2011-02-08 16:43:40 -0800 |
|---|---|---|
| committer | Ben Pfaff <blp@nicira.com> | 2011-02-08 16:43:40 -0800 |
| commit | f7a122fc2457f805fd0906f4368ea42d2ea55584 (patch) | |
| tree | 7c57abcb6768dbc8d27b08f18477921daf6dfa55 /xenserver/openvswitch-xen.spec | |
| parent | e051b42c418e0c0e6627ae78d2e86d2d8b24cfb2 (diff) | |
| download | openvswitch-f7a122fc2457f805fd0906f4368ea42d2ea55584.tar.gz | |
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@nicira.com>
Diffstat (limited to 'xenserver/openvswitch-xen.spec')
| -rw-r--r-- | xenserver/openvswitch-xen.spec | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/xenserver/openvswitch-xen.spec b/xenserver/openvswitch-xen.spec index deb1fd3db..9a050907d 100644 --- a/xenserver/openvswitch-xen.spec +++ b/xenserver/openvswitch-xen.spec @@ -1,6 +1,6 @@ # Spec file for Open vSwitch. -# Copyright (C) 2009, 2010 Nicira Networks, Inc. +# Copyright (C) 2009, 2010, 2011 Nicira Networks, Inc. # # Copying and distribution of this file, with or without modification, # are permitted in any medium without royalty provided the copyright @@ -83,6 +83,8 @@ install -m 755 xenserver/usr_sbin_brctl \ $RPM_BUILD_ROOT/usr/share/openvswitch/scripts/brctl install -m 755 xenserver/usr_share_openvswitch_scripts_sysconfig.template \ $RPM_BUILD_ROOT/usr/share/openvswitch/scripts/sysconfig.template +install -m 755 utilities/ovs-save \ + $RPM_BUILD_ROOT/usr/share/openvswitch/scripts/ovs-save install -d -m 755 $RPM_BUILD_ROOT/usr/lib/xsconsole/plugins-base install -m 644 \ xenserver/usr_lib_xsconsole_plugins-base_XSFeatureVSwitch.py \ @@ -402,6 +404,7 @@ fi /usr/share/openvswitch/scripts/xen-bugtool /usr/share/openvswitch/scripts/brctl /usr/share/openvswitch/scripts/sysconfig.template +/usr/share/openvswitch/scripts/ovs-save /usr/share/openvswitch/vswitch.ovsschema /usr/sbin/ovs-brcompatd /usr/sbin/ovs-vswitchd |
