Tweak debug output
Change-Id: Ia8b80a40735404e076b912e0a68b0cd9dda988a3
diff --git a/util.py b/util.py
index 953bd71..af75c9a 100644
--- a/util.py
+++ b/util.py
@@ -721,13 +721,12 @@
print ' access port, VLAN %d' % int(port_vlans[port_name][0])
# Nothing further needed
elif port_mode == 'trunk':
- print ' trunk port'
+ print ' trunk port, VLANs:'
# Trunk ports are a little more involved. First,
# create the port in the DB, setting the VLANs to the
# first VLAN found on the trunk port. This will *also*
# be in access mode by default, and unlocked.
port_vlans[port_name] = s.port_get_trunk_vlan_list(port_name)
- print ' trunk port has VLANs:'
print port_vlans[port_name]
if port_vlans[port_name] == [] or port_vlans[port_name] is None or 'ALL' in port_vlans[port_name]:
port_vlans[port_name] = (state.config.vland.default_vlan_tag,)