-
Notifications
You must be signed in to change notification settings - Fork 389
T7485: ia-na ipv6 for PPPoE link #4693
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
Open
nvandamme
wants to merge
11
commits into
vyos:current
Choose a base branch
from
nvandamme:fix-pppoe-ipv-na
base: current
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.
+28
−3
Open
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
cda29a9
pppoe: T7485: no ia-na ipv6 for ppoe link
nvandamme caba7b8
Merge branch 'vyos:current' into fix-pppoe-ipv-na
nvandamme e53e782
pppoe: T7485: no ia-na ipv6 for ppoe link
nvandamme e523c0b
Merge branch 'vyos:current' into fix-ppoe-ipv-na-dev
nvandamme d81f8b0
Merge branch 'vyos:current' into fix-pppoe-ipv-na
nvandamme 8b2b328
Merge branch 'vyos:current' into fix-ppoe-ipv-na-dev
nvandamme 2151dd9
Merge branch 'vyos:current' into fix-pppoe-ipv-na
nvandamme 49917cb
pppoe: T7485: no ia-na ipv6 for ppoe link
nvandamme 4706543
pppoe: T7485: no ia-na ipv6 for ppoe link
nvandamme e0cefe0
Merge branch 'fix-ppoe-ipv-na-dev' into fix-pppoe-ipv-na
nvandamme d50124a
pppoe: T7485: no ia-na ipv6 for ppoe link
nvandamme 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 hidden or 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 hidden or 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
8 changes: 8 additions & 0 deletions
8
interface-definitions/include/interface/ipv6-address-dhcpv6.xml.i
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<!-- include start from interface/ipv6-address-dhcpv6.xml.i --> | ||
<leafNode name="dhcpv6"> | ||
<properties> | ||
<help>Enable acquisition of IPv6 address using DHCPv6</help> | ||
<valueless/> | ||
</properties> | ||
</leafNode> | ||
<!-- include end --> |
This file contains hidden or 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 hidden or 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.
Please try if it is possible to drop the entire line 8
Uh oh!
There was an error while loading. Please reload this page.
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.
(address is vyos_defined and 'dhcpv6' in address)
might be removed because the user explicitly expects to have an ipv6 address provided by dhcpv6 for common interfaces.the removal of
(ipv6 is vyos_defined and ipv6.address is vyos_defined and 'dhcpv6' in ipv6.address)
will always provide an IA_NA address to the user when dhcpv6-pd is setup on a pppoe interface: leaving this part ensure the user have the choice to request an ipv6 address for the pppoe interface with or without dhcpv6-pd and vice-versa.I very much prefer to leave this line (and line 29) as it is proposed on commit e0cefe0, because it is specifically handling these scenarios:
set interface type name address dhcpv6
set interface pppoe pppoeN ipv6 address dhcpv6
Note:
set interface type name dhcpv6-options temporary
is not explicit and might be confusing for pppoe's case, in my opinion.@c-po what do you think about it?