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
IOS:Advertise ConnectedRoute when redistributing between different EIGRP #8590
base: master
Are you sure you want to change the base?
Conversation
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: 0 of 7 files reviewed, 1 unresolved discussion (waiting on @NobutakaNiiya)
projects/batfish-common-protocol/src/main/java/org/batfish/datamodel/ConnectedRoute.java
line 22 at r1 (raw file):
public final class ConnectedRoute extends AbstractRoute { static final String PROP_EIGRP_METRIC = "eigrp-metric";
Changing ConnectedRoute
to have EIGRP properties is a non-starter.
You need to make a different design to somehow enable the connected route to get these properties only when redistributed into EIGRP.
One place to look might be something like the ConnectedRouteMetadata
and how that is used in the VI Model and Dataplane.
But I don't think that's precisely the right approach for the underlying problem -- because, e.g., Juniper has similar concepts where you can put BGP properties on static routes.
Need a more general solution.
@dhalperi By similar concept do you mean properties such as:
For Juniper's processing, should I use the following as a reference? batfish/projects/batfish/src/main/java/org/batfish/representation/juniper/JuniperConfiguration.java Lines 491 to 495 in 6d2267a
|
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #8590 +/- ##
=======================================
Coverage 71.86% 71.86%
=======================================
Files 3277 3277
Lines 168696 168725 +29
Branches 19686 19693 +7
=======================================
+ Hits 121226 121249 +23
- Misses 38196 38197 +1
- Partials 9274 9279 +5
|
@dhalperi |
Previously, dhalperi (Dan Halperin) wrote…
I thought of having a Map<String, EigrpInterfaceSettings> variable in the Configuration class, referencing the Juniper implementation, to store ASN information. If this approach is not good, could you please suggest another way to solve the problem? |
#8567
PR for the above issues.