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

bridge: Epair name for ^15 characters #820

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

tschettervictor
Copy link
Collaborator

@tschettervictor tschettervictor commented Jan 19, 2025

#786

Allow bridged-VNET interface to work when interface name exceeds 15 characters. This is done by using "epairX" as the name instead of "eXa_jailname" in such cases.

Testing (all with bridged VNET, nothing else should be affected)

  1. Create jail called test, rename to test1, validate jail.conf, rc.conf, and networking

  2. Create jail called test, rename to testtesttesttest, validate jail.conf, rc.conf, and networking

  3. Create jail called testtesttesttest, rename to test1, validate jail.conf, rc.conf, and networking

  4. Create jail called testtesttesttest, rename to testing12345678, validate jail.conf, rc.conf, and networking

The purpose of the above is to validate all use cases (short name to short and long name, and long name to short and long name)

  1. Do all of the above with "clone" also.

You should find that anytime the new name exceeds 15 characters (plus the interface prefix of eXa_) it will be named "epairXa epairXb" but anytime is is shorter, the current default naming applies.

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.

1 participant