forked from sonic-net/sonic-buildimage
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[orchagent]: Add query of NUMBER_OF_ECMP_GROUPS in routeorch (sonic-n…
…et#194) * [orchagent]: Add query of NUMBER_OF_ECMP_GROUPS in routeorch Instead of using the default value of 128, query the switch first to get the NUMBER_OF_ECMP_GROUPS and use this value as the maximum supported number of next hop groups. If the query fails, the default value of 128 will be used. Also fix the corner case by changing '>' to '>=' when checking the number of next hop groups.
- Loading branch information
Shuotian Cheng
authored
Apr 19, 2017
1 parent
b697f3b
commit 5ae03ed
Showing
2 changed files
with
42 additions
and
7 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