[ovs-dev] [RFC] [PATCH] 0/1 Add multi-column index support for the Python IDL

2018-04-09 Thread twilson
From: Terry Wilson This adds a Python version of the C IDL's multi-column indexes. I tried to make this as non-invasive as possible by just replacing idl.table.rows with a custom dict-like object that updates the index when adding or removing rows, and modifying Row.__setattr__ to update indexes

[ovs-dev] [RFC] [PATCH] 1/1 Add multi-column index support for the Python IDL

2018-04-09 Thread twilson
From: Terry Wilson This adds multi-column index support for the Python IDL that is similar to the feature in the C IDL. Signed-off-by: Terry Wilson --- python/automake.mk| 1 + python/ovs/db/custom_index.py | 151 ++ python/ovs/db/idl.py

[ovs-dev] [PATCH v2] Add multi-column index support for the Python IDL

2018-04-12 Thread twilson
From: Terry Wilson This adds multi-column index support for the Python IDL that is similar to the feature in the C IDL. Since it adds sortedcontainers as a dependency and some distros don't yet package it, the library is copied in-tree and used if sortedcontainers is not installed. Signed-off-by

[ovs-dev] [PATCH] Send notifications after the transaction ends

2021-03-02 Thread twilson
From: Terry Wilson The Python IDL notification mechanism was sending a notification for each processed update in a transaction as it was processed. This causes isseues with multi-row change that contain references to each other. For example, if a Logical_Router_Port is created along with a Gatew