Skip to content

[cfggen] remove get_port_config_file_name helper function#5253

Closed
vdahiya12 wants to merge 1 commit intosonic-net:masterfrom
vdahiya12:clean_get_port_config_file_name
Closed

[cfggen] remove get_port_config_file_name helper function#5253
vdahiya12 wants to merge 1 commit intosonic-net:masterfrom
vdahiya12:clean_get_port_config_file_name

Conversation

@vdahiya12
Copy link
Copy Markdown
Contributor

this PR addresses replacing get_port_config_file_name
function with device_info.get_path_to_port_config_file().
This is part of a larger clean up of functions which return
the port_config_file which reside outside of
sonic_py_common packages. This is motivated due to
redundancy of code as well as making it easier to change
the default behaviour of helper utility function returning
port_config_file unified in just sonic_py_common package
and in one place.

Signed-off-by: vaibhav-dahiya vdahiya@microsoft.com

Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com>
@jleveque
Copy link
Copy Markdown
Contributor

jleveque commented Aug 26, 2020

Check builds will fail because the sonic-utilities submodule head is still referencing this function. Please open another PR to advance the sonic-utilities submodule to include your PR sonic-net/sonic-utilities#1069. Once that is merged, we can re-run the tests.

@vdahiya12
Copy link
Copy Markdown
Contributor Author

closing this , code inside #5264

@vdahiya12 vdahiya12 closed this Sep 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants