yang: Remove old STP port state from operational

This commit is contained in:
Tobias Waldekranz
2025-01-24 14:52:25 +01:00
parent c1e6f0c53b
commit 9ef6d2d038
4 changed files with 7 additions and 11 deletions
+2 -1
View File
@@ -282,7 +282,8 @@ class Iface:
self.br_vlans = get_json_data({}, self.data, 'infix-interfaces:bridge', 'vlans', "vlan")
self.bridge = get_json_data('', self.data, 'infix-interfaces:bridge-port', 'bridge')
self.pvid = get_json_data('', self.data, 'infix-interfaces:bridge-port', 'pvid')
self.stp_state = get_json_data('', self.data, 'infix-interfaces:bridge-port', 'stp-state')
self.stp_state = get_json_data('', self.data, 'infix-interfaces:bridge-port',
'stp', 'cist', 'state')
self.containers = get_json_data('', self.data, 'infix-interfaces:container-network', 'containers')
@@ -141,9 +141,6 @@ def lower(iplink):
},
"stp": lower_stp(iplink),
# TODO: REMOVE
"stp-state": info["state"],
}