Skip to content

Commit 0e5e7ba

Browse files
authored
[muxorch] Handling optional attributes in muxorch (sonic-net#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 <ndancejic@microsoft.com>
1 parent 7fc0f73 commit 0e5e7ba

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

orchagent/muxorch.h

+2
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,8 @@ const request_description_t mux_cfg_request_description = {
131131
{ "server_ipv4", REQ_T_IP_PREFIX },
132132
{ "server_ipv6", REQ_T_IP_PREFIX },
133133
{ "address_ipv4", REQ_T_IP },
134+
{ "soc_ipv4", REQ_T_IP_PREFIX },
135+
{ "cable_type", REQ_T_STRING },
134136
},
135137
{ }
136138
};

0 commit comments

Comments
 (0)