Switch from using a Long as FlowId to a Uri
authorMoiz Raja <moraja@cisco.com>
Tue, 7 Jan 2014 21:48:00 +0000 (13:48 -0800)
committerMoiz Raja <moraja@cisco.com>
Sat, 11 Jan 2014 01:16:18 +0000 (17:16 -0800)
commit6c0a295962df7076e4dacb9e5f9eaaf4f5561cfa
tree0275c7ada18aa3671c9a6ab5a649cd3adbdab36e
parentc76f189a0024b194980c5b6dd1953dcc9af4cf07
Switch from using a Long as FlowId to a Uri

Couple of things you may want to pay attention to,

a. FlowProgrammerAdapter maintains a mapping between a Flow and it's id in a map in infinispan
b. Look at internalAddFlowAsync. If it finds that a flow is in the flow to id mapping cache. It will remove the flow and add it back in. This is what makes the switch add back a flow when it a switch comes back alive.
c. The sync vs async behavior should now be properly done

Change-Id: Id156ebbc7b6e643e4a5960aa735d0812bf5cbe48
Signed-off-by: Moiz Raja <moraja@cisco.com>
opendaylight/md-sal/sal-binding-broker/src/main/java/org/opendaylight/controller/sal/binding/impl/NotificationBrokerImpl.xtend