Thanks for replying
in my point of view at this stage IRIS only have some dump entries of flows, it only forwards those entries, IRIS does not remember those entries
so how could IRIS remember those entries so it can easily keep track on them,
and how the function addFlow() is working? it there any library or some UML diagrams to understand all those functions how those functions are working.
Thanks
---------------------------------------------------------------------------------------
Hi,
IRIS does not store any flow entry of switch.
In case of OFMStaticFlowEntryManager, it remembers user input as a Map instead of saving flowmod or flow of switch.
Therefore, if IRIS needs to use that entry again, it makes flowmod using saved static flow entry(user input).
We think it is very unefficient that a controller keep track of all flow entries of switches.
Second, we are sorry that we cannot provied any library about addFlow.
But addFlow function is very simple. It receives three parameters - static flow name(key of Map), static flow as Map type, switch DPID.
And it create and send flowmod with these input.
Serveral functions used in addFlow (insertDBEntry, addEntryToIndices, getFlowModMap and so on) are needed to manage static flow entries in OFMStaticFlowEntryManager.
Please use google groups forum to share Q&A.
Thanks. Have a good day.