Tweak output of auto_import_switch
Change-Id: I08085fbf147ff2d8d653b6169387689f157c6656
diff --git a/admin.py b/admin.py
index 0aa2104..a2f53ea 100644
--- a/admin.py
+++ b/admin.py
@@ -550,7 +550,7 @@
{'command':'api.auto_import_switch',
'data':
{'switch': opts.auto_import_switch}})
- print 'VLANd imported switch %s successfully: new switch_id %d, %d ports, %d VLANs' % (opts.auto_import_switch, ret['switch_id'], ret['num_ports_added'], ret['num_vlans_added'])
+ print 'VLANd imported switch %s successfully: new switch_id %d, %d new ports, %d new VLANs' % (opts.auto_import_switch, ret['switch_id'], ret['num_ports_added'], ret['num_vlans_added'])
elif opts.probe_switches:
print 'Asking VLANd to probe all the configured switches'
ret = call_vland('daemon_query',{'command':'daemon.probe_switches', 'data': None})