commit | 3f3778ab2809744e78c4131c79882f33ec828a1e | [log] [tgz] |
---|---|---|
author | Pavlin Radoslavov <pavlin@onlab.us> | Wed Mar 13 08:16:57 2013 -0700 |
committer | Pavlin Radoslavov <pavlin@onlab.us> | Wed Mar 13 08:16:57 2013 -0700 |
tree | 5b4b4287ea76e439a780c3d8530badc8be5745f2 | |
parent | 78c4e496ad595bac946123c0c327d01b5750e94b [diff] |
Implement non-stop monitoring of the installed flow. If the shortest path changes, the old flow is deleted, and a new one is installed. Currently, this is implemented by computing the shortest path periodically (once a second). The (new) monitoring feature can be enabled by using the "-m" argument. Example: ./add_flow.py -m 1 FOOBAR 00:00:00:00:00:00:01:01 1 00:00:00:00:00:00:01:31 1 matchDstMac 01:02:03:04:05:06