breakout_modes representation in platform.json

20 views
Skip to first unread message

Rajendra Dendukuri

unread,
Mar 31, 2020, 12:50:03 AM3/31/20
to sonic-breakout-workgroup
Hi,

Can we consider representing supported breakout modes in the platform.json as an array element like below instead of a ',' separated string

"breakout_modes": ["1x100G[40G]", "2x50G", "4x25G[10G]", "2x25G(2)+1x50G(2)", "1x50G(2)+2x25G(2)"

This will be easier to iterate. Also if we have more than one speeds supported in a given mode then usage of ',' as a speed separator will not conflict with the modes separator. Consider the below hypothetical scenario:

"breakout_modes": ["1x400G[200G,100G]", "4x100G[25G]"] 

Alternative would be to use a different separator for speeds.

Thoughts?

Regards,
Rajen

Zhenggen Xu

unread,
Apr 6, 2020, 1:40:10 AM4/6/20
to Rajendra Dendukuri, sonic-breakout-workgroup

Yes, the breakout_modes can be made as an array element, we will make that change into the code.

--
You received this message because you are subscribed to the Google Groups "sonic-breakout-workgroup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonic-breakout-wor...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonic-breakout-workgroup/03c26e8d-ca85-438d-bba8-7059024dd804%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages