diff options
author | Steve McIntyre <steve.mcintyre@linaro.org> | 2014-12-23 13:56:34 +0000 |
---|---|---|
committer | Steve McIntyre <steve.mcintyre@linaro.org> | 2014-12-23 13:56:34 +0000 |
commit | cc25b5ce5ba6a6f03ca069be3e701dce23a92ddd (patch) | |
tree | 1b41b7f61ee75cff1f714ed47f439cfc9144ebf8 /util.py | |
parent | deff79513235cce13df830f06b91d03bf4236fae (diff) |
Make probe_switches() less verbose
Change-Id: I7c45429b08e26f8e1aaf55b5e2364be28b8f8b19
Diffstat (limited to 'util.py')
-rw-r--r-- | util.py | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -25,11 +25,6 @@ class VlanUtil: s.switch_connect(config.switches[switch_name].username, config.switches[switch_name].password, config.switches[switch_name].enable_password) - print " Found details of switch:" - s._dump_list(s._systemdata) - print " Switch has %d ports:" % len(s.switch_get_port_names()) - for port in s.switch_get_port_names(): - print " %s" % port ret[switch] = 'Found switch %s with %d ports' % (switch, len(s.switch_get_port_names())) s.switch_disconnect() del(s) |