fix the wrong key in DPU address get from DHCP_SERVER_IPV4_PORT table Issue #288 #289
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.
Fixes #288
Why I did it
gnmi_set.go:203] Set failed: rpc error: code = NotFound desc = Get ZMQ client failed: Get ZMQ address failed: Get DPU address failed: Can't read bridge-midplane|dpu1:ips from DHCP_SERVER_IPV4_PORT table
How I did it
Modified the key from ips to ips@ as expected in the table
How to verify it
Executed my gnmi client and was able to retrieve the entry successfully
Which release branch to backport (provide reason below if selected)
Description for the changelog
Modified the key used for DPU address retrieval by gnmi_set from DHCP_SERVER_IPV4_PORT table
Link to config_db schema for YANG module changes
N/A
A picture of a cute animal (not mandatory but encouraged)