commit | b9e50dff43a8e7ecf394cbb40165d4ff6cf3be8f | [log] [tgz] |
---|---|---|
author | Pavlin Radoslavov <pavlin@onlab.us> | Fri Feb 20 20:01:26 2015 -0800 |
committer | Ray Milkey <ray@onlab.us> | Sat Feb 21 15:57:17 2015 +0000 |
tree | db55a01b4a4f180bc282df9bd40084e66c7df573 | |
parent | 71503cd103ad02f500f8e172860c66bb5fe2f64d [diff] |
Fixed a bug when parsing configuration properties for ReactiveForwarding by catching the appropriate exception. Apparently, if a property is configured/enabled in file Foo.cfg, e.g.: flowTimeout = 10 then the corresponding object/value in the Dictionary returned by ComponentContext.getProperties() has class type String. However, if the property is commented-out, e.g.: then the Dictionary still contains an entry for "flowTimeout", but its class type is Integer. Also, updated similar code elsewhere that was catching the generic Exception with catching more specific exception(s). Change-Id: I33ec348eb9efe3188e22cfc8cee2bb704948726d
ONOS is a new SDN network operating system designed for high availability, performance, scale-out.