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

ifquery running not showing vlan ranges in 3.0

Ticket: CM-9097
Reviewed By: Trivial
Testing Done: Tested on Chris' config

In 3.0, the bridge vlan show command does not print
VLAN ranges unless you use the "-c" option.
This patch modifies the bridge vlan show call in
iproute2.py to use "-c".
This commit is contained in:
Sam Tannous
2016-02-18 16:49:40 -05:00
parent 1c89fd85ff
commit 6c5e92aa70

View File

@ -666,7 +666,7 @@ class iproute2(utilsBase):
def bridge_port_vids_get_all(self):
brvlaninfo = {}
bridgeout = self.exec_command('/sbin/bridge vlan show')
bridgeout = self.exec_command('/sbin/bridge -c vlan show')
if not bridgeout: return brvlaninfo
brvlanlines = bridgeout.splitlines()
brportname=None