aboutsummaryrefslogtreecommitdiff
path: root/util.py
diff options
context:
space:
mode:
authorSteve McIntyre <steve.mcintyre@linaro.org>2015-02-11 17:25:27 +0000
committerSteve McIntyre <steve.mcintyre@linaro.org>2015-02-11 17:25:27 +0000
commit7b475d85f9b654165ddaba350e5564718f9335d6 (patch)
tree8b326c1abcf6aa1615bb94161621794abe98b06d /util.py
parentd7fb40791205317549fc62c30e47b2b59697e845 (diff)
Tweak debug output
Change-Id: Ia8b80a40735404e076b912e0a68b0cd9dda988a3
Diffstat (limited to 'util.py')
-rw-r--r--util.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/util.py b/util.py
index 953bd71..af75c9a 100644
--- a/util.py
+++ b/util.py
@@ -721,13 +721,12 @@ class VlanUtil:
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,)