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

Fix route action protocol #949

Merged
merged 3 commits into from
May 23, 2024
Merged

Fix route action protocol #949

merged 3 commits into from
May 23, 2024

Conversation

AndryNick98
Copy link
Collaborator

Description

Normalizing action and protocol in routes.

  • if protocol=direct, it needs to be parsed as connected
  • if action=local, it needs to ba parsed as forward

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Double Check

  • I have read the comments and followed the CONTRIBUTING.md.
  • I have explained my PR according to the information in the comments or in a linked issue.
  • My PR source branch is created from the develop branch.
  • My PR targets the develop branch.
  • All my commits have --signoff applied

ddutt and others added 3 commits May 23, 2024 13:16
The existing poller for routes doesn't normalize protocol correctly
across vendors. so, this patch
makes connected routes be "connected", and not "direct" (Cisco and
Junos).

Signed-off-by: Dinesh Dutt <[email protected]>
The poller didn't normalize protocol and action
correctly. This patch corrects them for existing data.

Signed-off-by: Dinesh Dutt <[email protected]>
@AndryNick98 AndryNick98 force-pushed the fix-route-action-protocol branch from 6f48982 to 9db881d Compare May 23, 2024 11:17
@ddutt ddutt merged commit 9ffb095 into develop May 23, 2024
13 checks passed
@ddutt ddutt deleted the fix-route-action-protocol branch May 23, 2024 21:46
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