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

Vlan support #2084

Merged
merged 9 commits into from
Oct 19, 2023
Merged

Vlan support #2084

merged 9 commits into from
Oct 19, 2023

Conversation

muhamadazmy
Copy link
Member

Add support for new boot params

  • vlan:priv (optional) sets the private subnet vlan
  • vlan:pub (optional) sets the public subnet vlan (only in single node setup)

Please read docs for more details.

Prob on configurable vlan, later on we need to also configure
the privae bridge (zos) to use that configured vlan
- pub vlan is supported in both single and dual nic setup
- delete some dead code
Also disable support for dual nic for now
return "", false
}

return all[len(all)-1], true
Copy link
Collaborator

@xmonader xmonader Oct 19, 2023

Choose a reason for hiding this comment

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

does this mean it returns the last item in case of the item passed multiple times? if so, let's please document the behavior

Copy link
Member Author

Choose a reason for hiding this comment

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

yes, if the same param is provided multiple times via a cmdline it's overridden by the last value provided. This way u can override hardcoded params in the image with whatever values u provide during booting

xmonader
xmonader previously approved these changes Oct 19, 2023
@muhamadazmy muhamadazmy merged commit 066371c into main Oct 19, 2023
2 checks passed
@muhamadazmy muhamadazmy deleted the vlan-support branch October 19, 2023 10:35
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