Hi Ayaka, The FlowSpace is indeed a collection of of flow entries (which are in fact the flow space rules entered into FlowVisor). It's probably worth noting here that the set of actions a flow entry contains is not the standard OpenFlow actions, but rather a slice name and a permission value. The FlowMap provides a standard interface add, remove, and performs searches within the defined flowspace. The actual flowmap can be retrieved from the configuration via a call to the FVConfig class or FlowSpaceUtil, but searches are in the flowspace are performed bby calling FlowMap.match and FlowMap.intersect methods.
The match method is used to identify which slice a packet in should be sent to while the intersect method finds which flow space rules apply to a FlowMod to allow flowvisor to perform the appropriate rewriting of the flowmod before sending it to the switch. Let me know if this is not clear. Cheers. -- Ali On Jun 23, 2012, at 10:09 PM, Ayaka Koshibe wrote: > Hi all, > > I am trying to understand the inner workings of FlowVisor, specifically the > FlowMap and how it relates to the rest of the components. I'm hoping for a > check of what I think I get from the code/docs. > > It seems that the FlowSpace is a collection of flow entries, each identified > by the DPID they apply to, a FVMatch for a packet to be matched against, and > a set of actions on a match. The FlowMap looks like it provides a structure > to hold multiple FlowEntries, as well as to find intersections between stored > FVMatches and received packets. The primary components (FVClassifiers and > FVSlicers) seem to access the FlowMap using FlowSpaceUtil and FVConfig, and > indirectly when messages are handled (by ClassifyFromSwitch() and > SliceFromController()). > > Am I understanding this correctly? > > > Many thanks, > > Ayaka > > _______________________________________________ > openflow-discuss mailing list > openflow-discuss@lists.stanford.edu > https://mailman.stanford.edu/mailman/listinfo/openflow-discuss _______________________________________________ openflow-discuss mailing list openflow-discuss@lists.stanford.edu https://mailman.stanford.edu/mailman/listinfo/openflow-discuss