Removed the static usage of open_vSwitch from transactBuilder and made it a dynamic...
authorMadhu Venugopal <mavenugo@gmail.com>
Wed, 9 Jul 2014 19:27:28 +0000 (12:27 -0700)
committerMadhu Venugopal <mavenugo@gmail.com>
Wed, 9 Jul 2014 22:34:57 +0000 (15:34 -0700)
commitf87b273135a5589594f86bec10d34f105ea0f5b4
tree592b0285d3bd64d68d3a70b1a1e41bb01fc9d6f3
parent9ec1644f2d2b1f14bce2d550d378afa484c06999
Removed the static usage of open_vSwitch from transactBuilder and made it a dynamic value.

The actual change is in TransactBuilder.java
-        List<Object> lists = Lists.newArrayList((Object)"Open_vSwitch");
+        List<Object> lists = Lists.newArrayList((Object)dbSchema.getName());

But this change of passing the databaseSchema to the TransactBuilder calls for changing a
few APIs across the library.

This fix is needed in order for hardware_vtep testing to proceed.

Change-Id: I3e923ab9edd8d0f6836704be0cb6bd209f5c0480
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
integrationtest/src/test/java/org/opendaylight/ovsdb/integrationtest/library/OvsdbLibraryIT.java
plugin/src/main/java/org/opendaylight/ovsdb/plugin/ConfigurationService.java