Skip to content

Modified clean up section to include acldel to tmp folder#612

Closed
Anandaraj-Maharajan wants to merge 5 commits intosonic-net:masterfrom
Anandaraj-Maharajan:aclreload
Closed

Modified clean up section to include acldel to tmp folder#612
Anandaraj-Maharajan wants to merge 5 commits intosonic-net:masterfrom
Anandaraj-Maharajan:aclreload

Conversation

@Anandaraj-Maharajan
Copy link
Copy Markdown
Contributor

Modified the clean up section to copy "acltb_test_rules-del.json" file in clean up section so that after reload, the acl rules get removed without any issue.

Description of PR

Fixes # (issue)

Type of change

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

Approach

How did you do it?
How did you verify/test it?
Any platform specific information?
Supported testbed topology if it's a new test case?

Documentation

Anandaraj-Maharajan and others added 5 commits March 1, 2018 07:34
This checkin adds changes to perform save and reload test case for ACL rules
Using 'acl-loader delete' deleted all the ACLs including snmp/vty/data/erspan etc. However using 'acl-loader update <empty file> deletes only the dataacl. So reverting back to old change in always section.
After reload contents in /tmp folder will get removed. Adding changes to copy acl del file to clean up after reload
Added lines to copy acl del json file after reload
@Anandaraj-Maharajan Anandaraj-Maharajan deleted the aclreload branch May 11, 2018 23:34
sdszhang pushed a commit to sdszhang/sonic-mgmt that referenced this pull request Aug 2, 2025
…ch requests in test_restapi_vxlan_ecmp (sonic-net#612)

<!--
Please make sure you've read and understood our contributing guidelines;
https://github.com/sonic-net/SONiC/blob/gh-pages/CONTRIBUTING.md

Please provide following information to help code review process a bit easier:
-->
### Description of PR
<!--
- Please include a summary of the change and which issue is fixed.
- Please also include relevant motivation and context. Where should reviewer start? background context?
- List any dependencies that are required for this change.
-->
Since the PATCH request we call in `patch_config_vrouter_vrf_id_routes` is async, we can't verify the result right after we receive a response.
Because of that, I've added a check of existing route via CLI before performing a GET request to get the list of routes from restapi.

Summary:
Fixes # (issue)

### Type of change

<!--
- Fill x for your type of change.
- e.g.
- [x] Bug fix
-->

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

### Back port request
- [ ] 202205
- [ ] 202305
- [ ] 202311
- [ ] 202405
- [ ] 202411
- [x] 202505

### Approach
#### What is the motivation for this PR?
Handle async behavior of PATCH request of restapi in the test

#### How did you do it?
Verified the change is applied via CLI before performing the GET request

#### How did you verify/test it?
Ran the test in a loop

#### Any platform specific information?

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

### Documentation
<!--
(If it's a new feature, new test case)
Did you update documentation/Wiki relevant to your implementation?
Link to the wiki page?
-->
kazinator-arista pushed a commit to kazinator-arista/sonic-mgmt that referenced this pull request Mar 4, 2026
Submodule src/sonic-utilities 7460f5c..4f72e14:
  > [config] Call 'systemctl reset-failed' before 'systemctl restart' when restarting services (sonic-net#607)
  > [neighbor advertiser] try getting vlan addresses from o.s first (sonic-net#613)
  > [neighbor_advertiser]: Add V6 support to mirror ICMPV6 packets (sonic-net#612)

Submodule src/sonic-swss 384c21e..46bc1f4:
  > [portsyncd]: Add default catch block in portsyncd (sonic-net#1033)

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
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.

1 participant