From 4bdf2d1cde1936d5908f317a9b9b19647224b516 Mon Sep 17 00:00:00 2001 From: Julien Fortin Date: Tue, 3 May 2016 17:40:30 +0200 Subject: [PATCH] Deprecating `mstpctl-stp` attribute Ticket: CM-10476 Reviewed By: Roopa Testing Done: Using mstpctl-stp attribute in a stanza will display a warning --- addons/mstpctl.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/addons/mstpctl.py b/addons/mstpctl.py index 522befe..fa18ab3 100644 --- a/addons/mstpctl.py +++ b/addons/mstpctl.py @@ -28,7 +28,9 @@ class mstpctl(moduleBase): 'mstpctl-stp' : {'help': 'bridge stp yes/no', 'compat' : True, - 'default' : 'no'}, + 'default' : 'no', + 'deprecated': True, + 'new-attribute': 'bridge-stp'}, 'mstpctl-treeprio' : {'help': 'tree priority', 'default' : '32768',