-
Notifications
You must be signed in to change notification settings - Fork 19
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
Allow to install an host with IPv6 management interface #2
Open
benjamreis
wants to merge
19
commits into
xenserver:master
Choose a base branch
from
xcp-ng:allow-ipv6-install
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
93fc620
Write `manual_nameservers` and `domain` for IPv6 too
benjamreis 685a345
NetInterface inherits from Object
benjamreis eed61bb
Add `NetInterfaceV6` to init an IPv6 interface
benjamreis 2ba2428
isStatic helpers by IP family
benjamreis 44d0e58
Use `socket.inet_pton` to validate IP
benjamreis 6f67e14
Take IPv6 addresses into account to determine an interface is up
benjamreis 1210931
Enable IPv6 in the host when it is configured
benjamreis e70aa28
Write IPv6 conf files for the installer
benjamreis 7e542f1
Disable IP config textfield for autoconf
benjamreis e46ced8
Add a display_error helper for wainting network
benjamreis dea0e44
Wait a bit for autoconf when checking for network
benjamreis 681768f
Put IP config info collection in a helper
benjamreis 81c0926
Adapt `get_iface_configuration` helper for IPv6
benjamreis 578c7c0
Add IP family selection in TUI
benjamreis 6b5f1eb
`waitUntilUp` also wait for IPv6 if statically configured
benjamreis 2d680c0
Hide dynamic buttons in tui when in static mode
benjamreis 14b75e3
Keep IPv6 enablement/disablement upon upgrades
benjamreis 7add5d1
Write resolver file if dns or searchdomain have specified
benjamreis 67389d6
Allow to set manual DNS in TUI for autoconf
benjamreis File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This code is equivalent to the
arping
code above but for IPv6 asarping
only supports IPv4.Please note this requires to have
ndisc6
installed in host-installer image.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this reflected in the corresponding RPM spec file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As far as I know your installer spec file repository is not public so I can't provide a PR to add
ndisc6
which is why I commented my code for someone with access to reflect the change. :)