The VIM's nfv-client sends REST API messages to the VIM, but it
currently does not set a timeout for these calls. In the case
where a message is lost, the nfv-client would block forever,
causing the calling process to hang.
Fixing this by adding timeouts to the nfv-client to ensure that
all REST API messages it sends will timeout even in the case of
lost messages.
Reviewed: https:/ /review. opendev. org/740779 /git.openstack. org/cgit/ starlingx/ nfv/commit/ ?id=b39bc8c0349 e68373d30360c1d 99ad02c7b262aa
Committed: https:/
Submitter: Zuul
Branch: master
commit b39bc8c0349e683 73d30360c1d99ad 02c7b262aa
Author: Bart Wensley <email address hidden>
Date: Mon Jul 13 14:01:27 2020 -0500
Add REST API timeouts to nfv-client
The VIM's nfv-client sends REST API messages to the VIM, but it
currently does not set a timeout for these calls. In the case
where a message is lost, the nfv-client would block forever,
causing the calling process to hang.
Fixing this by adding timeouts to the nfv-client to ensure that
all REST API messages it sends will timeout even in the case of
lost messages.
Change-Id: Iba06924fb7bd14 a1ee3362b4fd19a a4114dc34cd
Partial-Bug: 1886037
Signed-off-by: Bart Wensley <email address hidden>