Great, Tobias,

thanks!

On 03.12.2019 14:10, Tobias Brunner wrote:
Hi Volodymyr,

Processing starts only upon iterating of "t". This is every-time
reproduceable behaviour.
That's because terminate() (and any other command wrapper that uses
streamed_request()) returns a Python generator, which is only evaluated
once you enumerate it.  If you are not interested in log messages (in
particular with timeout set to -1, in which case none will be returned
anyway) you could also send the request directly with

     v.request('terminate', {
         'ike-id': ike_id,
         'timeout': ...
     })

Regards,
Tobias

--
Volodymyr Litovka
  "Vision without Execution is Hallucination." -- Thomas Edison

Reply via email to