aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve McIntyre <steve.mcintyre@linaro.org>2014-12-23 14:45:30 +0000
committerSteve McIntyre <steve.mcintyre@linaro.org>2014-12-23 14:45:30 +0000
commit7460d9788f246a180501f6205f73ce82a7916953 (patch)
tree25cd3e59f9dba15fcc665c8de129eccf919c94f6
parent6d5594fcaa4437ece871e9a53bfadcc8b9362c71 (diff)
downloadvland-7460d9788f246a180501f6205f73ce82a7916953.tar.gz
Remove the calls to switch_restart() in debug
Change-Id: I337da89176826998318744dbcd7e94f04efb713a
-rw-r--r--drivers/CiscoCatalyst.py4
-rw-r--r--drivers/CiscoSX300.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/CiscoCatalyst.py b/drivers/CiscoCatalyst.py
index b1f3d2c..f5a30ff 100644
--- a/drivers/CiscoCatalyst.py
+++ b/drivers/CiscoCatalyst.py
@@ -555,8 +555,8 @@ if __name__ == "__main__":
buf = p.port_get_trunk_vlan_list("Gi1/0/9")
p._dump_list(buf)
- print 'Restarting switch, to explicitly reset config'
- p.switch_restart()
+# print 'Restarting switch, to explicitly reset config'
+# p.switch_restart()
# p.switch_save_running_config()
diff --git a/drivers/CiscoSX300.py b/drivers/CiscoSX300.py
index 6c76fc2..14947a2 100644
--- a/drivers/CiscoSX300.py
+++ b/drivers/CiscoSX300.py
@@ -514,8 +514,8 @@ if __name__ == "__main__":
buf = p.vlan_get_list()
p._dump_list(buf)
- print 'Restarting switch, to explicitly reset config'
- p.switch_restart()
+# print 'Restarting switch, to explicitly reset config'
+# p.switch_restart()
# p.switch_save_running_config()
# p._show_config()