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:
parent
8ef188169e
commit
0352c83fb5
@ -1422,6 +1422,9 @@ The **MUX_LINKMGR** table is used for dualtor device configuration.
|
||||
},
|
||||
"MUXLOGGER": {
|
||||
"log_verbosity": "debug"
|
||||
},
|
||||
"SERVICE_MGMT": {
|
||||
"kill_radv": "True"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -2146,6 +2146,9 @@
|
||||
},
|
||||
"MUXLOGGER": {
|
||||
"log_verbosity": "debug"
|
||||
},
|
||||
"SERVICE_MGMT": {
|
||||
"kill_radv": "False"
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -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."
|
||||
}
|
||||
}
|
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -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. ";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user