Conversation
Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan <arlakshm@microsoft.com>
|
Hi, could you add a NEG_TEST for invalid IPv4 address such as 1000.0.0.5 |
src/sonic-yang-models/tests/yang_model_tests/tests_config/syslog.json
Outdated
Show resolved
Hide resolved
Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan <arlakshm@microsoft.com>
src/sonic-yang-models/tests/yang_model_tests/tests_config/syslog.json
Outdated
Show resolved
Hide resolved
Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan <arlakshm@microsoft.com>
@wen587, I have updated the constraint and test in the latest commit. |
|
Hi @arlakshm , thanks for the update. |
Hi @wen587, as far as I know we support only ipv4 syslog server. The CLI command might be missing the IP address validation ? |
|
/AzurePipelines run Azure.sonic-buildimage |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Checking #3754, we should support ipv6 syslog server address. Otherwise it will be a bug. In reply to: 983057725 |
Add support of ipv6 syslog server in the latest commit |
Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan <arlakshm@microsoft.com>
Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan <arlakshm@microsoft.com>
|
/AzurePipelines run Azure.sonic-buildimage |
|
Azure Pipelines successfully started running 1 pipeline(s). |
qiluo-msft
left a comment
There was a problem hiding this comment.
LGTM. Please also check with other reviewers for active comments.
|
/AzurePipelines run Azure.sonic-buildimage |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/AzurePipelines run Azure.sonic-buildimage |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Why I did it Add yang model for syslog server How I did it Add new file sonic-syslog.yang and new files for tests How to verify it Compile target/python-wheels/sonic_yang_mgmt-1.0-py3-none-any.whl Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan arlakshm@microsoft.com
Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan arlakshm@microsoft.com
Why I did it
Add yang model for syslog server
How I did it
Add new file
sonic-syslog.yangand new files for testsHow to verify it
Compile
target/python-wheels/sonic_yang_mgmt-1.0-py3-none-any.whlWhich release branch to backport (provide reason below if selected)
Description for the changelog
A picture of a cute animal (not mandatory but encouraged)