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

addons: mstpctl: deprecate mstpctl-ports in favor of bridge-ports

Ticket:
Reviewed By:
Testing Done: ran l2 smoke

usage of mstpctl-ports will now give you a warning:
warning: attribute mstpctl-ports is deprecated. use bridge-ports instead.

Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
This commit is contained in:
Roopa Prabhu
2016-05-09 07:41:20 -07:00
parent 8f361f7d4c
commit 48689b55e8

View File

@@ -24,7 +24,9 @@ class mstpctl(moduleBase):
'attrs' : {
'mstpctl-ports' :
{'help' : 'mstp ports',
'compat' : True},
'compat' : True,
'deprecated': True,
'new-attribute': 'bridge-ports'},
'mstpctl-stp' :
{'help': 'bridge stp yes/no',
'compat' : True,