Changes between Version 12 and Version 13 of Internal/OpenFlow/Controllers/FlowVisor
- Timestamp:
- Jun 5, 2012, 10:18:18 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Internal/OpenFlow/Controllers/FlowVisor
v12 v13 191 191 1. check if message is from a new or previously known switch (check ''switchInfo'', a structure that holds an `OFFeatureReply` for the switch this classifier is associated with) 192 192 * if known switch, call ''classifyFromSwitch'', the appropriate handler for the message (defined by the message itself as part of the `Classifiable` interface) 193 * if not (and message is a FEATURES_REPLY), fetch a copy of the flow map, and from it, a list of slices associated with the switch's DPID (the list is stored in a classifier's ''newSlices'' list) 193 * if not (and message is a FEATURES_REPLY), fetch a copy of the flow map, and from it, a list of slices associated with the switch's DPID (the list is stored in a classifier's ''newSlices'' list). The information is fetched withthe aid of `FlowSpaceUtil`'s functions that query the flow space. 194 194 * for each slice in ''newSlices'', spawn a `FVSlicer` if slice does not already have a slice (e.g. an entry in ''slicerMap'', a map of slice names to active `FVSlicer` instances) 195 195 * update ''slicerMap'' with contents of ''newSlices'' 196 197 '''In FVSlicer:''' 198 199 (to-be completed in detail) 200 1. Attempt to connect to controller, sending Hello 201 2. handle messages with ''sliceFromController'' 196 202