]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Handle non-index lookups in native OVSDB backend
authorTerry Wilson <twilson@redhat.com>
Thu, 19 Mar 2015 17:43:21 +0000 (12:43 -0500)
committerTerry Wilson <twilson@redhat.com>
Sat, 28 Mar 2015 14:29:41 +0000 (09:29 -0500)
commitbfe3b679096e73015bae6592f926b26fa427f112
treec2db59983b26bd0b4d7454136cef7de9ecc44e75
parentc4729e8805acdf8a99cd18aab44857c775e1312c
Handle non-index lookups in native OVSDB backend

ovs-vsctl get/set/clear/list can use a record_id that is not an
index on the table being queried. For example, the Controller table
can be queried by a bridge name.

This patch implements the lookup table that ovs-vsctl uses to do
these lookups.

Change-Id: I1983c48c5839df016046ba2596c7c4affa1ebe00
Closes-Bug: 1435567
neutron/agent/ovsdb/native/commands.py
neutron/agent/ovsdb/native/idlutils.py
neutron/tests/functional/agent/test_ovs_lib.py