diff options
author | Steve McIntyre <steve.mcintyre@linaro.org> | 2015-02-11 17:13:50 +0000 |
---|---|---|
committer | Steve McIntyre <steve.mcintyre@linaro.org> | 2015-02-11 17:13:50 +0000 |
commit | d7fb40791205317549fc62c30e47b2b59697e845 (patch) | |
tree | fda857115538d2df6c5177d77fc5564461e371c9 /util.py | |
parent | a8fe1deeb0afe017ff114c4768c56d85e7fd37d2 (diff) |
Bugfix - track the right list of VLANs for the switch
Change-Id: Idf1207a4460b4cfb114d4ca811ecf43742c49a9a
Diffstat (limited to 'util.py')
-rw-r--r-- | util.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -747,7 +747,7 @@ class VlanUtil: # Make sure this switch has all the VLANs we need for vlan in db.all_vlans(): if vlan.tag is not state.config.vland.default_vlan_tag: - if not vlan.tag in new_vlan_tags: + if not vlan.tag in vlan_tags: print "Adding VLAN tag %d to this switch" % (vlan.tag) s.vlan_create(vlan.tag) s.vlan_set_name(vlan.tag, vlan.name) |