Add yang_config_validation to minigraph.py (#12504)

This commit is contained in:
isabelmsft 2022-10-27 18:57:06 -07:00 committed by GitHub
parent 538e4c0a97
commit db7459787c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 4 deletions

View File

@ -1450,7 +1450,8 @@ def parse_xml(filename, platform=None, port_config_file=None, asic_name=None, hw
'hostname': hostname,
'hwsku': hwsku,
'type': device_type,
'synchronous_mode': 'enable'
'synchronous_mode': 'enable',
'yang_config_validation': 'disable'
}
}

View File

@ -81,7 +81,8 @@ class TestCfgGen(object):
'hostname': 'sonic',
'hwsku': 'Force10-S6000',
'platform': 'x86_64-kvm_x86_64-r0',
'type': 'LeafRouter'
'type': 'LeafRouter',
'yang_config_validation': 'disable'
})

View File

@ -161,7 +161,8 @@
"hostname": "sonic",
"hwsku": "Force10-S6000",
"type": "LeafRouter",
"platform": "x86_64-kvm_x86_64-r0"
"platform": "x86_64-kvm_x86_64-r0",
"yang_config_validation": "disable"
}
}
},
@ -378,4 +379,4 @@
}
}
}
}
}