1
0
mirror of https://github.com/CumulusNetworks/ifupdown2.git synced 2024-05-06 15:54:50 +00:00

Running ifquery --running -a will truncate the pvid number to a single digit

Ticket: CM-6284
Reviewed By: roopa
Testing Done: unit tested change

Running ifquery --running -a will truncate the pvid number to a single digit for the bridge.
This patch appendis the entire pvid instead of only the first character.
This commit is contained in:
Sam Tannous
2015-07-02 17:14:24 -04:00
parent d3ad131ee8
commit 6faeff30af

View File

@@ -1012,7 +1012,7 @@ class bridge(moduleBase):
running_bridgeport_vids.append(' '.join(vids))
pvids = running_vidinfo.get(bport, {}).get('pvid')
if pvids:
running_bridgeport_pvids.append(pvids[0])
running_bridgeport_pvids.append(pvids)
bridge_vids = None
if running_bridgeport_vids: