X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Flibraries%2Fpython%2FVppConfigGenerator.py;h=d6afd1f5c758b30c09e7ec582d98b69b7c3650cf;hb=4f4eaa1d52f3bdbe3caecdc1d6a024c369a2834a;hp=d4ef04e65c3309ad0bb86dc3efb7dc7b24e13989;hpb=19afb923ce31fa51291d12b79d8b63cfce09ab14;p=csit.git diff --git a/resources/libraries/python/VppConfigGenerator.py b/resources/libraries/python/VppConfigGenerator.py index d4ef04e65c..d6afd1f5c7 100644 --- a/resources/libraries/python/VppConfigGenerator.py +++ b/resources/libraries/python/VppConfigGenerator.py @@ -63,7 +63,7 @@ dpdk {{ ip6 {{ hash-buckets 2000000 - heap-size 1G + heap-size 3G }} """ @@ -424,9 +424,9 @@ class VppConfigGenerator(object): # Instead of restarting, we'll do separate start and stop # actions. This way we don't care whether VPP was running # to begin with. - ssh.exec_command('sudo initctl stop {}'.format(VPP_SERVICE_NAME)) + ssh.exec_command('sudo service {} stop'.format(VPP_SERVICE_NAME)) (ret, stdout, stderr) = \ - ssh.exec_command('sudo initctl start {}'.format(VPP_SERVICE_NAME)) + ssh.exec_command('sudo service {} start'.format(VPP_SERVICE_NAME)) if ret != 0: logger.debug('Restarting VPP failed on node {}'. format(hostname))