add service_mgmt (#15927)

Adding yang model for CONFIG_DB table MUX_LINKMGR|SERVICE_MGMT.

sign-off: Jing Zhang zhangjing@microsoft.com
This commit is contained in:
Jing Zhang 2023-08-02 14:41:48 -07:00 committed by mssonicbld
parent 96148d575d
commit 25662c62b4
5 changed files with 33 additions and 0 deletions

View File

@ -1223,6 +1223,9 @@ The **MUX_LINKMGR** table is used for dualtor device configuration.
}, },
"MUXLOGGER": { "MUXLOGGER": {
"log_verbosity": "debug" "log_verbosity": "debug"
},
"SERVICE_MGMT": {
"kill_radv": "True"
} }
} }
} }

View File

@ -1947,6 +1947,9 @@
}, },
"MUXLOGGER": { "MUXLOGGER": {
"log_verbosity": "debug" "log_verbosity": "debug"
},
"SERVICE_MGMT": {
"kill_radv": "False"
} }
}, },

View File

@ -7,5 +7,8 @@
}, },
"MUX_LINKMGR_MUXLOGGER_CHANGE_VERBOSITY_LEVEL": { "MUX_LINKMGR_MUXLOGGER_CHANGE_VERBOSITY_LEVEL": {
"desc": "Consume verbosity level config changes. " "desc": "Consume verbosity level config changes. "
},
"MUX_LINKMGR_SERVICE_MGMT_KILL_RADV_DISABLED": {
"desc": "Disable feature to kill radv."
} }
} }

View File

@ -32,5 +32,15 @@
} }
} }
} }
},
"MUX_LINKMGR_SERVICE_MGMT_KILL_RADV_DISABLED": {
"sonic-mux-linkmgr:sonic-mux-linkmgr": {
"sonic-mux-linkmgr:MUX_LINKMGR": {
"sonic-mux-linkmgr:SERVICE_MGMT":
{
"kill_radv": "False"
}
}
}
} }
} }

View File

@ -98,6 +98,20 @@ module sonic-mux-linkmgr {
description "Linkmgrd log verbosity level. "; description "Linkmgrd log verbosity level. ";
} }
} }
container SERVICE_MGMT {
leaf kill_radv {
type enumeration {
enum True;
enum False;
}
default True;
description "Kill radv service instead of gracefully stopping it. ";
}
}
} }
} }
} }