diff options
author | John Lo <loj@cisco.com> | 2017-09-19 21:45:10 -0400 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2017-09-20 11:50:49 +0000 |
commit | 609707ea530de6a0f9fa989b8269b973dd89174e (patch) | |
tree | 5d912ea898dc8d6c7383a62ef2a21e5669e7955c /test/template_bd.py | |
parent | 1bfd37295f5cd332b7326923f1fbd5e0415829cd (diff) |
Fix DHCP client so it works for worker threads
Fix dhcp_client_for_us() function to utilize rpc_call_main_thread
to call vlib_process_signal_event() to ensure proper handling
irrespective of it being called in main thread or worker thread.
Added ASSERT to vlib_process_sinal.. path to make sure it is called
in main thread.
Change-Id: I4109cc049d8e4225d896ce492ce201011dc9c911
Signed-off-by: John Lo <loj@cisco.com>
Diffstat (limited to 'test/template_bd.py')
0 files changed, 0 insertions, 0 deletions