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:
@ -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
|
||||
|
Reference in New Issue
Block a user