Skip to content
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

docs: update the cli doc with cidr range source/destination ip filter #731

Merged
merged 1 commit into from
Jun 2, 2022

Conversation

slayer321
Copy link
Contributor

update the cli docs for source/destination IP filter

Fixes: #458

Signed-off-by: slayer321 sachin.maurya7666@gmail.com

@slayer321 slayer321 requested review from a team and joamaki and removed request for a team May 31, 2022 15:53
@maintainer-s-little-helper maintainer-s-little-helper bot added the dont-merge/needs-release-note-label PR is blocked until the release note is set label May 31, 2022
Copy link
Member

@gandro gandro left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution. Some feedback on the spelling, other than that looks good to me!

cmd/observe/flows.go Outdated Show resolved Hide resolved
cmd/observe/flows.go Outdated Show resolved Hide resolved
@gandro gandro added ⌨️ area/cli Impacts the command line interface of any command in the repository. release-note/misc This PR makes changes that have no direct user impact. labels May 31, 2022
@maintainer-s-little-helper maintainer-s-little-helper bot removed the dont-merge/needs-release-note-label PR is blocked until the release note is set label May 31, 2022
@gandro
Copy link
Member

gandro commented Jun 1, 2022

Great! Could you please squash the two commits together into one? Thanks!

@slayer321 slayer321 force-pushed the pr/slayer321/cidr-docs-update branch from 6a5ee85 to 5a25671 Compare June 1, 2022 10:08
@@ -293,13 +293,13 @@ more.`,

filterFlags.Var(filterVar(
"from-ip", ofilter,
"Show all flows originating at the given IP address."))
"Show all flows originating at the given IP address. Each of the source IPs can be specified as an exact match (e.g. '1.1.1.1') or as a CIDR range (e.g.'1.1.1.0/24')."))
filterFlags.Var(filterVar(
"ip", ofilter,
"Show all flows related to the given IP address."))
Copy link
Member

Choose a reason for hiding this comment

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

Sorry, forgot that last time around: Could also add the sentence here, since it also applies to this? e.g. Each of the IPs can be specified as an exact match (e.g. '1.1.1.1') or as a CIDR range (e.g.'1.1.1.0/24').

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure

@gandro gandro removed the request for review from joamaki June 2, 2022 11:41
Copy link
Member

@kaworu kaworu left a comment

Choose a reason for hiding this comment

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

Thanks @slayer321!

Signed-off-by: slayer321 <sachin.maurya7666@gmail.com>
@slayer321 slayer321 force-pushed the pr/slayer321/cidr-docs-update branch from efff3e8 to 1c02678 Compare June 2, 2022 14:04
Copy link
Member

@gandro gandro left a comment

Choose a reason for hiding this comment

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

Perfect, thank you! 🚀

@maintainer-s-little-helper maintainer-s-little-helper bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Jun 2, 2022
@gandro gandro merged commit 3d7ef5d into cilium:master Jun 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⌨️ area/cli Impacts the command line interface of any command in the repository. ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/misc This PR makes changes that have no direct user impact.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

update the cli doc for source / destination ip filter
3 participants