Added cluster aware mdsal utils class to net-virt (redo)
authorAnil Vishnoi <vishnoianil@gmail.com>
Mon, 11 Jan 2016 18:46:42 +0000 (10:46 -0800)
committerFlavio Fernandes <ffernand@redhat.com>
Thu, 14 Jan 2016 02:02:25 +0000 (21:02 -0500)
commit2c32cacc19c178be9a7b21da8b17802cc42ec26c
tree0b8d3687137321d5d057568986a03c3df3e90827
parent2a5a87083f8d8861fc415372a072ab440e0f6139
Added cluster aware mdsal utils class to net-virt (redo)

Looks like while code cleanup we removed the MdsalUtils.java from the master branch
and while merging master branch to net-virt-clustering, it got removed as well.
Net-virt-clustering had a modified version of MdsalUtils.java, where put/merge/delete
transactions are only done by the master instances of net-virt. ClusterAwareMdsalUtils
class bring those changes back.

Patch set 2: Explicitly callback into OvsdbInventoryService when netVirt becomes owner.
Patch set 3: Undo patch set 2; make ProviderEntityListener to happen earlier

Change-Id: I42ab5f2969bcff7737d90f2651d2762897e74c9a
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
Signed-off-by: Flavio Fernandes <ffernand@redhat.com>
openstack/net-virt-providers/src/main/java/org/opendaylight/ovsdb/openstack/netvirt/providers/NetvirtProvidersProvider.java
openstack/net-virt/src/main/java/org/opendaylight/ovsdb/openstack/netvirt/ClusterAwareMdsalUtils.java [new file with mode: 0644]
openstack/net-virt/src/main/java/org/opendaylight/ovsdb/openstack/netvirt/impl/OvsdbInventoryServiceImpl.java
openstack/net-virt/src/main/java/org/opendaylight/ovsdb/openstack/netvirt/impl/SouthboundImpl.java