Skip to content

feat: add vlanid - tunnelid mapping support #1074

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

Merged
merged 1 commit into from
May 9, 2025

Conversation

zlaval
Copy link

@zlaval zlaval commented Apr 11, 2025

Vlan tunnel info feature #907

The PR makes possible to bind the vlan id with tunnel id (vxlan vni).

This was extracted from PR 1032

}

func (h *Handle) bridgeVlanModify(cmd int, link Link, vid, vidEnd uint16, pvid, untagged, self, master bool) error {
func (h *Handle) bridgeVlanModify(cmd int, link Link, vid, vidEnd uint16, tunid, tunidEnd uint32, pvid, untagged, self, master bool) error {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This list of parameters is becoming long.
Although it is an internal method, I am wondering whether we should pass a structure of parameters instead

@aboch
Copy link
Collaborator

aboch commented May 9, 2025

LGTM

@aboch aboch merged commit 06c2c01 into vishvananda:main May 9, 2025
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants