-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Proposed ECMP Next Hop CLI Show Cmd Output Format #659
Conversation
@@ -189,6 +189,29 @@ CLI commands: | |||
show fg nhg active-hops <fg-nhg-group-name> (shows which set of next-hops are active) | |||
``` | |||
|
|||
### 2.3.1 CLI 'show fg nhg hash-view' Output Format |
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.
This supports a fg-nhg-group-name argument as listed in above section?
-------------- ----------------------------------------------------------------------------------------------------------------------- | ||
200.200.200.1 ['88', '89', '102', '103', '100', '101', '99', '98', '91', '90', '93', '92', '95', '94', '97', '96'] | ||
200.200.200.2 ['41', '20', '21', '22', '23', '15', '17', '16', '19', '18', '46', '44', '45', '42', '43', '40'] | ||
200.200.200.3 ['64', '65', '66', '67', '68', '69', '77', '76', '75', '74', '73', '72', '71', '70', '78'] |
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.
How about 88, 89, 102, 103 without the array like syntax and without single quotes?
Next-Hop-Key Hash Bucket # | ||
-------------- ----------------------------------------------------------------------------------------------------------------------- | ||
200.200.200.1 ['88', '89', '102', '103', '100', '101', '99', '98', '91', '90', '93', '92', '95', '94', '97', '96'] | ||
200.200.200.2 ['41', '20', '21', '22', '23', '15', '17', '16', '19', '18', '46', '44', '45', '42', '43', '40'] |
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.
A sorted set of integer values for 'Hash Bucket #' may be better
@@ -189,6 +189,29 @@ CLI commands: | |||
show fg nhg active-hops <fg-nhg-group-name> (shows which set of next-hops are active) | |||
``` |
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.
Can we also add details about cli output for 'show fg nhg group'?
|
||
|
||
+-----------------------------+--------------------+------------+ | ||
| FG_NHG_PREFIX | Active Next Hops | Bank Ids | |
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.
Recommend changing Bank Ids
to Hash buckets
and NIT: Active Next Hops
to Next Hop
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.
Ok will adjust both PRs accordingly
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.
Looks good
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.
LGTM
- Test warm reboot to ensure there is no traffic disruption and ECMP groups are correctly applied post warm boot | ||
# SONiC Fine Grained ECMP | ||
# High Level Design Document | ||
### Rev 1.2 |
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.
Please can we update the rev number here to the latest 1.3.
Why does it appear that the whole file was modified, hope we can correct that since it helps with maintaining version history. |
1) show ecmp fg-nhg-active-hops <fg-nhg-group-name> 2) show ecmp fg-nhg-hash-view <fg-nhg-group-name> Also have added description about <fg-nhg-group-name> param
65d7028
to
56af004
Compare
Merge conflict between Rev1.2 and Rev1.3 also resolved
### 2.3.1 CLI 'show fgnhg hash-view <fg-nhg-group-name>' Output Format | ||
``` | ||
|
||
NOTE: <fg-nhg-group-name> is an optional parameter containing the user-defined alias of nhg ipv4 or nhg ipv6 |
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.
Suggest that we reword this to say NOTE: <fg-nhg-group-name> is an optional parameter containing the user-defined alias defined via FG_NHG entry
``` | ||
|
||
Show CLI commands of ```show fg nhg hash-view``` and ```show fg nhg active-hops``` are implemented as a view of the state db table described in section 2.2 | ||
### 2.3.1 CLI 'show fgnhg hash-view <fg-nhg-group-name>' Output Format |
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.
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.
Addressed and made some more changes within section description
Minor edit to section description as well
please add details in description |
Adding CLI command formats for
show fgnhg hash-view
show fgnhg active-hops