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 GitHub
parent a850175776
commit b23ec06a87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 33 additions and 0 deletions

View File

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

View File

@ -2175,6 +2175,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. ";
}
}
}
}
}