aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python
diff options
context:
space:
mode:
authorjuraj.linkes <juraj.linkes@pantheon.tech>2019-12-01 03:36:40 +0100
committerPeter Mikus <pmikus@cisco.com>2020-02-04 11:42:39 +0000
commit35024b691ade4278f49d8a65d237c7112fa32bc2 (patch)
tree145545fa0584c853ddcb620209e9ec6c9f41dccb /resources/libraries/python
parentd89fae0d4ae9c37521b648f4b8adeb1d66950027 (diff)
Revert "Change startup show pci to show ver"
This reverts commit bb33f1d16f1451253f942da0c55cdea72e71c398. Change-Id: Ida80af970e400460860602db884a943e5599a849 Signed-off-by: juraj.linkes <juraj.linkes@pantheon.tech>
Diffstat (limited to 'resources/libraries/python')
-rw-r--r--resources/libraries/python/VPPUtil.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/libraries/python/VPPUtil.py b/resources/libraries/python/VPPUtil.py
index ca63fa6cea..6e6dad70fc 100644
--- a/resources/libraries/python/VPPUtil.py
+++ b/resources/libraries/python/VPPUtil.py
@@ -134,12 +134,12 @@ class VPPUtil:
:param node: Topology node.
:type node: dict
"""
- cmd = u"echo \"show ver\" | sudo socat - UNIX-CONNECT:/run/vpp/cli.sock"
+ cmd = u"echo \"show pci\" | sudo socat - UNIX-CONNECT:/run/vpp/cli.sock"
exec_cmd_no_error(
node, cmd, sudo=False, message=u"VPP failed to start!", retries=120
)
- cmd = u"vppctl show ver 2>&1 | fgrep -v \"Connection refused\" | " \
+ cmd = u"vppctl show pci 2>&1 | fgrep -v \"Connection refused\" | " \
u"fgrep -v \"No such file or directory\""
exec_cmd_no_error(
node, cmd, sudo=True, message=u"VPP failed to start!", retries=120