mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-31 04:53:01 +02:00
yang: Remove old STP port state from operational
This commit is contained in:
@@ -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"],
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user