-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
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
[ssip]: Add YANG model #10992
[ssip]: Add YANG model #10992
Conversation
/azpw run |
/AzurePipelines run |
You have several pipelines (over 10) configured to build pull requests in this repository. Specify which pipelines you would like to run by using /azp run [pipelines] command. You can specify multiple pipelines using a comma separated list. |
/azpw run Azure.sonic-buildimage |
/AzurePipelines run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
|
||
} /* end of container SYSLOG_SERVER */ | ||
leaf source { | ||
description "Syslog source IP address"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What happens when the source IP is not configured within a VRF (say. mgmt or data VRF)? rsyslog takes available IP from the kernel and send the log messages?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@venkatmahalingam the behavior is according to the HLD: CLI will check IP existence and error will be raised in case it missing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SONIC YANG model will be used for validating the configs present in json file for config load/reload, so YANG validation is important.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@venkatmahalingam such kind of validation is not possible with the current DB schema and YANG approach since we don't reference a configured IPs. Also not sure if it's even possible to add such a constraint in current YANG model to validate whether interface IP is configured across the specific VRF. This brings a lot of complexity. Any suggestions are appreciated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please update https://github.com/Azure/sonic-buildimage/blob/master/src/sonic-yang-models/doc/Configuration.md as well?
would you please add the link for HLD? |
@ganglyu done |
Signed-off-by: Nazarii Hnydyn <[email protected]>
Signed-off-by: Nazarii Hnydyn <[email protected]>
Signed-off-by: Nazarii Hnydyn <[email protected]>
Signed-off-by: Nazarii Hnydyn <[email protected]>
Signed-off-by: Nazarii Hnydyn <[email protected]>
Signed-off-by: Nazarii Hnydyn <[email protected]>
8c1dc7d
to
1a7eb8f
Compare
@dgsudharsan will do |
@dgsudharsan done: #11363 |
HLD: sonic-net/SONiC#1002
Why I did it
How I did it
How to verify it
Which release branch to backport (provide reason below if selected)
Description for the changelog
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)