Skip to content

OSDOCS-10730: NetObserv 1.8 CLI reference#86824

Merged
jeana-redhat merged 1 commit intoopenshift:no-1.8from
skrthomas:OSDOCS-10730
Feb 12, 2025
Merged

OSDOCS-10730: NetObserv 1.8 CLI reference#86824
jeana-redhat merged 1 commit intoopenshift:no-1.8from
skrthomas:OSDOCS-10730

Conversation

@skrthomas
Copy link
Contributor

@skrthomas skrthomas commented Jan 8, 2025

Version(s):

merge only to no-1.8, which will be incorporated to 4.12+ on 2/25, Network Observability GA.
Issue:

https://issues.redhat.com/browse/OSDOCS-10730
Link to docs preview:

https://86824--ocpdocs-pr.netlify.app/openshift-enterprise/latest/observability/network_observability/netobserv_cli/netobserv-cli-reference.html
QE review:

  • QE has approved this change.

Additional information:

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Jan 8, 2025
@openshift-ci-robot
Copy link

openshift-ci-robot commented Jan 8, 2025

@skrthomas: This pull request references OSDOCS-10730 which is a valid jira issue.

Details

In response to this:

Version(s):

Issue:

https://issues.redhat.com/browse/OSDOCS-10730
Link to docs preview:

QE review:

  • QE has approved this change.

Additional information:

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci openshift-ci bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Jan 8, 2025
|--icmp_code| filter ICMP code | n/a
|--peer_ip| filter peer IP | n/a
|--drops| filter flows with only dropped packets | false
|--regexes| filter flows using regex | n/a
Copy link
Collaborator

Choose a reason for hiding this comment

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

🤖 [error] RedHat.TermsErrors: Use 'regular expression' rather than 'regex'. For more information, see RedHat.TermsErrors.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Maybe we can expand this to "regular expression"

|--node-selector| capture on specific nodes | n/a
|--enable_filter| enable flow filter | false
|--direction| filter direction | n/a
|--cidr| filter CIDR | 0.0.0.0/0
Copy link
Collaborator

Choose a reason for hiding this comment

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

🤖 [error] RedHat.CaseSensitiveTerms: Use 'CIDR' rather than 'cidr'. For more information, see RedHat.CaseSensitiveTerms.

Copy link
Contributor Author

@skrthomas skrthomas left a comment

Choose a reason for hiding this comment

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

@jpinsonneau I left some comments for some things to adjust in the asciidoc source. We can talk about these further too if you have any questions or want to change anything.

Comment on lines +26 to +25
| Capture flows information. For subcommands, see the "Flows capture options" table.
| Capture flows information. For subcommands, see the "Flow capture subcommands" table.
| packets
| Capture packets data. For subcommands, see the "Packets capture options" table.
| Capture packets data. For subcommands, see the "Packet capture subcommand" table.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

For these two, can we revert back to "options" instead of "subcommands", or did you intend to change this? If its a change we want to make, then I can update the headings for those "Packet capture" and "Flow capture" sections.

Additionally, there's "Packets" vs "Packet". I think in previous releases, we've intentionally used the plural.

|--icmp_code| filter ICMP code | n/a
|--peer_ip| filter peer IP | n/a
|--drops| filter flows with only dropped packets | false
|--regexes| filter flows using regex | n/a
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Maybe we can expand this to "regular expression"

|===

.Example running flows capture on TCP protocol and port 49051 with PacketDrop and RTT features enabled:
.Example running flow capture on TCP protocol and port 49051 with PacketDrop and RTT features enabled:
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Another flow/flows question here.

@openshift-ci-robot
Copy link

openshift-ci-robot commented Jan 9, 2025

@skrthomas: This pull request references OSDOCS-10730 which is a valid jira issue.

Details

In response to this:

Version(s):

Issue:

https://issues.redhat.com/browse/OSDOCS-10730
Link to docs preview:

https://86824--ocpdocs-pr.netlify.app/openshift-enterprise/latest/observability/network_observability/netobserv_cli/netobserv-cli-reference.html
QE review:

  • QE has approved this change.

Additional information:

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@jpinsonneau
Copy link

@skrthomas I'm addressing this in netobserv/netobserv-cli#146
You can see the preview in https://github.com/jpinsonneau/network-observability-cli/blob/2021/docs/netobserv_cli.adoc

@openshift-ci openshift-ci bot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jan 10, 2025
@skrthomas skrthomas force-pushed the OSDOCS-10730 branch 2 times, most recently from 51edce2 to 5ebce8c Compare January 13, 2025 21:31
@skrthomas skrthomas force-pushed the OSDOCS-10730 branch 2 times, most recently from 1a13e49 to 2c64275 Compare January 23, 2025 19:15
@skrthomas skrthomas requested a review from memodi January 23, 2025 19:15
@jpinsonneau
Copy link

@skrthomas FYI packet translation and udn mapping features been added in netobserv/netobserv-cli#146 (comment)

The generated doc will need to be updated here also 😸
We can wait for my PR to be merge in case something else change in between

Thanks !

@jpinsonneau
Copy link

