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

[MirrorOrch]: Init the next hop ip with 0 instead of default constructor #953

Merged
merged 1 commit into from
Jun 27, 2019
Merged

[MirrorOrch]: Init the next hop ip with 0 instead of default constructor #953

merged 1 commit into from
Jun 27, 2019

Conversation

RichardWu-Hebut
Copy link
Contributor

          Otherwise, in the getgetNeighborInfo function, it will check whether
          the nexthop is zero, but it will return false according to
          IpAddress::isZero(), then it will try to query the
          neighbor orch about this invalid ip address.

Signed-off-by: Richard Wu wutong23@baidu.com

What I did

Why I did it

How I verified it

Details if related
In current implement, in the getgetNeighborInfo function, it will check whether the nexthop is zero, but it will return false according to IpAddress::isZero(), then it will try to query the neighbor orch about this invalid ip address.

              Otherwise, in the getgetNeighborInfo function, it will check whether
              the nexthop is zero, but it will return false according to
              IpAddress::isZero(), then it will try to query the
              neighbor orch about this invalid ip address.

Signed-off-by: Richard Wu <wutong23@baidu.com>
@stcheng stcheng self-requested a review June 27, 2019 01:57
@stcheng
Copy link
Contributor

stcheng commented Jun 27, 2019

thanks for fixing this

@stcheng
Copy link
Contributor

stcheng commented Jun 27, 2019

retest this please

@stcheng
Copy link
Contributor

stcheng commented Jun 27, 2019

test_warm_reboot.py::test_system_warmreboot_neighbor_syncup FAILED       [ 97%]

@stcheng stcheng merged commit def7ad4 into sonic-net:master Jun 27, 2019
@RichardWu-Hebut RichardWu-Hebut deleted the mirror_nexthop_issue branch June 28, 2019 01:47
yxieca pushed a commit that referenced this pull request Jul 19, 2019
…tor (#953)

    Otherwise, in the getgetNeighborInfo function, it will check whether
    the nexthop is zero, but it will return false according to
    IpAddress::isZero(), then it will try to query the
    neighbor orch about this invalid ip address.

Signed-off-by: Richard Wu <wutong23@baidu.com>
EdenGri pushed a commit to EdenGri/sonic-swss that referenced this pull request Feb 28, 2022
Add a new Bootloader abstraction.
This makes it easier to add bootloader specific behavior while keeping
the main logic identical.
It is also a step that will ease the introduction of secureboot which
relies on bootloader specific behaviors.

Shuffle code around to get rid of the hacky if/else all over the place.
There are now 3 bootloader classes
 - AbootBootloader
 - GrubBootloader
 - UbootBootloader

There was almost no logic change in any of the implementations.
Only the AbootBootloader saw some small improvements.
More will follow in subsequent changes.
EdenGri pushed a commit to EdenGri/sonic-swss that referenced this pull request Feb 28, 2022
The import re line was removed from the file in sonic-net#953. However, it is still referenced in the update_sonic_environment() function. Adding it back.
oleksandrivantsiv pushed a commit to oleksandrivantsiv/sonic-swss that referenced this pull request Mar 1, 2023
Added support for ACL counters to Flex Counter Infrastructure.
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.

3 participants