[ovs-git] [openvswitch/ovs] 38c443: python: add set type for ovs.idl.data.Datum.from_p...

GitHub noreply at github.com
Mon Jul 25 14:42:25 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 38c44378433b377bea6d4ff0fa4412a356cbfad3
      https://github.com/openvswitch/ovs/commit/38c44378433b377bea6d4ff0fa4412a356cbfad3
  Author: Zong Kai LI <zealokii at gmail.com>
  Date:   2016-07-25 (Mon, 25 Jul 2016)

  Changed paths:
    M python/ovs/db/data.py

  Log Message:
  -----------
  python: add set type for ovs.idl.data.Datum.from_python

ovs.db.idl.Datum.from_python fails to handle set type value, while set
type is also a common iterable sequence, just like list and tuple.
No reason IDL caller must to turn set type parameters to list or tuple
type. Otherwise, they will fail to insert data, but get no exception.

Reported-at: https://bugs.launchpad.net/networking-ovn/+bug/1605573
Signed-off-by: Zong Kai LI <zealokii at gmail.com>
Acked-by: Richard Theis <rtheis at us.ibm.com>
Tested-by: Richard Theis <rtheis at us.ibm.com>
Signed-off-by: Russell Bryant <russell at ovn.org>




More information about the git mailing list