Committed by
Ray Milkey
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
Showing
7 changed files
with
7 additions
and
7 deletions
providers/null/device/src/main/java/org/onosproject/provider/nil/device/impl/NullDeviceProvider.java
providers/null/packet/src/main/java/org/onosproject/provider/nil/packet/impl/NullPacketProvider.java
-
Please register or login to post a comment