Skip to content

Commit 895264b

Browse files
committed
Fixing STP YANG model errors
1 parent 8ae4468 commit 895264b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/sonic-yang-mgmt/sonic_yang_ext.py

+4
Original file line numberDiff line numberDiff line change
@@ -734,6 +734,10 @@ def _xlateContainer(self, model, yang, config, table):
734734
# delete entry from copy of config
735735
del configC[vKey]
736736

737+
if table == 'STP' and 'GLOBAL' in configC:
738+
if 'GLOBAL' not in exceptionList:
739+
exceptionList.append('GLOBAL')
740+
737741
# All entries in copy of config must have been parsed.
738742
if len(configC):
739743
self.sysLog(msg="All Keys are not parsed in {}\n{}".format(table, \

0 commit comments

Comments
 (0)