mirror of
https://github.com/CumulusNetworks/ifupdown2.git
synced 2024-05-06 15:54:50 +00:00
Fix mstpctl attribute names in ifquery running output
Ticket: CM-4141 Reviewed By: Testing Done: Tested with test case in CM-4141 + sanity testing
This commit is contained in:
@@ -659,22 +659,22 @@ class mstpctl(moduleBase):
|
||||
v = self.mstpctlcmd.get_bridgeport_attr(bridgename,
|
||||
ifaceobjrunning.name, 'portadminedge')
|
||||
if v and v != 'no':
|
||||
ifaceobjrunning.update_config('mstpctl-adminedge', v)
|
||||
ifaceobjrunning.update_config('mstpctl-portadminedge', v)
|
||||
|
||||
v = self.mstpctlcmd.get_bridgeport_attr(bridgename,
|
||||
ifaceobjrunning.name,'portp2p')
|
||||
if v and v != 'no':
|
||||
ifaceobjrunning.update_config('mstpctl-p2p', v)
|
||||
ifaceobjrunning.update_config('mstpctl-portp2p', v)
|
||||
|
||||
v = self.mstpctlcmd.get_bridgeport_attr(bridgename,
|
||||
ifaceobjrunning.name, 'portrestrrole')
|
||||
if v and v != 'no':
|
||||
ifaceobjrunning.update_config('mstpctl-restrrole', v)
|
||||
ifaceobjrunning.update_config('mstpctl-portrestrrole', v)
|
||||
|
||||
v = self.mstpctlcmd.get_bridgeport_attr(bridgename,
|
||||
ifaceobjrunning.name, 'restrtcn')
|
||||
if v and v != 'no':
|
||||
ifaceobjrunning.update_config('mstpctl-restrtcn', v)
|
||||
ifaceobjrunning.update_config('mstpctl-portrestrtcn', v)
|
||||
|
||||
v = self.mstpctlcmd.get_bridgeport_attr(bridgename,
|
||||
ifaceobjrunning.name, 'bpduguard')
|
||||
|
Reference in New Issue
Block a user