Skip to content

Proposed ECMP Next Hop CLI Show Cmd Output Format - #659

Merged
abdosi merged 7 commits into
sonic-net:masterfrom
kktheballer:master
Jan 20, 2021
Merged

abdosi merged 7 commits into
sonic-net:masterfrom
kktheballer:master

Conversation

@kktheballer

@kktheballer kktheballer commented Aug 11, 2020 •

Copy link
Copy Markdown
Contributor

Adding CLI command formats for

show fgnhg hash-view
show fgnhg active-hops

Comment thread doc/ecmp/fine_grained_next_hop_hld.md Outdated

Copy link
Copy Markdown
Contributor

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?

Comment thread doc/ecmp/fine_grained_next_hop_hld.md Outdated

Copy link
Copy Markdown
Contributor

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?

Comment thread doc/ecmp/fine_grained_next_hop_hld.md Outdated

Copy link
Copy Markdown
Contributor

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

Comment thread doc/ecmp/fine_grained_next_hop_hld.md Outdated

Copy link
Copy Markdown
Contributor

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'?

Comment thread doc/ecmp/fine_grained_next_hop_hld.md Outdated

Copy link
Copy Markdown
Contributor

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

Copy link
Copy Markdown
Contributor Author

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

@anish-n anish-n left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@abdosi abdosi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Comment thread doc/ecmp/fine_grained_next_hop_hld.md Outdated

Copy link
Copy Markdown
Contributor

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.

@anish-n

anish-n commented Dec 21, 2020

Copy link
Copy Markdown
Contributor

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
@kktheballer
kktheballer force-pushed the master branch 2 times, most recently from 65d7028 to 56af004 Compare December 21, 2020 23:15
Merge conflict between Rev1.2 and Rev1.3 also resolved
Comment thread doc/ecmp/fine_grained_next_hop_hld.md Outdated
### 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

Copy link
Copy Markdown
Contributor

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

Comment thread doc/ecmp/fine_grained_next_hop_hld.md Outdated
```

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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image
This does not show up as expected when viewed as markdown in the reader, maybe a markdown syntax issue, can you please fix the same

Copy link
Copy Markdown
Contributor Author

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
@abdosi

abdosi commented Jan 20, 2021

Copy link
Copy Markdown
Contributor

please add details in description

@abdosi
abdosi merged commit acf4741 into sonic-net:master Jan 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants