Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor neighbor_advertiser script and use mock for testing #1427

Merged
merged 2 commits into from
Feb 19, 2021

Conversation

sumukhatv
Copy link
Contributor

What I did

Refactored code in neighbor_advertiser script and used mock module to unittesting

How I did it

How to verify it

The neighbor_advertiser test will verify it.

Previous command output (if the output of a command-line utility has changed)

New command output (if the output of a command-line utility has changed)

@sumukhatv sumukhatv changed the title Refactor code and use mock for testing Refactor neighbor_advertiser script and use mock for testing Feb 11, 2021
tests/neighbor_advertiser_test.py Outdated Show resolved Hide resolved
@prsunny prsunny merged commit 3b04710 into sonic-net:master Feb 19, 2021
@sumukhatv sumukhatv deleted the refactor_neighbor_adv branch February 19, 2021 00:45
@abdosi
Copy link
Contributor

abdosi commented Feb 19, 2021

@sumukhatv please create PR for 201911.

@prsunny

jleveque added a commit that referenced this pull request Feb 19, 2021
Now that #1427 has merged, we should be able to successfully run all unit tests in a non-privileged slave container.
anand-kumar-subramanian pushed a commit to anand-kumar-subramanian/sonic-utilities that referenced this pull request Mar 2, 2021
…et#1427)

Refactored code in neighbor_advertiser script and used mock module to unittesting
anand-kumar-subramanian pushed a commit to anand-kumar-subramanian/sonic-utilities that referenced this pull request Mar 2, 2021
…et#1446)

Now that sonic-net#1427 has merged, we should be able to successfully run all unit tests in a non-privileged slave container.
xumia pushed a commit to xumia/sonic-utilities that referenced this pull request Jun 28, 2021
…et#1446)

Now that sonic-net#1427 has merged, we should be able to successfully run all unit tests in a non-privileged slave container.
@qiluo-msft
Copy link
Contributor

This commit could not be cleanly cherry-pick to 202012. Please submit another PR.

prsunny pushed a commit that referenced this pull request Sep 15, 2021
Modify the neighbor_advertiser script to advertise ipv6 link local address
Master PRs:
*Advertise ipv6 link local address #1402
*Refactor neighbor_advertiser script and use mock for testing #1427
stepanblyschak pushed a commit to stepanblyschak/sonic-utilities that referenced this pull request Apr 28, 2022
Avoid adding loopback interface (ip link add) when setting nat zone on
loopback interface (sonic-net#1434)
    [acl] Remove Ethertype from L3V6 qualifiers (sonic-net#1433)
    Sflow fixes during DEL processing (sonic-net#1427)
    Fix #3971 by skipping create-only SAI attributes when modifying
    buffer pools or profiles in orchagent (sonic-net#1430)
    Fix issue: bufferorch only pass the first attribute to sai when
    setting attribute (sonic-net#1442)

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
malletvapid23 added a commit to malletvapid23/Sonic-Utility that referenced this pull request Aug 3, 2023
Now that sonic-net/sonic-utilities#1427 has merged, we should be able to successfully run all unit tests in a non-privileged slave container.
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