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 8ef188169e
commit 0352c83fb5
5 changed files with 33 additions and 0 deletions

View File

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

View File

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

View File

@ -7,5 +7,8 @@
},
"MUX_LINKMGR_MUXLOGGER_CHANGE_VERBOSITY_LEVEL": {
"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. ";
}
}
container SERVICE_MGMT {
leaf kill_radv {
type enumeration {
enum True;
enum False;
}
default True;
description "Kill radv service instead of gracefully stopping it. ";
}
}
}
}
}