| 1298 | First checked that there are no existing static flows: |
| 1299 | {{{ |
| 1300 | $ curl http://localhost:9090/wm/staticflowentrypusher/list/all/json |
| 1301 | {} |
| 1302 | }}} |
| 1303 | |
| 1304 | Set a static flow named "flow-mod-1" and checked that it was applied: |
| 1305 | |
| 1306 | {{{ |
| 1307 | $ curl -d '{"switch": "00:01:08:17:f4:b5:2a:00", "name":"flow-mod-1", , "priority":"32768", "networkSource":"10.42.13.43","active":"true", "actions":"output=2"}' http://localhost:9090/wm/staticflowentrypusher/json |
| 1308 | {"status" : "Entry pushed"} |
| 1309 | $ |
| 1310 | }}} |
| 1311 | |
| 1312 | Verify that the flow modification is applied: |
| 1313 | {{{ |
| 1314 | $ curl http://localhost:9090/wm/staticflowentrypusher/list/all/json |
| 1315 | |
| 1316 | }}} |
| 1317 | |
| 1318 | *** RAN INTO !FloodLight error... Investigating... |
| 1319 | |