aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2018-01-08 11:50:23 +0100
committerPeter Mikus <pmikus@cisco.com>2018-01-09 09:58:37 +0000
commit0fbf91708504994ca0e24c972bb605371540ac32 (patch)
tree909135e1db71de0f926e7fce310c30ccaedfcb0b /resources/libraries/python
parent02f802c766066e165a96f867795ebba7536bdf6e (diff)
Add static MAC entries to configuration
- Add static MAC entries to sfc_controller configuration of all l2bdbase tests. Change-Id: I38ba32246ed20204c5be1f98b0454b71dcff2e00 Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'resources/libraries/python')
-rw-r--r--resources/libraries/python/KubernetesUtils.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/resources/libraries/python/KubernetesUtils.py b/resources/libraries/python/KubernetesUtils.py
index 89c5bd2a57..8d658c65bc 100644
--- a/resources/libraries/python/KubernetesUtils.py
+++ b/resources/libraries/python/KubernetesUtils.py
@@ -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.