[ovs-git] [openvswitch/ovs] fe13cc: vswitchd: Add --cleanup option to the 'appctl exit...

GitHub noreply at github.com
Wed May 3 20:21:21 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: fe13ccdca6a223eec605041f77acfabd21e1fcb2
      https://github.com/openvswitch/ovs/commit/fe13ccdca6a223eec605041f77acfabd21e1fcb2
  Author: Andy Zhou <azhou at ovn.org>
  Date:   2017-05-03 (Wed, 03 May 2017)

  Changed paths:
    M NEWS
    M ofproto/ofproto-dpif.c
    M ofproto/ofproto-provider.h
    M ofproto/ofproto.c
    M vswitchd/bridge.c
    M vswitchd/bridge.h
    M vswitchd/ovs-vswitchd.8.in
    M vswitchd/ovs-vswitchd.c

  Log Message:
  -----------
  vswitchd: Add --cleanup option to the 'appctl exit' command

'appctl exit' stops the running vswitchd daemon, without releasing
the datapath resources (such as bridges and ports) that vswitchd
has created.  This is expected when vswitchd is to be relaunched, to
reduce the perturbation of exiting traffic and connections.

However, when vswitchd is intended to be shutdown permanently, it
is desirable not to leak datapath resources.  In theory, this can be
achieved by removing the corresponding configurations from
OVSDB before shutting down vswitchd. However it is not always
possible in practice. Sometimes it is convenient and robust for
vswitchd to release all datapath resources that it has configured.
Add 'appctl exit --cleanup' option for this use case.

Signed-off-by: Andy Zhou <azhou at ovn.org>
Acked-by: Jarno Rajahalme <jarno at ovn.org>




More information about the git mailing list