mirror of
https://github.com/CumulusNetworks/ifupdown2.git
synced 2024-05-06 15:54:50 +00:00
Checkin missing mstpctlutil.py changes for e1e1cf57295dee2ec0df4b1e61c6a7c4e6969402
Ticket: CM-4141 Reviewed By: Testing Done:
This commit is contained in:
@@ -25,7 +25,7 @@ class mstpctlutil(utilsBase):
|
||||
'forcevers' : 'force-protocol-version'}
|
||||
|
||||
_bridgeportattrmap = {'portadminedge' : 'admin-edge-port',
|
||||
'portp2p' : 'point-to-point',
|
||||
'portp2p' : 'admin-point-to-point',
|
||||
'portrestrrole' : 'restricted-role',
|
||||
'portrestrtcn' : 'restricted-TCN',
|
||||
'bpduguard' : 'bpdu-guard-port',
|
||||
@@ -99,8 +99,8 @@ class mstpctlutil(utilsBase):
|
||||
'').split('.')[0], base=16) * 4096)
|
||||
del bridgeattrs['bridgeid']
|
||||
except Exception, e:
|
||||
self.logger.info(bridgeattrs)
|
||||
self.logger.warn(str(e))
|
||||
self.logger.debug(bridgeattrs)
|
||||
self.logger.debug(str(e))
|
||||
pass
|
||||
return bridgeattrs
|
||||
|
||||
|
Reference in New Issue
Block a user