diff --git a/src/sonic-yang-models/tests/yang_model_tests/tests/mgmt_vrf.json b/src/sonic-yang-models/tests/yang_model_tests/tests/mgmt_vrf.json index 21a85a195cf9..658fd4da6ba4 100644 --- a/src/sonic-yang-models/tests/yang_model_tests/tests/mgmt_vrf.json +++ b/src/sonic-yang-models/tests/yang_model_tests/tests/mgmt_vrf.json @@ -2,8 +2,11 @@ "MGMT_VRF_TEST": { "desc": "LOAD MGMT VRF TABLE WITH mgmtVrfEnabled SET TO TRUE SUCCESSFULLY." }, - "MGMT_VRF_IN_BAND_MGMT_TEST": { - "desc": "LOAD MGMT VRF TABLE WITH both mgmtVrfEnabled and in_band_mgmt_enabled SET TO TRUE SUCCESSFULLY." + "MGMT_VRF_TEST_WITH_IN_BAND_MGMT_DISABLED": { + "desc": "LOAD MGMT VRF TABLE WITH mgmtVrfEnabled SET TO TRUE and in_band_mgmt_enabled SET TO FALSE SUCCESSFULLY." + }, + "MGMT_VRF_TEST_WITH_IN_BAND_MGMT_ENABLED": { + "desc": "LOAD MGMT VRF TABLE WITH BOTH mgmtVrfEnabled and in_band_mgmt_enabled SET TO TRUE SUCCESSFULLY." }, "MGMT_VRF_TEST_WITH_DEFAULT_VALUE": { "desc": "LOAD MGMT VRF TABLE WITH DEFAULT mgmtVrfEnabled SUCCESSFULLY." diff --git a/src/sonic-yang-models/tests/yang_model_tests/tests_config/mgmt_vrf.json b/src/sonic-yang-models/tests/yang_model_tests/tests_config/mgmt_vrf.json index 086492959abe..649f285919dd 100644 --- a/src/sonic-yang-models/tests/yang_model_tests/tests_config/mgmt_vrf.json +++ b/src/sonic-yang-models/tests/yang_model_tests/tests_config/mgmt_vrf.json @@ -8,7 +8,17 @@ } } }, - "MGMT_VRF_IN_BAND_MGMT_TEST": { + "MGMT_VRF_TEST_WITH_IN_BAND_MGMT_DISABLED": { + "sonic-mgmt_vrf:sonic-mgmt_vrf": { + "sonic-mgmt_vrf:MGMT_VRF_CONFIG": { + "sonic-mgmt_vrf:vrf_global": { + "mgmtVrfEnabled": true, + "in_band_mgmt_enabled": false + } + } + } + }, + "MGMT_VRF_TEST_WITH_IN_BAND_MGMT_ENABLED": { "sonic-mgmt_vrf:sonic-mgmt_vrf": { "sonic-mgmt_vrf:MGMT_VRF_CONFIG": { "sonic-mgmt_vrf:vrf_global": {