X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Flibraries%2Fpython%2FContainerUtils.py;h=4d5f8ee4d6a5f9294789195c7297d938c2d55969;hp=ae4e01eba7a1e6eb6e65692bd7fd35d1b0cefc3e;hb=fd6fedc983a7d1796eb2531782be8a37b6d0921d;hpb=632c598ddc0e2a4586c85a3cd627f8c1eaee981a diff --git a/resources/libraries/python/ContainerUtils.py b/resources/libraries/python/ContainerUtils.py index ae4e01eba7..4d5f8ee4d6 100644 --- a/resources/libraries/python/ContainerUtils.py +++ b/resources/libraries/python/ContainerUtils.py @@ -279,17 +279,11 @@ class ContainerEngine(object): self.execute('supervisord -c {config_file}'. format(config_file=SUPERVISOR_CONF)) - def install_vpp(self, install_dkms=False): - """Install VPP inside a container. - - :param install_dkms: If install dkms package. This will impact - install time. Dkms is required for installation of vpp-dpdk-dkms. - Default is false. - :type install_dkms: bool - """ + def install_vpp(self): + """Install VPP inside a container.""" self.execute('ln -s /dev/null /etc/sysctl.d/80-vpp.conf') self.execute('apt-get update') - if install_dkms: + if self.container.install_dkms: self.execute( 'apt-get install -y dkms && ' 'dpkg -i --force-all {guest_dir}/install_dir/*.deb'.