| 1131 | This step was executed with a !FloodLight controller on EG-EXP-6-exp3. Static Flows can be installed on a switch with the !FloodLight Static Flow Pusher which allows a user to manually insert flows into an !OpenFlow network. To enable this feature, the Forwarding modules must be removed from the floodlight.properties file and !FloodLight must be recompiled. Using !FloodLight Static Flow Pusher verified the existing list of static list of flow is empty: |
| 1132 | {{{ |
| 1133 | $ curl http://localhost:9090/wm/staticflowentrypusher/list/00:01:08:17:f4:b5:2a:00/json |
| 1134 | {"00:01:08:17:f4:b5:2a:00":null} |
| 1135 | }}} |
| 1136 | |
| 1137 | Pushed a new flow to the switch.. (TO determine correct command.) |
| 1138 | {{{ |
| 1139 | $ curl -d '{"switch": "00:01:08:17:f4:b5:2a:00", "name":"flow-mod-1", "cookie":"0", "priority":"32768", "inputPort":43,"networkDestination":"10.42.11.209", "active":"true"}' http://localhost:9090/wm/staticflowentrypusher/json |
| 1140 | {"status" : "Entry pushed"} |
| 1141 | $ |
| 1142 | }}} |
| 1143 | |
| 1144 | |