Repository navigation
junos_policy_color: un-sickbay now that color and color2 are modeled - #256
Merged
dhalperi merged 1 commit intoNov 19, 2026
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #256 +/- ##
=======================================
Coverage 82.91% 82.91%
=======================================
Files 97 97
Lines 4536 4536
=======================================
Hits 3761 3761
Misses 775 775
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
anothermattbrown
force-pushed
the
junos-policy-color-unsickbay
branch
from
November 14, 2026 00:24
f031f5d to
4188883
Compare
dhalperi
pushed a commit
to batfish/batfish
that referenced
this pull request
Nov 16, 2026
Fixes the policy part of #10488. Before, a term with `from color` made the data plane computation fail, `from color2` was not parsed, and `then color` was ignored. `then color add`, `subtract` and `apply`, and a static route's `color`/`color2`, remain unsupported. Lab: batfish/lab-validation#254 (`junos_policy_color`, vJunos 26.2) is sickbayed on #10488; with this PR all its tests pass, and batfish/lab-validation#256 removes the sickbay. batfish/lab-validation#255 (`junos_bgp_color_selection`) still passes: colors do not affect selection.
anothermattbrown
force-pushed
the
junos-policy-color-unsickbay
branch
from
November 18, 2026 19:10
4188883 to
ac77574
Compare
batfish/batfish#10490 (with #10489) converts Junos color and color2 and fixes the data plane failure from `from color` (batfish/batfish#10488); every test passes with it.
anothermattbrown
force-pushed
the
junos-policy-color-unsickbay
branch
from
November 19, 2026 20:24
ac77574 to
9bcb7f0
Compare
dhalperi
enabled auto-merge (squash)
November 19, 2026 20:32
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Removes the
junos_policy_colorsickbay now that batfish/batfish#10490 (with #10489) has landed: it converts Junoscolorandcolor2and fixes the data plane failure fromfrom color(batfish/batfish#10488).The entries were
dont_run, so they never XPASS on their own; this removes them explicitly. Against current batfish master: 19 passed, 0 failed.