Add yang_config_validation to minigraph.py (#12504)
This commit is contained in:
parent
538e4c0a97
commit
db7459787c
@ -1450,7 +1450,8 @@ def parse_xml(filename, platform=None, port_config_file=None, asic_name=None, hw
|
|||||||
'hostname': hostname,
|
'hostname': hostname,
|
||||||
'hwsku': hwsku,
|
'hwsku': hwsku,
|
||||||
'type': device_type,
|
'type': device_type,
|
||||||
'synchronous_mode': 'enable'
|
'synchronous_mode': 'enable',
|
||||||
|
'yang_config_validation': 'disable'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -81,7 +81,8 @@ class TestCfgGen(object):
|
|||||||
'hostname': 'sonic',
|
'hostname': 'sonic',
|
||||||
'hwsku': 'Force10-S6000',
|
'hwsku': 'Force10-S6000',
|
||||||
'platform': 'x86_64-kvm_x86_64-r0',
|
'platform': 'x86_64-kvm_x86_64-r0',
|
||||||
'type': 'LeafRouter'
|
'type': 'LeafRouter',
|
||||||
|
'yang_config_validation': 'disable'
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
@ -161,7 +161,8 @@
|
|||||||
"hostname": "sonic",
|
"hostname": "sonic",
|
||||||
"hwsku": "Force10-S6000",
|
"hwsku": "Force10-S6000",
|
||||||
"type": "LeafRouter",
|
"type": "LeafRouter",
|
||||||
"platform": "x86_64-kvm_x86_64-r0"
|
"platform": "x86_64-kvm_x86_64-r0",
|
||||||
|
"yang_config_validation": "disable"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user