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

change /bin/bridge path to /sbin/bridge to be same as upstream

Ticket: CM-6519
Reviewed By:
Testing Done: sanity test
This commit is contained in:
Roopa Prabhu
2015-08-08 23:14:55 -07:00
parent 34cdd4a39c
commit 4994b48f42

View File

@@ -615,8 +615,8 @@ class iproute2(utilsBase):
%(vid, bridgeportname))
def bridge_port_vids_get(self, bridgeportname):
self.exec_command('/bin/bridge vlan show %s' %bridgeportname)
bridgeout = self.exec_command('/bin/bridge vlan show dev %s'
self.exec_command('/sbin/bridge vlan show %s' %bridgeportname)
bridgeout = self.exec_command('/sbin/bridge vlan show dev %s'
%bridgeportname)
if not bridgeout: return []
brvlanlines = bridgeout.readlines()[2:]
@@ -625,7 +625,7 @@ class iproute2(utilsBase):
def bridge_port_vids_get_all(self):
brvlaninfo = {}
bridgeout = self.exec_command('/bin/bridge vlan show')
bridgeout = self.exec_command('/sbin/bridge vlan show')
if not bridgeout: return brvlaninfo
brvlanlines = bridgeout.splitlines()
brportname=None