Skip to content

Use sonic-vpp target for OSS SONiC images #300

@l0wl3vel

Description

@l0wl3vel

Description

MTUs for vteps are 1500 by default and do not work in sonic-vs due to us pushing jumbo frames over them, while they do work on edgecore switches. We currently fix that by running a script in the sonic vm, which changes the mtu at runtime.

I found out that the problem is that the sonic-vs images don't use the SONiC SAI at all and do not emulate any switch logic. sonic-swss uses a hardcoded MTU of 9100 when configuring ASICs, which leads to us not observing this issue in hardware.

And it turns out that sonic has a platform target called sonic-vpp based on Vector Packet Processor, which emulates a virtual switch silicon.

It would be awesome to get a broadcomm trident 3 emulation SAI implementation to get the most reproduction accuracy. But moving over to sonic-vpp should already greatly improve our ability to transfer low-level networking assumptions between mini-lab and physical deployments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No fields configured for Enhancement.

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions