-
Notifications
You must be signed in to change notification settings - Fork 229
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
EIGRP: add metric version and plumb throughout (#6532)
Different implementations of EIGRP compute the cost with greater and lesser degrees of precision. Add a setting to each EIGRP process to indicate which cost implementation it uses, and add the classic metric computations for NX-OS.
- Loading branch information
Showing
25 changed files
with
293 additions
and
75 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
13 changes: 13 additions & 0 deletions
13
...batfish-common-protocol/src/main/java/org/batfish/datamodel/eigrp/EigrpMetricVersion.java
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package org.batfish.datamodel.eigrp; | ||
|
||
/** | ||
* Identifies how to summarize an {@link EigrpMetric} as a single value. | ||
* | ||
* <p>Is implementation-dependent. E.g., IOS-XE uses V1 and NX-OS uses V2. | ||
*/ | ||
public enum EigrpMetricVersion { | ||
/** IOS-XE -like. */ | ||
V1, | ||
/** NX-OS -like. Higher precision than IOS-XE. */ | ||
V2, | ||
} |
Oops, something went wrong.