Fix dhcp_relay configuration in vrf TC's#6158
Closed
AndriiLozovyi wants to merge 1 commit intosonic-net:masterfrom
Closed
Fix dhcp_relay configuration in vrf TC's#6158AndriiLozovyi wants to merge 1 commit intosonic-net:masterfrom
AndriiLozovyi wants to merge 1 commit intosonic-net:masterfrom
Conversation
Signed-off-by: Andrii-Yosafat Lozovyi <[email protected]>
Contributor
Author
Collaborator
|
@kellyyeh I thought we are no longer using the vlan table for dhcp configurations? |
Contributor
|
On master image, dhcpv6 relay is reading from DHCP_RELAY table. 202012 had discrepancy and will be fixed after this PR sonic-net/sonic-buildimage#11794 Dhcpv6 ip helper should be read from DHCP_RELAY table only |
Contributor
Author
|
@yxieca Default |
Contributor
|
@AndriiLozovyi sonic-net/sonic-buildimage#11794 This PR fixes dhcp relay docker to read from DHCP_RELAY table instead of VLAN table |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Signed-off-by: Andrii-Yosafat Lozovyi [email protected]
Description of PR
Summary: Vrf test case generate and applies
vrf/vrf_config_db.j2, after reboot with this generatedconfig_db.jsondhcp_relay container is down and cant get up. This leads to fail of vrf TC's on loganalyzer due to below error. It looks like config_db missed to add dhcp_server under VLAN field. With this PR dhcp_relay is getting up as expected.Fixes # (issue)
Type of change
Back port request
Approach
What is the motivation for this PR?
Update
vrf_config_db.j2so thatdhcp_relaycould start up after config is applied.How did you do it?
How did you verify/test it?
Run
vrf/test_vrf.py, after config was applied dhcp_relay was able to start and was up.Any platform specific information?
Supported testbed topology if it's a new test case?
Documentation