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

Juniper: add support for more characters in GroupWildcard #5956

Merged
merged 1 commit into from Jul 2, 2020

Conversation

dhalperi
Copy link
Member

@dhalperi dhalperi commented Jul 2, 2020

Juniper example:

interfaces {
"<ge-1/2/[5-8]>" {
description "These interfaces reserved for Customer ABC";
}
}

Siva example on Batfish SLack: dd.d[dd]d../d[dd] where d is a digit

Juniper example:

  interfaces {
    "<ge-1/2/[5-8]>" {
      description "These interfaces reserved for Customer ABC";
    }
  }

Siva example on Batfish SLack: dd.d[dd]d.*.*/d[dd] where d is a digit
@dhalperi dhalperi requested a review from progwriter July 2, 2020 00:32
@batfish-bot
Copy link

This change is Reviewable

@codecov
Copy link

codecov bot commented Jul 2, 2020

Codecov Report

Merging #5956 into master will decrease coverage by 0.00%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master    #5956      +/-   ##
============================================
- Coverage     72.16%   72.15%   -0.01%     
+ Complexity    34254    34247       -7     
============================================
  Files          2810     2810              
  Lines        140665   140668       +3     
  Branches      16909    16909              
============================================
- Hits         101514   101505       -9     
- Misses        31245    31253       +8     
- Partials       7906     7910       +4     
Impacted Files Coverage Δ Complexity Δ
.../batfish/representation/juniper/GroupWildcard.java 22.64% <0.00%> (-0.44%) 3.00 <0.00> (ø)
...c/main/java/org/batfish/dataplane/rib/RibTree.java 89.58% <0.00%> (-4.17%) 27.00% <0.00%> (-1.00%)
...col/src/main/java/org/batfish/role/InferRoles.java 89.54% <0.00%> (-1.37%) 50.00% <0.00%> (-1.00%)
...src/main/java/org/batfish/coordinator/PoolMgr.java 62.92% <0.00%> (-1.13%) 15.00% <0.00%> (-1.00%)
...batfish/src/main/java/org/batfish/main/Driver.java 48.00% <0.00%> (-0.40%) 21.00% <0.00%> (ø%)
...a/org/batfish/representation/aws/LoadBalancer.java 82.82% <0.00%> (-0.34%) 64.00% <0.00%> (-1.00%)
...java/org/batfish/dataplane/ibdp/VirtualRouter.java 88.04% <0.00%> (-0.32%) 262.00% <0.00%> (-2.00%)
.../java/org/batfish/specifier/ToSpecifierString.java 91.66% <0.00%> (+1.66%) 5.00% <0.00%> (ø%)

Copy link
Contributor

@progwriter progwriter left a comment

Choose a reason for hiding this comment

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

surprised diff coverage is 0, but :lgtm:

Reviewed 2 of 2 files at r1.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@dhalperi dhalperi merged commit 24f4b68 into batfish:master Jul 2, 2020
@dhalperi dhalperi deleted the juniper-wildcard branch July 2, 2020 03:46
kylehoferamzn pushed a commit to kylehoferamzn/batfish that referenced this pull request Jul 21, 2020
Juniper example:

  interfaces {
    "<ge-1/2/[5-8]>" {
      description "These interfaces reserved for Customer ABC";
    }
  }

Siva example on Batfish Slack: dd.d[dd]d.*.*/d[dd] where d is a digit
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.

None yet

3 participants