commit | afe1916295b8a0be5cb125faa56dd393345ad5a8 | [log] [tgz] |
---|---|---|
author | Thiago Santos <thiago@waltznetworks.com> | Fri Jan 13 13:05:09 2017 -0300 |
committer | Thomas Vachuska <tom@onlab.us> | Wed Feb 22 00:22:44 2017 +0000 |
tree | 19a3088209ddd40143c6c7945138546f511b93f4 | |
parent | 8e32a9ab6bb41efe59fbc5e72d1e737809540e07 [diff] |
[ONOS-5853] FlowRuleBuilder: automatically set temp/perm field Add a new method to the interface to allow setting the idle timeout directly and it will automatically decide if the rule is permanent or temporary. Currently the rules created from OF switches would always be made temporary, even if the idle-timeout was 0. This would cause ONOS FlowRuleManager to believe they had expired and would remove them. To reproduce set up a cluster and make a device change mastership, the new master would have all rules as temporary, even the ones that were permanent previously on the first master. Change-Id: I6bca5ba4d0e2194efad21a98cbcd0ab040977f03 (cherry picked from commit 943cd54b1ff7d5c80e426dceb46fae0771449a78)
ONOS is a new SDN network operating system designed for high availability, performance, scale-out.