From 0e5e7ba5cb5581c1ea4d470216cf3aadcd19fb94 Mon Sep 17 00:00:00 2001 From: Nikola Dancejic <26731235+Ndancejic@users.noreply.github.com> Date: Wed, 25 May 2022 12:11:11 -0700 Subject: [PATCH] [muxorch] Handling optional attributes in muxorch (#2288) What I did: Added soc_ipv4 and cable_type as optional attributes in muxorch. Why I did it: cable_type field in MUX_CABLE table was throwing parse errors How I did it: adding soc_ipv4 and cable_type wo mux_cfg_request_description Signed-off-by: Nikola Dancejic --- orchagent/muxorch.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/orchagent/muxorch.h b/orchagent/muxorch.h index 6e4f70408c..bf230a6d71 100644 --- a/orchagent/muxorch.h +++ b/orchagent/muxorch.h @@ -131,6 +131,8 @@ const request_description_t mux_cfg_request_description = { { "server_ipv4", REQ_T_IP_PREFIX }, { "server_ipv6", REQ_T_IP_PREFIX }, { "address_ipv4", REQ_T_IP }, + { "soc_ipv4", REQ_T_IP_PREFIX }, + { "cable_type", REQ_T_STRING }, }, { } };