[ovs-git] [openvswitch/ovs] 330b9c: ovsdb-idl: Fix bugs in Python IDL partial set and ...

GitHub noreply at github.com
Mon Aug 15 18:23:20 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 330b9c9cbab6e369550631ecc2987f0fd974a0d3
      https://github.com/openvswitch/ovs/commit/330b9c9cbab6e369550631ecc2987f0fd974a0d3
  Author: Amitabha Biswas <azbiswas at gmail.com>
  Date:   2016-08-15 (Mon, 15 Aug 2016)

  Changed paths:
    M python/ovs/db/idl.py
    M tests/ovsdb-idl.at
    M tests/test-ovsdb.py

  Log Message:
  -----------
  ovsdb-idl: Fix bugs in Python IDL partial set and map.

This patch fixes a couple of bugs in commit a59912a0
(python: add support for partial map and partial set updates)
and reverses a simplication added in commit 884d9bad
(Simplify partial map Py3 IDL test) to make the Python3 test
cases passes.

The following changes have been made:

1. Allow multiple map updates on the same column in a transaction.
2. Partial map Py3 IDL test can now support multiple elements.
3. SetAttr overrides pre-existing insert and remove updates.
4. addvalue/delvalue contains unique elements

Signed-off-by: Amitabha Biswas <abiswas at us.ibm.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list