You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@ganglyu Kindly follow this PR #6464.
This way you can add 'cluster' field by yourself and also can add tests.
Kindly let me know if any issues in understanding this, we can have a quick call b/w 5-6 PM PST anyday.
Description
'DEVICE_METADATA': {'localhost': {'bgp_asn': '65100',
'cloudtype': None,
'cluster': 'AAA00PrdStr00',
'deployment_id': '1',
'docker_routing_config_mode': 'separated',
'hostname': 'switch-t0',
'hwsku': 'Force10-S6000',
'peer_switch': 'switch2-t0',
'region': None,
'resource_type': 'Storage',
'storage_device': 'true',
'subtype': 'DualToR',
'synchronous_mode': 'enable',
'type': 'ToRRouter'}},
https://github.com/Azure/sonic-buildimage/blob/master/src/sonic-config-engine/minigraph.py#L247-L248
Config db schema generated by minigraph can’t pass yang validation:
there's no 'cluster' in yang model.
It seems that we need to update yang model or sonic-config-engine.
Steps to reproduce the issue:
Describe the results you received:
Yang validation failed.
Describe the results you expected:
Yang validation should pass.
Output of
show version
:Output of
show techsupport
:Additional information you deem important (e.g. issue happens only occasionally):
The text was updated successfully, but these errors were encountered: