Skip to content

[test_dynamic_acl] Include all upstream neighbors for t0-d18u8s4#18901

Merged
StormLiangMS merged 1 commit intosonic-net:masterfrom
Gfrom2016:fix_dynamic_acl_with_service_port
Jun 16, 2025
Merged

[test_dynamic_acl] Include all upstream neighbors for t0-d18u8s4#18901
StormLiangMS merged 1 commit intosonic-net:masterfrom
Gfrom2016:fix_dynamic_acl_with_service_port

Conversation

@Gfrom2016
Copy link
Copy Markdown
Contributor

Description of PR

Summary:
Fixes # (issue)
Fix generic_config_updater/test_dynamic_acl.py failure due to not including service ports in upstream neighbors.

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • New Test case
    • Skipped for non-supported platforms
  • Test case improvement

Back port request

  • 202411
  • 202505

Approach

What is the motivation for this PR?

To fix the generic_config_updater/test_dynamic_acl.py failure by adding service ports in upstream neighbors.

How did you do it?

Use get_all_upstream_neigh_type instead of get_upstream_neigh_type in setup.

How did you verify/test it?

Run test_dynamic_acl.py on topo t0-d18u8s4 and all passed.

generic_config_updater/test_dynamic_acl.py::test_gcu_acl_drop_rule_removal[default-Vlan1000] PASSED                                                                                                                                                      [100%]
generic_config_updater/test_dynamic_acl.py::test_gcu_acl_arp_rule_creation[IPV4-str4-7050cx3-c28s4-1-None-default-Vlan1000] PASSED                                                                                                                       [ 50%]
generic_config_updater/test_dynamic_acl.py::test_gcu_acl_arp_rule_creation[IPV6-str4-7050cx3-c28s4-1-None-default-Vlan1000] PASSED                                                                                                                       [100%]

Signed-off-by: zitingguo-ms [email protected]

@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@Gfrom2016 Gfrom2016 force-pushed the fix_dynamic_acl_with_service_port branch from 5cc676f to de62374 Compare June 16, 2025 06:34
@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Copy Markdown
Collaborator

@StormLiangMS StormLiangMS left a comment

Choose a reason for hiding this comment

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

LGTM

@StormLiangMS StormLiangMS merged commit 1f5456c into sonic-net:master Jun 16, 2025
13 checks passed
@mssonicbld
Copy link
Copy Markdown
Collaborator

@Gfrom2016 PR conflicts with 202411 branch

mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Jun 17, 2025
…ic-net#18901)

What is the motivation for this PR?
To fix the generic_config_updater/test_dynamic_acl.py failure by adding service ports in upstream neighbors.

How did you do it?
Use get_all_upstream_neigh_type instead of get_upstream_neigh_type in setup.

How did you verify/test it?
Run test_dynamic_acl.py on topo t0-d18u8s4 and all passed.

generic_config_updater/test_dynamic_acl.py::test_gcu_acl_drop_rule_removal[default-Vlan1000] PASSED                                                                                                                                                      [100%]
generic_config_updater/test_dynamic_acl.py::test_gcu_acl_arp_rule_creation[IPV4-str4-7050cx3-c28s4-1-None-default-Vlan1000] PASSED                                                                                                                       [ 50%]
generic_config_updater/test_dynamic_acl.py::test_gcu_acl_arp_rule_creation[IPV6-str4-7050cx3-c28s4-1-None-default-Vlan100
@mssonicbld
Copy link
Copy Markdown
Collaborator

Cherry-pick PR to 202505: #19036

mssonicbld pushed a commit that referenced this pull request Jun 17, 2025
)

What is the motivation for this PR?
To fix the generic_config_updater/test_dynamic_acl.py failure by adding service ports in upstream neighbors.

How did you do it?
Use get_all_upstream_neigh_type instead of get_upstream_neigh_type in setup.

How did you verify/test it?
Run test_dynamic_acl.py on topo t0-d18u8s4 and all passed.

generic_config_updater/test_dynamic_acl.py::test_gcu_acl_drop_rule_removal[default-Vlan1000] PASSED                                                                                                                                                      [100%]
generic_config_updater/test_dynamic_acl.py::test_gcu_acl_arp_rule_creation[IPV4-str4-7050cx3-c28s4-1-None-default-Vlan1000] PASSED                                                                                                                       [ 50%]
generic_config_updater/test_dynamic_acl.py::test_gcu_acl_arp_rule_creation[IPV6-str4-7050cx3-c28s4-1-None-default-Vlan100
StormLiangMS pushed a commit that referenced this pull request Jun 24, 2025
)

Summary:
Fixes # (issue)
This is a manual cherry-pick of #18901
nissampa pushed a commit to nissampa/sonic-mgmt_dpu_test that referenced this pull request Aug 7, 2025
…ic-net#18901)

What is the motivation for this PR?
To fix the generic_config_updater/test_dynamic_acl.py failure by adding service ports in upstream neighbors.

How did you do it?
Use get_all_upstream_neigh_type instead of get_upstream_neigh_type in setup.

How did you verify/test it?
Run test_dynamic_acl.py on topo t0-d18u8s4 and all passed.

generic_config_updater/test_dynamic_acl.py::test_gcu_acl_drop_rule_removal[default-Vlan1000] PASSED                                                                                                                                                      [100%]
generic_config_updater/test_dynamic_acl.py::test_gcu_acl_arp_rule_creation[IPV4-str4-7050cx3-c28s4-1-None-default-Vlan1000] PASSED                                                                                                                       [ 50%]
generic_config_updater/test_dynamic_acl.py::test_gcu_acl_arp_rule_creation[IPV6-str4-7050cx3-c28s4-1-None-default-Vlan100
opcoder0 pushed a commit to opcoder0/sonic-mgmt that referenced this pull request Dec 8, 2025
…ic-net#18901)

What is the motivation for this PR?
To fix the generic_config_updater/test_dynamic_acl.py failure by adding service ports in upstream neighbors.

How did you do it?
Use get_all_upstream_neigh_type instead of get_upstream_neigh_type in setup.

How did you verify/test it?
Run test_dynamic_acl.py on topo t0-d18u8s4 and all passed.

generic_config_updater/test_dynamic_acl.py::test_gcu_acl_drop_rule_removal[default-Vlan1000] PASSED                                                                                                                                                      [100%]
generic_config_updater/test_dynamic_acl.py::test_gcu_acl_arp_rule_creation[IPV4-str4-7050cx3-c28s4-1-None-default-Vlan1000] PASSED                                                                                                                       [ 50%]
generic_config_updater/test_dynamic_acl.py::test_gcu_acl_arp_rule_creation[IPV6-str4-7050cx3-c28s4-1-None-default-Vlan100

Signed-off-by: opcoder0 <[email protected]>
gshemesh2 pushed a commit to gshemesh2/sonic-mgmt that referenced this pull request Dec 16, 2025
…ic-net#18901)

What is the motivation for this PR?
To fix the generic_config_updater/test_dynamic_acl.py failure by adding service ports in upstream neighbors.

How did you do it?
Use get_all_upstream_neigh_type instead of get_upstream_neigh_type in setup.

How did you verify/test it?
Run test_dynamic_acl.py on topo t0-d18u8s4 and all passed.

generic_config_updater/test_dynamic_acl.py::test_gcu_acl_drop_rule_removal[default-Vlan1000] PASSED                                                                                                                                                      [100%]
generic_config_updater/test_dynamic_acl.py::test_gcu_acl_arp_rule_creation[IPV4-str4-7050cx3-c28s4-1-None-default-Vlan1000] PASSED                                                                                                                       [ 50%]
generic_config_updater/test_dynamic_acl.py::test_gcu_acl_arp_rule_creation[IPV6-str4-7050cx3-c28s4-1-None-default-Vlan100

Signed-off-by: Guy Shemesh <[email protected]>
AharonMalkin pushed a commit to AharonMalkin/sonic-mgmt that referenced this pull request Dec 16, 2025
…ic-net#18901)

What is the motivation for this PR?
To fix the generic_config_updater/test_dynamic_acl.py failure by adding service ports in upstream neighbors.

How did you do it?
Use get_all_upstream_neigh_type instead of get_upstream_neigh_type in setup.

How did you verify/test it?
Run test_dynamic_acl.py on topo t0-d18u8s4 and all passed.

generic_config_updater/test_dynamic_acl.py::test_gcu_acl_drop_rule_removal[default-Vlan1000] PASSED                                                                                                                                                      [100%]
generic_config_updater/test_dynamic_acl.py::test_gcu_acl_arp_rule_creation[IPV4-str4-7050cx3-c28s4-1-None-default-Vlan1000] PASSED                                                                                                                       [ 50%]
generic_config_updater/test_dynamic_acl.py::test_gcu_acl_arp_rule_creation[IPV6-str4-7050cx3-c28s4-1-None-default-Vlan100

Signed-off-by: Aharon Malkin <[email protected]>
gshemesh2 pushed a commit to gshemesh2/sonic-mgmt that referenced this pull request Dec 21, 2025
…ic-net#18901)

What is the motivation for this PR?
To fix the generic_config_updater/test_dynamic_acl.py failure by adding service ports in upstream neighbors.

How did you do it?
Use get_all_upstream_neigh_type instead of get_upstream_neigh_type in setup.

How did you verify/test it?
Run test_dynamic_acl.py on topo t0-d18u8s4 and all passed.

generic_config_updater/test_dynamic_acl.py::test_gcu_acl_drop_rule_removal[default-Vlan1000] PASSED                                                                                                                                                      [100%]
generic_config_updater/test_dynamic_acl.py::test_gcu_acl_arp_rule_creation[IPV4-str4-7050cx3-c28s4-1-None-default-Vlan1000] PASSED                                                                                                                       [ 50%]
generic_config_updater/test_dynamic_acl.py::test_gcu_acl_arp_rule_creation[IPV6-str4-7050cx3-c28s4-1-None-default-Vlan100

Signed-off-by: Guy Shemesh <[email protected]>
venu-nexthop pushed a commit to venu-nexthop/sonic-mgmt that referenced this pull request Jan 13, 2026
…ic-net#18901)

What is the motivation for this PR?
To fix the generic_config_updater/test_dynamic_acl.py failure by adding service ports in upstream neighbors.

How did you do it?
Use get_all_upstream_neigh_type instead of get_upstream_neigh_type in setup.

How did you verify/test it?
Run test_dynamic_acl.py on topo t0-d18u8s4 and all passed.

generic_config_updater/test_dynamic_acl.py::test_gcu_acl_drop_rule_removal[default-Vlan1000] PASSED                                                                                                                                                      [100%]
generic_config_updater/test_dynamic_acl.py::test_gcu_acl_arp_rule_creation[IPV4-str4-7050cx3-c28s4-1-None-default-Vlan1000] PASSED                                                                                                                       [ 50%]
generic_config_updater/test_dynamic_acl.py::test_gcu_acl_arp_rule_creation[IPV6-str4-7050cx3-c28s4-1-None-default-Vlan100
gshemesh2 pushed a commit to gshemesh2/sonic-mgmt that referenced this pull request Jan 26, 2026
…ic-net#18901)

What is the motivation for this PR?
To fix the generic_config_updater/test_dynamic_acl.py failure by adding service ports in upstream neighbors.

How did you do it?
Use get_all_upstream_neigh_type instead of get_upstream_neigh_type in setup.

How did you verify/test it?
Run test_dynamic_acl.py on topo t0-d18u8s4 and all passed.

generic_config_updater/test_dynamic_acl.py::test_gcu_acl_drop_rule_removal[default-Vlan1000] PASSED                                                                                                                                                      [100%]
generic_config_updater/test_dynamic_acl.py::test_gcu_acl_arp_rule_creation[IPV4-str4-7050cx3-c28s4-1-None-default-Vlan1000] PASSED                                                                                                                       [ 50%]
generic_config_updater/test_dynamic_acl.py::test_gcu_acl_arp_rule_creation[IPV6-str4-7050cx3-c28s4-1-None-default-Vlan100

Signed-off-by: Guy Shemesh <[email protected]>
ytzur1 pushed a commit to ytzur1/sonic-mgmt that referenced this pull request Feb 2, 2026
…ic-net#18901)

What is the motivation for this PR?
To fix the generic_config_updater/test_dynamic_acl.py failure by adding service ports in upstream neighbors.

How did you do it?
Use get_all_upstream_neigh_type instead of get_upstream_neigh_type in setup.

How did you verify/test it?
Run test_dynamic_acl.py on topo t0-d18u8s4 and all passed.

generic_config_updater/test_dynamic_acl.py::test_gcu_acl_drop_rule_removal[default-Vlan1000] PASSED                                                                                                                                                      [100%]
generic_config_updater/test_dynamic_acl.py::test_gcu_acl_arp_rule_creation[IPV4-str4-7050cx3-c28s4-1-None-default-Vlan1000] PASSED                                                                                                                       [ 50%]
generic_config_updater/test_dynamic_acl.py::test_gcu_acl_arp_rule_creation[IPV6-str4-7050cx3-c28s4-1-None-default-Vlan100

Signed-off-by: Yael Tzur <[email protected]>
venu-nexthop pushed a commit to venu-nexthop/sonic-mgmt that referenced this pull request Mar 27, 2026
…ic-net#18901)

What is the motivation for this PR?
To fix the generic_config_updater/test_dynamic_acl.py failure by adding service ports in upstream neighbors.

How did you do it?
Use get_all_upstream_neigh_type instead of get_upstream_neigh_type in setup.

How did you verify/test it?
Run test_dynamic_acl.py on topo t0-d18u8s4 and all passed.

generic_config_updater/test_dynamic_acl.py::test_gcu_acl_drop_rule_removal[default-Vlan1000] PASSED                                                                                                                                                      [100%]
generic_config_updater/test_dynamic_acl.py::test_gcu_acl_arp_rule_creation[IPV4-str4-7050cx3-c28s4-1-None-default-Vlan1000] PASSED                                                                                                                       [ 50%]
generic_config_updater/test_dynamic_acl.py::test_gcu_acl_arp_rule_creation[IPV6-str4-7050cx3-c28s4-1-None-default-Vlan100
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.

5 participants