We manually rmmod the loaded vports as using modprobe -r only works if the modules are available through modules.dep
Upon restart, the vports get automatically reloaded when the respective vports are added. Reported-by: Pravin Shelar <pshe...@nicira.com> Signed-off-by: Thomas Graf <tg...@noironetworks.com> --- utilities/ovs-ctl.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/utilities/ovs-ctl.in b/utilities/ovs-ctl.in index 6d2e938..c16b4e0 100755 --- a/utilities/ovs-ctl.in +++ b/utilities/ovs-ctl.in @@ -388,6 +388,10 @@ force_reload_kmod () { action "Removing datapath: $dp" ovs-dpctl del-dp "$dp" done + for vport in `lsmod | grep ^vport_ | awk '{print $1;}'`; do + action "Removing $vport module" rmmod $vport + done + # try both old and new names in case this is post upgrade if test -e /sys/module/openvswitch_mod; then action "Removing openvswitch module" rmmod openvswitch_mod -- 1.9.3 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev