Skip to content

Commit

Permalink
[ssip]: YANG UTs rev01.
Browse files Browse the repository at this point in the history
Signed-off-by: Nazarii Hnydyn <[email protected]>
  • Loading branch information
nazariig committed Jun 17, 2022
1 parent 956301a commit 1a7eb8f
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"desc": "Configure invalid SOURCE in SYSLOG_SERVER.",
"eStrKey": "InvalidValue"
},
"SYSLOG_SERVER_SOURCE_IP_FAMILY_MISMATCH": {
"desc": "Configure SOURCE IP family mismatch in SYSLOG_SERVER.",
"eStrKey": "Must"
},
"SYSLOG_SERVER_INVALID_PORT": {
"desc": "Configure invalid PORT in SYSLOG_SERVER.",
"eStrKey": "InvalidValue"
Expand All @@ -14,6 +18,10 @@
"desc": "Configure invalid VRF in SYSLOG_SERVER.",
"eStrKey": "InvalidValue"
},
"SYSLOG_SERVER_DISABLED_MGMT_VRF": {
"desc": "Configure disabled management VRF in SYSLOG_SERVER.",
"eStrKey": "Must"
},
"SYSLOG_SERVER_TEST": {
"desc": "Load syslog server table with ipv4 address as syslog servers."
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@
]
}
},
"sonic-mgmt_vrf:sonic-mgmt_vrf": {
"sonic-mgmt_vrf:MGMT_VRF_CONFIG": {
"sonic-mgmt_vrf:vrf_global": {
"mgmtVrfEnabled": "true"
}
}
},
"sonic-vrf:sonic-vrf": {
"sonic-vrf:VRF": {
"VRF_LIST": [
Expand All @@ -46,6 +53,18 @@
}
}
},
"SYSLOG_SERVER_SOURCE_IP_FAMILY_MISMATCH": {
"sonic-syslog:sonic-syslog": {
"sonic-syslog:SYSLOG_SERVER": {
"SYSLOG_SERVER_LIST": [
{
"server_address": "100.0.0.1",
"source": "1111::1111"
}
]
}
}
},
"SYSLOG_SERVER_INVALID_PORT": {
"sonic-syslog:sonic-syslog": {
"sonic-syslog:SYSLOG_SERVER": {
Expand All @@ -70,6 +89,25 @@
}
}
},
"SYSLOG_SERVER_DISABLED_MGMT_VRF": {
"sonic-syslog:sonic-syslog": {
"sonic-syslog:SYSLOG_SERVER": {
"SYSLOG_SERVER_LIST": [
{
"server_address": "100.0.0.1",
"vrf": "mgmt"
}
]
}
},
"sonic-mgmt_vrf:sonic-mgmt_vrf": {
"sonic-mgmt_vrf:MGMT_VRF_CONFIG": {
"sonic-mgmt_vrf:vrf_global": {
"mgmtVrfEnabled": "false"
}
}
}
},
"SYSLOG_SERVER_TEST": {
"sonic-syslog:sonic-syslog": {
"sonic-syslog:SYSLOG_SERVER": {
Expand Down

0 comments on commit 1a7eb8f

Please sign in to comment.