-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.10.0
-
Component/s: None
-
Labels:
Scenario:
onos> cfg set org.onosproject.store.packet.impl.DistributedPacketStore messageHandlerThreadPoolSize 8
It will set the messageHandlerThreadPoolSize value as 8.
onos> cfg set org.onosproject.store.packet.impl.DistributedPacketStore messageHandlerThreadPoolSize TEN
Actually 'messageHandlerThreadPoolSize' should be an integer, so, in DistributedPacketStore we are handling this number format exception and the previous value (8)will be applied if any exception. In this case , applied 'messageHandlerThreadPoolSize' value in the DistributedPacketStore is 8(integer) and it is having "TEN"(string) in the cfg property store. When you are trying to get this parameter's value through REST/CLI, the value you will get is 'TEN'. Hence, there is a mismatch with the applied value in the DistributedPacketStore(8) and the cfg value(TEN).
onos> cfg get org.onosproject.store.packet.impl.DistributedPacketStore messageHandlerThreadPoolSize
name=messageHandlerThreadPoolSize, type=integer, value=TEN, defaultValue=4, description=Size of thread pool to assign message handler