-
Notifications
You must be signed in to change notification settings - Fork 229
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
Cumulus NCLU vrf extraction #3501
Cumulus NCLU vrf extraction #3501
Conversation
arifogel
commented
Mar 28, 2019
- Harmonize naming restrictions and structure creation
- bonds
- interfaces
- vrfs
Codecov Report
@@ Coverage Diff @@
## master #3501 +/- ##
============================================
- Coverage 73.27% 73.26% -0.01%
- Complexity 24100 24124 +24
============================================
Files 2091 2092 +1
Lines 100531 100639 +108
Branches 12008 12025 +17
============================================
+ Hits 73666 73736 +70
- Misses 21484 21512 +28
- Partials 5381 5391 +10
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 17 of 17 files at r1.
Reviewable status: complete! all files reviewed, all discussions resolved
projects/batfish/src/test/java/org/batfish/grammar/cumulus_nclu/CumulusNcluGrammarTest.java, line 303 at r1 (raw file):
assertThat(ans, hasNumReferrers(filename, CumulusStructureType.VRF, "vrf1", 1)); assertThat(ans, hasNumReferrers(filename, CumulusStructureType.VRF, "vrf2", 1)); assertThat(ans, hasNumReferrers(filename, CumulusStructureType.VRF, "vrf3", 1));
could optionally add another vrf ref for one of these, so they aren't all 1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: complete! all files reviewed, all discussions resolved
projects/batfish/src/test/java/org/batfish/grammar/cumulus_nclu/CumulusNcluGrammarTest.java, line 303 at r1 (raw file):
Previously, sfraint (Spencer Fraint) wrote…
assertThat(ans, hasNumReferrers(filename, CumulusStructureType.VRF, "vrf1", 1)); assertThat(ans, hasNumReferrers(filename, CumulusStructureType.VRF, "vrf2", 1)); assertThat(ans, hasNumReferrers(filename, CumulusStructureType.VRF, "vrf3", 1));
could optionally add another vrf ref for one of these, so they aren't all 1
better now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 3 of 4 files at r2, 4 of 4 files at r3.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @arifogel)
projects/batfish/src/main/java/org/batfish/grammar/cumulus_nclu/CumulusNcluConfigurationBuilder.java, line 559 at r3 (raw file):
initInterfacesIfAbsent
Do any calls to this need to pass null
for usage
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 16 of 18 files reviewed, 1 unresolved discussion (waiting on @sfraint)
projects/batfish/src/main/java/org/batfish/grammar/cumulus_nclu/CumulusNcluConfigurationBuilder.java, line 559 at r3 (raw file):
Previously, sfraint (Spencer Fraint) wrote…
initInterfacesIfAbsent
Do any calls to this need to pass
null
forusage
?
Yes.
enterA_interface
does
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 2 of 2 files at r4.
Reviewable status: complete! all files reviewed, all discussions resolved