Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/sonic-yang-models/doc/Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -1223,6 +1223,9 @@ The **MUX_LINKMGR** table is used for dualtor device configuration.
},
"MUXLOGGER": {
"log_verbosity": "debug"
},
"SERVICE_MGMT": {
"kill_radv": "True"
}
}
}
Expand Down
3 changes: 3 additions & 0 deletions src/sonic-yang-models/tests/files/sample_config_db.json
Original file line number Diff line number Diff line change
Expand Up @@ -1947,6 +1947,9 @@
},
"MUXLOGGER": {
"log_verbosity": "debug"
},
"SERVICE_MGMT": {
"kill_radv": "False"
}
},

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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."
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
}
}
}
14 changes: 14 additions & 0 deletions src/sonic-yang-models/yang-models/sonic-mux-linkmgr.yang
Original file line number Diff line number Diff line change
Expand Up @@ -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. ";
}
}
}
}
}