[sonic-cfggen]: Feature should use 'state' to replace 'status' (#9796)
Why I did it ConfigDB schema generated by minigraph parser can't pass yang validation. How I did it Modify minigraph.py, and use 'state' to replace 'status'. How to verify it Run UT for sonic-config-engine. Use minigraph parser to generate ConfigDB schema, and run yang validation. Signed-off-by: Gang Lv ganglv@microsoft.com
This commit is contained in:
parent
dde5f37496
commit
d3c39d5324
@ -1624,7 +1624,7 @@ def parse_xml(filename, platform=None, port_config_file=None, asic_name=None, hw
|
|||||||
results['ACL_TABLE'] = filter_acl_table_bindings(acls, neighbors, pcs, sub_role)
|
results['ACL_TABLE'] = filter_acl_table_bindings(acls, neighbors, pcs, sub_role)
|
||||||
results['FEATURE'] = {
|
results['FEATURE'] = {
|
||||||
'telemetry': {
|
'telemetry': {
|
||||||
'status': 'enabled'
|
'state': 'enabled'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
results['TELEMETRY'] = {
|
results['TELEMETRY'] = {
|
||||||
|
Loading…
Reference in New Issue
Block a user