Skip to content

Commit

Permalink
Merge "netsnmp expects the Timeout in microsec, hence converting sec …
Browse files Browse the repository at this point in the history
…to usec before passing to netsnmp"
  • Loading branch information
Zuul authored and opencontrail-ci-admin committed Aug 27, 2015
2 parents dc478fb + c8932d8 commit 613de87
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -135,7 +135,8 @@ def populate_cfg(devicelist):
if snmp.get_retries():
nd['Retries'] = snmp.get_retries()
if snmp.get_timeout():
nd['Timeout'] = snmp.get_timeout()
#timeout converted from s to us
nd['Timeout'] = snmp.get_timeout()*1000000
if nd['Version'] in (1, 2):
nd['Community'] = snmp.get_v2_community()
elif nd['Version'] == 3:
Expand Down

0 comments on commit 613de87

Please sign in to comment.