diff options
author | Steve McIntyre <steve.mcintyre@linaro.org> | 2015-02-11 17:25:27 +0000 |
---|---|---|
committer | Steve McIntyre <steve.mcintyre@linaro.org> | 2015-02-11 17:25:27 +0000 |
commit | 7b475d85f9b654165ddaba350e5564718f9335d6 (patch) | |
tree | 8b326c1abcf6aa1615bb94161621794abe98b06d /util.py | |
parent | d7fb40791205317549fc62c30e47b2b59697e845 (diff) |
Tweak debug output
Change-Id: Ia8b80a40735404e076b912e0a68b0cd9dda988a3
Diffstat (limited to 'util.py')
-rw-r--r-- | util.py | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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,) |