Fix warnings reported by gen_doc.sh
[csit.git] / resources / libraries / python / KubernetesUtils.py
index 8d658c6..3e45d3a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (c) 2017 Cisco and/or its affiliates.
+# Copyright (c) 2018 Cisco and/or its affiliates.
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
 # You may obtain a copy of the License at:
@@ -206,7 +206,7 @@ class KubernetesUtils(object):
         :type rtype: str
         :type name: str
         :raises RuntimeError: If retrieving or deleting Kubernetes resource
-        failed.
+            failed.
         """
         ssh = SSH()
         ssh.connect(node)
@@ -483,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)