Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable vxlan learning flag #1636

Merged
merged 2 commits into from
Oct 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions links/link_vxlan.go
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ func (l *LinkVxlan) deployVxlanInterface() error {
VxlanId: l.remoteEndpoint.vni,
VtepDevIndex: parentIface.Attrs().Index,
Group: l.remoteEndpoint.remote,
Learning: true,
}
// set the upd port if defined in the input
if l.remoteEndpoint.udpPort != 0 {
Expand Down
6 changes: 4 additions & 2 deletions tests/08-vxlan/02-vxlan-stitch.robot
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,11 @@ Check VxLAN interface parameters on the host for srl1 node
${rc} ${output} = Run And Return Rc And Output
... sudo ip -d l show vx-srl1_e1-1

Should Contain ${output} mtu 9050
Should Contain ${output} mtu 9050

Should Contain ${output} vxlan id 100 remote 172.20.25.22 dev clab-vxlan-br srcport 0 0 dstport 14788
Should Contain ${output} vxlan id 100 remote 172.20.25.22 dev clab-vxlan-br srcport 0 0 dstport 14788

Should Not Contain ${output} nolearning

Check veth interface parameters on the host for srl1 node
${rc} ${output} = Run And Return Rc And Output
Expand Down