The PRs are now merged. The final CLI doc for 1.8 is available at https://github.com/netobserv/network-observability-cli/blob/release-1.8/docs/netobserv_cli.adoc

@skrthomas
Copy link
Contributor Author

@jpinsonneau @memodi can I get final reviews on this PR for the CLI updates? I incorporated your recent CLI reference updates Julien.

Copy link

@jpinsonneau jpinsonneau left a comment

Choose a reason for hiding this comment

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

Just a small nit; not sure if it's mandatory

Other than that looks good 👌
Thanks @skrthomas !

Copy link

@memodi memodi left a comment

Choose a reason for hiding this comment

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

couple of minor comments from me @skrthomas, otherwise looks good.

@skrthomas skrthomas added the peer-review-needed Signifies that the peer review team needs to review this PR label Feb 10, 2025
@adellape adellape self-assigned this Feb 10, 2025
@adellape adellape added the peer-review-in-progress Signifies that the peer review team is reviewing this PR label Feb 10, 2025
@tmalove
Copy link
Contributor

tmalove commented Feb 10, 2025

/remove-label peer-review-needed
/label peer-review-in-progress

@openshift-ci openshift-ci bot removed the peer-review-needed Signifies that the peer review team needs to review this PR label Feb 10, 2025
@adellape adellape added peer-review-done Signifies that the peer review team has reviewed this PR and removed peer-review-in-progress Signifies that the peer review team is reviewing this PR labels Feb 10, 2025
@skrthomas skrthomas force-pushed the OSDOCS-10730 branch 2 times, most recently from 7114764 to cbd4e4f Compare February 12, 2025 19:29
@openshift-ci
Copy link

openshift-ci bot commented Feb 12, 2025

@skrthomas: all tests passed!

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@skrthomas skrthomas added the merge-review-needed Signifies that the merge review team needs to review this PR label Feb 12, 2025
@openshift-ci-robot
Copy link

openshift-ci-robot commented Feb 12, 2025

@skrthomas: This pull request references OSDOCS-10730 which is a valid jira issue.

Details

In response to this:

Version(s):

merge only to no-1.8, which will be incorporated to 4.12+ on 2/25, Network Observability GA.
Issue:

https://issues.redhat.com/browse/OSDOCS-10730
Link to docs preview:

https://86824--ocpdocs-pr.netlify.app/openshift-enterprise/latest/observability/network_observability/netobserv_cli/netobserv-cli-reference.html
QE review:

  • QE has approved this change.

Additional information:

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

Copy link

@memodi memodi left a comment

Choose a reason for hiding this comment

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

/label qe-approved

thanks!

@openshift-ci openshift-ci bot added the qe-approved Signifies that QE has signed off on this PR label Feb 12, 2025
@openshift-ci-robot
Copy link

openshift-ci-robot commented Feb 12, 2025

@skrthomas: This pull request references OSDOCS-10730 which is a valid jira issue.

Details

In response to this:

Version(s):

merge only to no-1.8, which will be incorporated to 4.12+ on 2/25, Network Observability GA.
Issue:

https://issues.redhat.com/browse/OSDOCS-10730
Link to docs preview:

https://86824--ocpdocs-pr.netlify.app/openshift-enterprise/latest/observability/network_observability/netobserv_cli/netobserv-cli-reference.html
QE review:

  • QE has approved this change.

Additional information:

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@jeana-redhat jeana-redhat added the merge-review-in-progress Signifies that the merge review team is reviewing this PR label Feb 12, 2025
Copy link
Contributor

@jeana-redhat jeana-redhat left a comment

Choose a reason for hiding this comment

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

LGTM
/remove-label merge-review-in-progress
/remove-label merge-review-needed

+
[NOTE]
====
Features that are not enabled present as empty graphs.
Copy link
Contributor

Choose a reason for hiding this comment

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

I am not sure what this means but I am guessing it makes sense to the intended audience :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, I think it should make sense. Network Observability has some features that are widely known in the docs and use-case-wise, but optional to turn on/off. So if you have any of these features off, then you get empty graphs.

@openshift-ci openshift-ci bot removed merge-review-in-progress Signifies that the merge review team is reviewing this PR merge-review-needed Signifies that the merge review team needs to review this PR labels Feb 12, 2025
@openshift-ci-robot
Copy link

openshift-ci-robot commented Feb 12, 2025

@skrthomas: This pull request references OSDOCS-10730 which is a valid jira issue.

Details

In response to this:

Version(s):

merge only to no-1.8, which will be incorporated to 4.12+ on 2/25, Network Observability GA.
Issue:

https://issues.redhat.com/browse/OSDOCS-10730
Link to docs preview:

https://86824--ocpdocs-pr.netlify.app/openshift-enterprise/latest/observability/network_observability/netobserv_cli/netobserv-cli-reference.html
QE review:

  • QE has approved this change.

Additional information:

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@jeana-redhat jeana-redhat merged commit 4d2b454 into openshift:no-1.8 Feb 12, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. peer-review-done Signifies that the peer review team has reviewed this PR qe-approved Signifies that QE has signed off on this PR size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants