[ovs-git] [openvswitch/ovs] 485383: ovsdb-idlc: Make set and map update operations tak...

GitHub noreply at github.com
Thu Sep 1 04:42:38 UTC 2016


  Branch: refs/heads/branch-2.6
  Home:   https://github.com/openvswitch/ovs
  Commit: 485383396edd7664245300cba36c61f199a3c88c
      https://github.com/openvswitch/ovs/commit/485383396edd7664245300cba36c61f199a3c88c
  Author: Ben Pfaff <blp at ovn.org>
  Date:   2016-08-31 (Wed, 31 Aug 2016)

  Changed paths:
    M ovsdb/ovsdb-idlc.in
    M python/ovs/db/types.py

  Log Message:
  -----------
  ovsdb-idlc: Make set and map update operations take const arguments.

In a call like "ovsrec_bridge_update_ports_delvalue(bridge, port)", there's
no reason for the port argument to be nonconst, because the call doesn't
do anything to the port at all--it only searches the list of ports in the
bridge for that particular port and, if it finds it, removes it.

Signed-off-by: Ben Pfaff <blp at ovn.org>
Acked-by: Russell Bryant <russell at ovn.org>


  Commit: 827539869ff3f61aaf3a2822922ae4cea920e6da
      https://github.com/openvswitch/ovs/commit/827539869ff3f61aaf3a2822922ae4cea920e6da
  Author: Ben Pfaff <blp at ovn.org>
  Date:   2016-08-31 (Wed, 31 Aug 2016)

  Changed paths:
    M ovn/controller/encaps.c

  Log Message:
  -----------
  ovn-controller: Drop incremental processing from encapsulation code.

This commit reverts encaps.c to its content just before commit 1d45d5a9666d
(ovn-controller: Change encaps_run to work incrementally.).  I then
reintroduced the UDP checksum support originallly added in commit
36283d7884f3 (ovn-controller: Use UDP checksums when creating Geneve
tunnels.)  I also read the other commits following the incremental
processing commit to verify that this change didn't lose any bug fixes.

This commit takes advantage of the "addvalue" and "delvalue" functions
now available in the IDL to simplify some code.

Signed-off-by: Ben Pfaff <blp at ovn.org>
Acked-by: Russell Bryant <russell at ovn.org>


Compare: https://github.com/openvswitch/ovs/compare/f21231d8f59c...827539869ff3


More information about the git mailing list