Skip to content

Commit

Permalink
[muxorch] Handling optional attributes in muxorch (#2288)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ndancejic authored May 25, 2022
1 parent 7fc0f73 commit 0e5e7ba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions orchagent/muxorch.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
},
{ }
};
Expand Down

0 comments on commit 0e5e7ba

Please sign in to comment.