PostHandshakeNodeProducer help class 92/17292/2
authorVaclav Demcak <vdemcak@cisco.com>
Sat, 28 Mar 2015 17:43:10 +0000 (18:43 +0100)
committerVaclav Demcak <vdemcak@cisco.com>
Sat, 28 Mar 2015 20:20:12 +0000 (21:20 +0100)
commita29553293e059ea656ec0bb3339d6e261ecf081b
tree123ae0ea7a498483b6f5c7714807a8b422dd1778
parent0defbf17077c77c7f93d3d1ac7eb78ac40243aa0
PostHandshakeNodeProducer help class

Note: PostHandshake process has to populate complex static information about
new FlowCapableNode before add DataStore process. But whole postHandsake
process contains a lot of functionality which is related only this short
time window so we put it to one class together. This new helper has to be
forgotten after succesfull add to DataStore process and it doesn't need
to be a part of DeviceManager code.

* settableFuture<Node> produce new Node with all device info and features
  * collecting Devide description
  * collecting Device meterFutures
  * collecting Device grupFutures
  * collecting Device tableFutures (TODO : add DataStore model and finish impl)

(Tests and possible fixies for this class will be
 a part of DeviceManager#deviceConnected method implemenation and its test suite)

Change-Id: I84fdd3004f211590d5066711518490cd134d6573
Signed-off-by: Vaclav Demcak <vdemcak@cisco.com>
openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/device/PostHandshakeNodeProducer.java [new file with mode: 0644]