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

Adding vrrporch module #3315

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

vvbrcm
Copy link

@vvbrcm vvbrcm commented Oct 3, 2024

What I did
Adding vrrporch module
Why I did it
To listen to APPL_DB and program VRRP entities in SAI
How I verified it
UT
Details if related

@vvbrcm vvbrcm requested a review from prsunny as a code owner October 3, 2024 17:11
Copy link

linux-foundation-easycla bot commented Oct 3, 2024

CLA Signed


The committers listed above are authorized under a signed CLA.

@adyeung
Copy link

adyeung commented Oct 3, 2024

@philo-micas @madhupalu please help review

@madhupalu
Copy link

madhupalu commented Oct 3, 2024 via email


bool operator== (const vrrp_key_t& rhs) const
{
if (!(ip_addr == rhs.ip_addr) || port_name != rhs.port_name)
Copy link

Choose a reason for hiding this comment

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

Shouldn't "!(ip_addr == rhs.ip_addr)" be "(ip_addr != rhs.ip_addr)" similar to other case?

@@ -186,6 +186,8 @@ bool OrchDaemon::init()
gDirectory.set(vnet_rt_orch);
VRFOrch *vrf_orch = new VRFOrch(m_applDb, APP_VRF_TABLE_NAME, m_stateDb, STATE_VRF_OBJECT_TABLE_NAME);
gDirectory.set(vrf_orch);
VrrpOrch *vrrp_orch = new VrrpOrch(m_applDb, APP_VRRP_TABLE_NAME);
Copy link

Choose a reason for hiding this comment

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

APP_VRRP_TABLE_NAME name is not defined. It needs to be defined in common/schema.h.

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.

4 participants