Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement knob to always compare med
Always compare med even if paths have an empty AS path or are learnt from different neighbor ASes if the knob is set. Change-Id: Ia831ae01ec7deb1359e9842a0220264923788fa3 Closes-Bug: 1680005
- Loading branch information
Nischal Sheth
committed
Jun 10, 2017
1 parent
2de3241
commit ccfd6d7
Showing
14 changed files
with
209 additions
and
6 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
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
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 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<config> | ||
<routing-instance name='default-domain:default-project:ip-fabric:__default__'> | ||
<bgp-router name='local'> | ||
<address>127.0.0.1</address> | ||
<autonomous-system>1</autonomous-system> | ||
</bgp-router> | ||
<bgp-router name='remote'> | ||
<address>127.0.0.100</address> | ||
<autonomous-system>1</autonomous-system> | ||
</bgp-router> | ||
</routing-instance> | ||
</config> |
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,16 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<config> | ||
<global-system-config> | ||
<bgp-always-compare-med>true</bgp-always-compare-med> | ||
</global-system-config> | ||
<routing-instance name='default-domain:default-project:ip-fabric:__default__'> | ||
<bgp-router name='local'> | ||
<address>127.0.0.1</address> | ||
<autonomous-system>1</autonomous-system> | ||
</bgp-router> | ||
<bgp-router name='remote'> | ||
<address>127.0.0.100</address> | ||
<autonomous-system>1</autonomous-system> | ||
</bgp-router> | ||
</routing-instance> | ||
</config> |
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,16 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<config> | ||
<global-system-config> | ||
<bgp-always-compare-med>false</bgp-always-compare-med> | ||
</global-system-config> | ||
<routing-instance name='default-domain:default-project:ip-fabric:__default__'> | ||
<bgp-router name='local'> | ||
<address>127.0.0.1</address> | ||
<autonomous-system>1</autonomous-system> | ||
</bgp-router> | ||
<bgp-router name='remote'> | ||
<address>127.0.0.100</address> | ||
<autonomous-system>1</autonomous-system> | ||
</bgp-router> | ||
</routing-instance> | ||
</config> |
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