Skip to content

[sonic-cfggen]: Fix syslog_server output#9616

Merged
ganglyu merged 1 commit intosonic-net:masterfrom
ganglyu:syslog_server
Dec 23, 2021
Merged

[sonic-cfggen]: Fix syslog_server output#9616
ganglyu merged 1 commit intosonic-net:masterfrom
ganglyu:syslog_server

Conversation

@ganglyu
Copy link
Copy Markdown
Contributor

@ganglyu ganglyu commented Dec 22, 2021

Signed-off-by: Gang Lv [email protected]

Why I did it

'SYSLOG_SERVER': {'': {}, '10.0.10.5': {}, '10.0.10.6': {}},
Config db schema generated by minigraph can’t pass yang validation, server address can't be empty.

How I did it

Update test minigraph to remove wrong configuration.

How to verify it

Build sonic-config-engine.
Run command 'sonic-cfggen -m xxx.xml --print-data', and SYSLOG_SERVERS table.

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106

Description for the changelog

Fix #9571

A picture of a cute animal (not mandatory but encouraged)

@ganglyu ganglyu requested a review from qiluo-msft December 22, 2021 07:31
@ganglyu ganglyu requested a review from lguohan as a code owner December 22, 2021 07:31
@ganglyu ganglyu merged commit 48a648c into sonic-net:master Dec 23, 2021
@ganglyu ganglyu added the Request for 202111 Branch For PRs being requested for 202111 branch label Jan 6, 2022
judyjoseph pushed a commit that referenced this pull request Jan 9, 2022
Why I did it
'SYSLOG_SERVER': {'': {}, '10.0.10.5': {}, '10.0.10.6': {}},
Config db schema generated by minigraph can’t pass yang validation, server address can't be empty.

How I did it
Update test minigraph to remove wrong configuration.

How to verify it
Build sonic-config-engine.
Run command 'sonic-cfggen -m xxx.xml --print-data', and SYSLOG_SERVERS table.

Signed-off-by: Gang Lv [email protected]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Included in 202111 Branch Request for 202111 Branch For PRs being requested for 202111 branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[yang-models] syslog validation issue

3 participants