Add more dump options for docker swarm

Change-Id: I215df327a6fda0560e7caf06c6f1ced236ec5e94
diff --git a/tcp_tests/managers/underlay_ssh_manager.py b/tcp_tests/managers/underlay_ssh_manager.py
index 5116300..0590e1c 100644
--- a/tcp_tests/managers/underlay_ssh_manager.py
+++ b/tcp_tests/managers/underlay_ssh_manager.py
@@ -426,6 +426,14 @@
             "ps auxwwf > /root/$(hostname -f)/dump_ps.txt;"
             "docker images > /root/$(hostname -f)/dump_docker_images.txt;"
             "docker ps > /root/$(hostname -f)/dump_docker_ps.txt;"
+            "docker service ls > "
+            "  /root/$(hostname -f)/dump_docker_services_ls.txt;"
+            "docker service ls | awk '{ print $2 }' | "
+            "  xargs -I {} docker service ps --no-trunc 2>&1 {} >> "
+            "  /root/$(hostname -f)/dump_docker_service_ps.txt;"
+            "docker service ls | awk '{ print $2 }' | "
+            "  xargs -I {} docker service logs 2>&1 {} > "
+            "  /root/$(hostname -f)/dump_docker_service_{}_logs;"
             "vgdisplay > /root/$(hostname -f)/dump_vgdisplay.txt;"
             "lvdisplay > /root/$(hostname -f)/dump_lvdisplay.txt;"
             "ip a > /root/$(hostname -f)/dump_ip_a.txt;"