Skip to content

Refactor function get_iface_ip to common location#15893

Merged
wangxin merged 1 commit intosonic-net:masterfrom
yutongzhang-microsoft:yutongzhang/move_to_common
Dec 5, 2024
Merged

Refactor function get_iface_ip to common location#15893
wangxin merged 1 commit intosonic-net:masterfrom
yutongzhang-microsoft:yutongzhang/move_to_common

Conversation

@yutongzhang-microsoft
Copy link
Copy Markdown
Contributor

Description of PR

In PR #15619, a cross-feature dependency was introduced in tests/acl/test_acl.py due to the usage of the get_iface_ip function. To address this issue and streamline the code structure, we have refactored the function and moved it to a common location.

Summary:
Fixes # (issue)

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • Test case(new/improvement)

Back port request

  • 202012
  • 202205
  • 202305
  • 202311
  • 202405

Approach

What is the motivation for this PR?

In PR #15619, a cross-feature dependency was introduced in tests/acl/test_acl.py due to the usage of the get_iface_ip function. To address this issue and streamline the code structure, we have refactored the function and moved it to a common location.

How did you do it?

To address this issue and streamline the code structure, we have refactored the function and moved it to a common location.

How did you verify/test it?

Any platform specific information?

Supported testbed topology if it's a new test case?

Documentation

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 3 out of 3 changed files in this pull request and generated no suggestions.

@wangxin wangxin merged commit beb77a6 into sonic-net:master Dec 5, 2024
@yutongzhang-microsoft yutongzhang-microsoft deleted the yutongzhang/move_to_common branch December 5, 2024 06:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants