[YANG] add yang model for MUX_LINKMGR|MUXLOGGER (#15884)

Add yang model for MUX_LINKMGR|MUXLOGGER.
This commit is contained in:
Jing Zhang 2023-07-20 13:12:35 -07:00 committed by GitHub
parent 2d0bad0523
commit 57b2ab4bc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 34 additions and 0 deletions

View File

@ -1439,6 +1439,9 @@ The **MUX_LINKMGR** table is used for dualtor device configuration.
"use_well_known_mac": "enabled",
"src_mac": "ToRMac",
"interval_pck_loss_count_update": "3"
},
"MUXLOGGER": {
"log_verbosity": "debug"
}
}
}

View File

@ -2153,6 +2153,9 @@
"use_well_known_mac": "enabled",
"src_mac": "ToRMac",
"interval_pck_loss_count_update": "3"
},
"MUXLOGGER": {
"log_verbosity": "debug"
}
},

View File

@ -4,5 +4,8 @@
},
"MUX_LINKMGR_LINK_PROBER_CHANGE_MAC_ADDR": {
"desc": "Use well-known mac and vlan mac as dst/src in linkmgrd link prober. "
},
"MUX_LINKMGR_MUXLOGGER_CHANGE_VERBOSITY_LEVEL": {
"desc": "Consume verbosity level config changes. "
}
}

View File

@ -22,5 +22,15 @@
}
}
}
},
"MUX_LINKMGR_MUXLOGGER_CHANGE_VERBOSITY_LEVEL": {
"sonic-mux-linkmgr:sonic-mux-linkmgr": {
"sonic-mux-linkmgr:MUX_LINKMGR": {
"sonic-mux-linkmgr:MUXLOGGER":
{
"log_verbosity": "debug"
}
}
}
}
}

View File

@ -83,6 +83,21 @@ module sonic-mux-linkmgr {
description "The frequency of streaming ICMP heartbeat loss data to telemetry. ";
}
}
container MUXLOGGER {
leaf log_verbosity {
type enumeration {
enum trace;
enum debug;
enum info;
enum error;
enum fatal;
}
description "Linkmgrd log verbosity level. ";
}
}
}
}
}