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

Multiple fixes for policy filters and add support to filter by protocol #413

Merged
merged 5 commits into from
Jan 16, 2023

Conversation

BarbarossaTM
Copy link
Member

@BarbarossaTM BarbarossaTM commented Jan 14, 2023

No description provided.

@BarbarossaTM BarbarossaTM added type:bug-fix Something isn't working type:feature a new feature request labels Jan 14, 2023
@BarbarossaTM BarbarossaTM self-assigned this Jan 14, 2023
@codecov-commenter
Copy link

codecov-commenter commented Jan 15, 2023

Codecov Report

Merging #413 (3a5ebde) into master (15e330c) will decrease coverage by 0.05%.
The diff coverage is 43.47%.

@@            Coverage Diff             @@
##           master     #413      +/-   ##
==========================================
- Coverage   55.31%   55.25%   -0.06%     
==========================================
  Files         146      146              
  Lines        7705     7722      +17     
==========================================
+ Hits         4262     4267       +5     
- Misses       3241     3252      +11     
- Partials      202      203       +1     
Flag Coverage Δ
unittests 55.25% <43.47%> (-0.06%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
route/bgp_path.go 48.86% <0.00%> (-0.63%) ⬇️
route/static.go 64.28% <33.33%> (-4.95%) ⬇️
routingtable/filter/term_condition.go 73.07% <44.44%> (-6.47%) ⬇️
routingtable/filter/filter.go 57.89% <80.00%> (+4.95%) ⬆️
routingtable/filter/term.go 66.66% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

  BGPPath.Copy() previously did not copy the BGP path attributes associated
  with a BGPPath leading to changes made to BGP attributes further down the
  propagation chain overwriting path attributes in routing tables higher up
  the chain.

Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
  Filters did not work correctly when setting path attributes, and any changes
  to the paths were be lost.

Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
@BarbarossaTM BarbarossaTM merged commit 606c737 into bio-routing:master Jan 16, 2023
@BarbarossaTM BarbarossaTM deleted the max/filterfixes branch January 16, 2023 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug-fix Something isn't working type:feature a new feature request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants