[ovs-git] [openvswitch/ovs] 0fc1f5: ovs-appctl: register unixctl commands in the begin...

GitHub noreply at github.com
Thu Jul 16 18:50:38 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 0fc1f5c04c8c1a9ac461da8c6ab88dee680a5ab3
      https://github.com/openvswitch/ovs/commit/0fc1f5c04c8c1a9ac461da8c6ab88dee680a5ab3
  Author: Huanle Han <hanxueluo at gmail.com>
  Date:   2015-07-16 (Thu, 16 Jul 2015)

  Changed paths:
    M lib/bfd.c
    M lib/bfd.h
    M ofproto/ofproto-dpif-upcall.c
    M ofproto/ofproto-dpif-upcall.h
    M ofproto/ofproto-dpif.c
    M ofproto/ofproto.c
    M vswitchd/bridge.c

  Log Message:
  -----------
  ovs-appctl: register unixctl commands in the beginning

Some commands of ovs-appctl were lazily registered when first
bridg or bfd was added. Before that, calling these commands raised a
error("xxx is not a valid command"). The problem commangs included
"bfd/...", "upcall/...","dpif/...","fdb/..." and so on.

Fix this by moving the register into the "bridge_init" and
"bridge_init_ofproto". All commands are registered at the moment
ovs-vswitchd starts.

Signed-off-by: Huanle Han <hanxueluo at gmail.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>




More information about the git mailing list