X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Flibraries%2Fpython%2FVppConfigGenerator.py;h=099d07636bf54837b2333bfd73cec399dc1ed1e1;hb=46227f82fd1ea0c3532d4338fd6dbb8f7cb5de77;hp=de1f0c7e5c19cfc52949b20a778659add7c9f22b;hpb=1ab4252ce00ae64648c4c8e66e6db63140253b8b;p=csit.git diff --git a/resources/libraries/python/VppConfigGenerator.py b/resources/libraries/python/VppConfigGenerator.py index de1f0c7e5c..099d07636b 100644 --- a/resources/libraries/python/VppConfigGenerator.py +++ b/resources/libraries/python/VppConfigGenerator.py @@ -60,6 +60,12 @@ dpdk {{ {nomultiseg} {enablevhostuser} }} + +ip6 {{ + hash-buckets 2000000 + heap-size 1G +}} + """ # End VPP configuration template. @@ -418,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))