Fix dhcp_relay configuration in vrf TC's #6158
Closed
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 andrii-yosafatx.lozovyi@intel.com
Description of PR
Summary: Vrf test case generate and applies
vrf/vrf_config_db.j2
, after reboot with this generatedconfig_db.json
dhcp_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.j2
so thatdhcp_relay
could 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