[sonic-cfggen]: Fix syslog_server output (#9616)

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 ganglv@microsoft.com
This commit is contained in:
ganglv 2021-12-23 10:03:28 +08:00 committed by GitHub
parent 3aec72879d
commit 48a648c943
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -109,7 +109,7 @@
<a:DeviceProperty>
<a:Name>SyslogResources</a:Name>
<a:Value>
10.0.10.5;10.0.10.6;
10.0.10.5;10.0.10.6
</a:Value>
</a:DeviceProperty>
<a:DeviceProperty>

View File

@ -446,7 +446,7 @@
<a:DeviceProperty>
<a:Name>SyslogResources</a:Name>
<a:Value>
10.0.10.5;10.0.10.6;
10.0.10.5;10.0.10.6
</a:Value>
</a:DeviceProperty>
<a:DeviceProperty>

View File

@ -245,7 +245,7 @@
<a:DeviceProperty>
<a:Name>SyslogResources</a:Name>
<a:Value>
10.0.10.5;10.0.10.6;
10.0.10.5;10.0.10.6
</a:Value>
</a:DeviceProperty>
<a:DeviceProperty>