diff options
author | Gwenael Lambrouin <gwenael.lambrouin@orange.com> | 2022-07-18 15:49:51 +0200 |
---|---|---|
committer | Gwenael Lambrouin <gwenael.lambrouin@orange.com> | 2022-11-10 14:56:15 +0100 |
commit | 1278ef65bd3422c0684007535742c3ef28d645ef (patch) | |
tree | 649433267c15c39878458e14dcfed90367131400 /docs | |
parent | 87d88eab6fe50101abc607857f13af9273aef80a (diff) |
nfvbenchvm: refactor wait for VPP service
Sleeping for 10s and hoping that VPP service will be ready to accept
vppctl commands does not work all the times. Instead of increasing the
sleep time, poll every second until "vppctl show int" returns something.
Wait at most 30 seconds.
By the way, exit with a clear error message if "vppctl show int" does
not report two network interfaces as expected.
Change-Id: I6f0f053378c0bee8fd28a231dc1041c94642f5b3
Signed-off-by: Gwenael Lambrouin <gwenael.lambrouin@orange.com>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions