Move the generation of the schema helper in OVSDB connection to a
different method
In the OVSDB connection class, move the code retrieving the schema
helper to a separate method. This will allow subclasses to override this
method, and retrieve the schema helper in a different manner, or provide
it to the Connection subclass in advance.
This use-case came up in Dragonflow, where we wanted to retrieve
specific columns within specific tables, and not the whole tables.
Reviewed: https:/ /review. openstack. org/323707 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=42640835995 1eadcbbcfe48362 2e0e95db8ea8da
Committed: https:/
Submitter: Jenkins
Branch: master
commit 426408359951ead cbbcfe483622e0e 95db8ea8da
Author: Omer Anson <email address hidden>
Date: Wed Jun 1 10:18:49 2016 +0300
Generate OVSDB schema helper in a separate method
Move the generation of the schema helper in OVSDB connection to a
different method
In the OVSDB connection class, move the code retrieving the schema
helper to a separate method. This will allow subclasses to override this
method, and retrieve the schema helper in a different manner, or provide
it to the Connection subclass in advance.
This use-case came up in Dragonflow, where we wanted to retrieve
specific columns within specific tables, and not the whole tables.
Change-Id: I634841a2402e5d 9bcbf1983a17eee 2bb1a6299fb
Related-Bug: 1612403