Draft: Feature/pol1 744 fix speed issues
4 unresolved threads
4 unresolved threads
- Fix interface-info timeouts
- Make the poller speed endpoint use the data retrieved without it disappearing into the ether never to be used by anything
Merge request reports
Activity
requested review from @erik.reid
assigned to @sam.roberts
122 122 pass 123 123 124 124 125 TIMEOUT = 3.0 125 TIMEOUT = 30.0 too long for a timeout ... can you pick a lower number?
and I wonder if the event loop waiting thing can't be done at the ncclient manager level?
cf. https://github.com/ncclient/ncclient/blob/master/ncclient/manager.py#L116-L117
changed this line in version 2 of the diff
1007 1028 } for idx in range(1, 73)] 1008 1029 1009 1030 SUBSCRIPTIONS.append( 1010 {'subscription': '232.223.223.1', 'endpoint': '193.17.9.7'}) 705 700 yield from _load_docs(f'lab:{base_key_pattern}') 706 701 707 702 703 def _add_speeds(config, interfaces): 704 all_netconf_interfaces = list(common.load_json_docs(config, 'netconf-interfaces:*')) 705 netconf_interface_index = {} added 1 commit
- de588346 - use blocking manager, assemble cache of netconf-interfaces for speed endpoint
Please register or sign in to reply