From 15ee4c78051f3a02b73df3171bb415cfd0326904 Mon Sep 17 00:00:00 2001 From: Marcel Enguehard Date: Fri, 24 Mar 2017 16:28:52 +0100 Subject: Packages+Error handling for VppHost Change-Id: I3ef3711b21c385a191d09be3823588309eece2ca Signed-off-by: Marcel Enguehard --- vicn/resource/vpp/vpp_host.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vicn/resource/vpp/vpp_host.py b/vicn/resource/vpp/vpp_host.py index 134e65b0..600d5566 100644 --- a/vicn/resource/vpp/vpp_host.py +++ b/vicn/resource/vpp/vpp_host.py @@ -75,7 +75,7 @@ class VPPHost(LinuxApplication): description = 'Dpdk devices on the node', multiplicity = Multiplicity.OneToMany) - __package_names__ = ['dpdk', 'vpp', 'vpp-dpdk-dkms'] + __package_names__ = ['dpdk', 'vpp-dpdk-dkms'] #-------------------------------------------------------------------------- # Constructor and Accessors @@ -120,8 +120,8 @@ class VPPHost(LinuxApplication): # container, vpp cannot create those devices, therefore we need to # create them in the host and then mount them on each container running # vpp (and using a physical nic) - stop_vpp = BashTask(self.node, CMD_VPP_STOP_SERVICE) - disable_vpp = BashTask(self.node, CMD_VPP_DISABLE) + stop_vpp = BashTask(self.node, CMD_VPP_STOP_SERVICE + " || true") + disable_vpp = BashTask(self.node, CMD_VPP_DISABLE + " || true") disable_vpp = stop_vpp > disable_vpp create_uio = EmptyTask() -- cgit 1.2.3-korg