We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'DEVICE_METADATA': {'localhost': {'bgp_asn': '65100', 'cloudtype': 'Public', 'deployment_id': '1', 'docker_routing_config_mode': 'separated', 'downstream_subrole': 'downstream_subrole_y', 'hostname': 'switch-t0', 'hwsku': 'Force10-S6000', 'region': 'usfoo', 'resource_type': 'resource_type_x', 'synchronous_mode': 'enable', 'type': 'ToRRouter'}},
Config db schema generated by minigraph can’t pass yang validation:
It seems that we need to update sonic-config-engine or yang model.
Yang validation failed.
Yang validation should pass.
show version
(paste your output here)
show techsupport
(paste your output here or download and attach the file here )
The text was updated successfully, but these errors were encountered:
@anish-n https://github.com/Azure/sonic-buildimage/blob/master/src/sonic-config-engine/tests/simple-sample-graph-metadata.xml#L261-L265 If downstream_subrole is necessary, could you please update sonic-device_metadata.yang?
Sorry, something went wrong.
[Yang] Add resource_type and downstream_subrole to yang model (#9696)
cd26122
#### Why I did it As a fix for #9574 #### How I did it Enhance yang model for networking-metadata #### How to verify it Unit testing
20f39ba
anish-n
No branches or pull requests
Description
'DEVICE_METADATA': {'localhost': {'bgp_asn': '65100',
'cloudtype': 'Public',
'deployment_id': '1',
'docker_routing_config_mode': 'separated',
'downstream_subrole': 'downstream_subrole_y',
'hostname': 'switch-t0',
'hwsku': 'Force10-S6000',
'region': 'usfoo',
'resource_type': 'resource_type_x',
'synchronous_mode': 'enable',
'type': 'ToRRouter'}},
Config db schema generated by minigraph can’t pass yang validation:
It seems that we need to update sonic-config-engine or yang model.
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: