CSIT-1037 K8s container extensions
[csit.git] / resources / libraries / python / KubernetesUtils.py
index 89c5bd2..efeda69 100644 (file)
@@ -322,6 +322,10 @@ class KubernetesUtils(object):
             "{nspace} $p; done".format(nspace=nspace)
         ssh.exec_command(cmd)
 
+        cmd = "kubectl exec {nspace} etcdv3 -- etcdctl --endpoints "\
+            "\"localhost:22379\" get \"/\" --prefix=true".format(nspace=nspace)
+        ssh.exec_command(cmd)
+
     @staticmethod
     def get_kubernetes_logs_on_all_duts(nodes, nspace):
         """Get Kubernetes logs from all PODs in namespace on all DUTs.
@@ -479,5 +483,5 @@ class KubernetesUtils(object):
         if cpuset_cpus:
             corelist_workers = ','.join(str(cpu) for cpu in cpuset_cpus)
             vpp_config.add_cpu_corelist_workers(corelist_workers)
-        vpp_config.add_plugin_disable('dpdk_plugin.so')
+        vpp_config.add_plugin('disable', 'dpdk_plugin.so')
         vpp_config.apply_config(filename=kwargs['filename'], restart_vpp=False)