| 245 | ==== (7/2) ==== |
| 246 | * A Classifier knows about the Slicers associated with the DPID it is associated with. This is kept in a Java !HashMap. |
| 247 | * A Slicer knows the name, controller/TCP port, and switch ports associated with a slice. |
| 248 | * Each !FlowSpaceRule entry (flow entry) stores which DPID and slice (by name and permissions, via !SliceAction.java) it is associated with. |
| 249 | Unlike the !FlowMap, a Slice does not seem to be a concrete object, but a collection of information shared amongst the Slicers and Classifiers. We create a new configuration option, "module_name," to replace the controller information stored in a "slice". For now we keep the old parameters for each Slice, but modified: |
| 250 | {{{ |
| 251 | "controller_hostname": "localhost", |
| 252 | "controller_port": 0, |
| 253 | "module_name": "forwarding", |
| 254 | }}} |
| 255 | In any case, we need an easily manipulated mapping of DPIDs to slices, and slices to their modules, where modules are specified by the names returned by getName(). |