diff --git a/src/sonic-yang-models/tests/yang_model_tests/tests_config/mux-linkmgr.json b/src/sonic-yang-models/tests/yang_model_tests/tests_config/mux-linkmgr.json index 35626a5a2312..2210c169365c 100644 --- a/src/sonic-yang-models/tests/yang_model_tests/tests_config/mux-linkmgr.json +++ b/src/sonic-yang-models/tests/yang_model_tests/tests_config/mux-linkmgr.json @@ -2,28 +2,24 @@ "MUX_LINKMGR_LINK_PROBER_INTERVAL_CHANGE": { "sonic-mux-linkmgr:sonic-mux-linkmgr": { "sonic-mux-linkmgr:MUX_LINKMGR": { - "LINK_PROBER_LIST": [ + "sonic-mux-linkmgr:LINK_PROBER": { - "modulename": "LINK_PROBER", "interval_v4": "1000", "interval_v6": "10000", "positive_signal_count": 3, "negative_signal_count": 9 } - ] } } }, "MUX_LINKMGR_LINK_PROBER_CHANGE_MAC_ADDR": { "sonic-mux-linkmgr:sonic-mux-linkmgr": { "sonic-mux-linkmgr:MUX_LINKMGR": { - "LINK_PROBER_LIST": [ + "sonic-mux-linkmgr:LINK_PROBER": { - "modulename": "LINK_PROBER", "use_well_known_mac": "enabled", "src_mac": "VlanMac" } - ] } } } diff --git a/src/sonic-yang-models/yang-models/sonic-mux-linkmgr.yang b/src/sonic-yang-models/yang-models/sonic-mux-linkmgr.yang index ccbc14d62509..93e605ea8e51 100644 --- a/src/sonic-yang-models/yang-models/sonic-mux-linkmgr.yang +++ b/src/sonic-yang-models/yang-models/sonic-mux-linkmgr.yang @@ -20,14 +20,8 @@ module sonic-mux-linkmgr { container sonic-mux-linkmgr { container MUX_LINKMGR { - list LINK_PROBER_LIST { - key "modulename"; - leaf modulename { - type string; - - description "Linkmgrd submodule to be configured. "; - } + container LINK_PROBER { leaf interval_v4 { type uint32;