The commands to query or update ovs db records are similar for
different resources (bridge, port and interface).
This creates the base implementation to avoid maintaining similar
logics for multiple resources.
Change-Id: Ibd75f464af984987c27548a08da26dea622c7e79