Skip to content

[python3]migrate dir_bcast_test and fdb scripts to python3#5540

Merged
ZhaohuiS merged 1 commit intosonic-net:masterfrom
ZhaohuiS:python3_migration_fdb_dir
May 18, 2022
Merged

[python3]migrate dir_bcast_test and fdb scripts to python3#5540
ZhaohuiS merged 1 commit intosonic-net:masterfrom
ZhaohuiS:python3_migration_fdb_dir

Conversation

@ZhaohuiS
Copy link
Contributor

Description of PR

Summary:
migrate the following scripts to python3, this PR can't be merged until #5534 is merged which has dependency of ptf_runner.py

ansible/roles/test/files/ptftests/dir_bcast_test.py
ansible/roles/test/files/ptftests/fdb.py
ansible/roles/test/files/ptftests/fdb_mac_expire_test.py
ansible/roles/test/files/ptftests/fdb_test.py

Signed-off-by: Zhaohui Sun [email protected]

Type of change

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

Back port request

  • 201911
  • 202012

Approach

What is the motivation for this PR?

migrate dir_bcast_test and fdb scripts to python3

How did you do it?

Update test cases accordingly.

tests/fdb/test_fdb_mac_expire.py
tests/ipfwd/test_dir_bcast.py

How did you verify/test it?

run tests/fdb/test_fdb_mac_expire.py and tests/ipfwd/test_dir_bcast.py

Any platform specific information?

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

Documentation

@ZhaohuiS ZhaohuiS requested a review from a team as a code owner April 20, 2022 09:38
@lgtm-com
Copy link

lgtm-com bot commented Apr 20, 2022

This pull request introduces 1 alert when merging e158572 into 3212c2f - view on LGTM.com

new alerts:

  • 1 for Wrong name for an argument in a call

@ZhaohuiS ZhaohuiS changed the title migrate dir_bcast_test and fdb scripts to python3 [python3]migrate dir_bcast_test and fdb scripts to python3 Apr 21, 2022
@ZhaohuiS
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@ZhaohuiS
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@ZhaohuiS ZhaohuiS merged commit 2c6d38a into sonic-net:master May 18, 2022
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.

2 participants