Add MD-SAL Adapter for the OVSDB Plugin 89/9589/2
authorDave Tucker <djt@redhat.com>
Fri, 1 Aug 2014 19:42:14 +0000 (20:42 +0100)
committerDave Tucker <djt@redhat.com>
Mon, 4 Aug 2014 23:56:52 +0000 (00:56 +0100)
commitdbd247ed60516eb68436c4a7c3bb610cb96c09a3
treea2acbd73524681601b9fa0c7f06fadda56bbdd75
parent484d79a8adca3686ca3d992ded6962d936e32fd8
Add MD-SAL Adapter for the OVSDB Plugin

This commit adds an initial MD-SAL connector for OVSDB
The OvsdbInventoryManager updates the MD-SAL with nodes as they are
added and removed from inventory. The Yang model provides a reference
between OVSDB nodes and the OpenFlow nodes (bridges) that they manage

Also changes the nodeAdded API in OvsdbIventoryListener to pass the
IpAddress and Port number of the new node. This avoids having to query
the AD-SAL based properties set for this inforamtion

Change-Id: Ia2d8140c3f504d9b2d78b490bb273808f9a86c51
Signed-off-by: Dave Tucker <djt@redhat.com>
17 files changed:
commons/parent/pom.xml
distribution/opendaylight/pom.xml
integrationtest/src/test/java/org/opendaylight/ovsdb/integrationtest/plugin/OvsdbPluginIT.java
openstack/net-virt/src/main/java/org/opendaylight/ovsdb/openstack/netvirt/SouthboundHandler.java
plugin-mdsal-adapter/pom.xml [new file with mode: 0644]
plugin-mdsal-adapter/src/main/java/org/opendaylight/ovsdb/plugin/md/Activator.java [new file with mode: 0644]
plugin-mdsal-adapter/src/main/java/org/opendaylight/ovsdb/plugin/md/OvsdbBindingAwareProvider.java [new file with mode: 0644]
plugin-mdsal-adapter/src/main/java/org/opendaylight/ovsdb/plugin/md/OvsdbBindingAwareProviderImpl.java [new file with mode: 0644]
plugin-mdsal-adapter/src/main/java/org/opendaylight/ovsdb/plugin/md/OvsdbInventoryManager.java [new file with mode: 0644]
plugin-mdsal-adapter/src/main/java/org/opendaylight/ovsdb/plugin/md/Utils.java [new file with mode: 0644]
plugin-mdsal-adapter/src/main/yang/ovsdb-node-inventory.yang [new file with mode: 0644]
plugin-mdsal-adapter/src/test/java/org/opendaylight/ovsdb/plugin/md/UtilsTest.java [new file with mode: 0644]
plugin/src/main/java/org/opendaylight/ovsdb/plugin/api/OvsdbInventoryListener.java
plugin/src/main/java/org/opendaylight/ovsdb/plugin/api/OvsdbInventoryService.java
plugin/src/main/java/org/opendaylight/ovsdb/plugin/impl/ConnectionServiceImpl.java
plugin/src/main/java/org/opendaylight/ovsdb/plugin/impl/InventoryServiceImpl.java
pom.xml