Ensure distinct transports if timeout/retries differ
Fix hlapi/v3arch transport target caching to ensure transport targets are different even if just timeout/retries options differ.async-mib-instrumentation
parent
da7582db99
commit
53e67f9533
|
@ -46,6 +46,12 @@ Revision 5.0.0, released 2018-10-??
|
|||
is to unify this method call with similar methods of CommandGenerator.
|
||||
This change should not compromise backward compatibility with pysnmp 4.
|
||||
|
||||
Revision 4.4.7, released 2018-09-XX
|
||||
-----------------------------------
|
||||
|
||||
- Fixed hlapi/v3arch transport target caching to ensure transport targets
|
||||
are different even if just timeout/retries options differ
|
||||
|
||||
Revision 4.4.6, released 2018-09-13
|
||||
-----------------------------------
|
||||
|
||||
|
|
|
@ -94,7 +94,10 @@ class CommandGeneratorLcdConfigurator(AbstractLcdConfigurator):
|
|||
|
||||
transportKey = (paramsName, transportTarget.transportDomain,
|
||||
transportTarget.transportAddr,
|
||||
transportTarget.tagList)
|
||||
transportTarget.timeout,
|
||||
transportTarget.retries,
|
||||
transportTarget.tagList,
|
||||
transportTarget.iface)
|
||||
|
||||
if transportKey in cache['addr']:
|
||||
addrName, useCount = cache['addr'][transportKey]
|
||||
|
|
Loading…
Reference in New Issue