-
Notifications
You must be signed in to change notification settings - Fork 4
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
NETOBSERV-2071 CLI use cases for 1.8 #6
Conversation
maybe adding a usecase with filter on drop flows as that was one of the use cases we heard during f2f ? |
also another use case if watching N/S flows only or E/W flows only |
You can cycle to different views using left / right arrow keys and change the displayed enrichment colomns using page up / down ones. | ||
Also, to adapt to your screen height, you can increase / decrease the number of displayed flows using up / down arrow keys. | ||
|
||
In this capture, we see that the traffic is blocked by OVS since it reports the `OVS_DROP_LAST_ACTION` drop cause. This probably means that a Network Policy is involved. |
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 stuff no longer available with network events support, u will use network events feature and look for drops actions instead
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 I can rerun this scenario and see how it goes. I'm supposed to get both drop info + event here ?
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.
no drop for netpol just event, ovs team has dropped the drop cause when they created the new events hook they said we can't have both
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.
That means this will not displayed in overview drop cause graph anymore !
We may need a new graph for events here
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.
we will get still pkt drops but not for ovn netpol
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.
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.
🙈 The PR is closed and the preview is expired. |
Added this in f958c46 |
c96471d
to
eb233c9
Compare
Once some traffic is captured, the output will look like: | ||
}) | ||
|
||
Cycle to the **network events** view. In this capture, we see that the traffic is blocked by a network policy since it reports the `NetpolNamespace` event. |
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 PR should provide a better output for the network events
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.
Awesome ! Do you have a screen ?
Else I will spin up a cluster
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.
not yet, cluster not started yet
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.
Nice work! Thanks for letting me review. I left some feedback, mostly copy edits :)
Thanks for the very detailed review @skrthomas ! that's awesome ! |
Co-authored-by: Sara Thomas <[email protected]>
Co-authored-by: Sara Thomas <[email protected]>
Co-authored-by: Sara Thomas <[email protected]>
Co-authored-by: Sara Thomas <[email protected]>
Co-authored-by: Sara Thomas <[email protected]>
Co-authored-by: Sara Thomas <[email protected]>
Co-authored-by: Sara Thomas <[email protected]>
Co-authored-by: Sara Thomas <[email protected]>
Co-authored-by: Sara Thomas <[email protected]>
Co-authored-by: Sara Thomas <[email protected]>
Co-authored-by: Sara Thomas <[email protected]>
Co-authored-by: Sara Thomas <[email protected]>
Co-authored-by: Sara Thomas <[email protected]>
Co-authored-by: Sara Thomas <[email protected]>
Co-authored-by: Sara Thomas <[email protected]>
Co-authored-by: Sara Thomas <[email protected]>
Co-authored-by: Amogh Rameshappa Devapura <[email protected]>
152644b
to
3fe27ea
Compare
Rebased without changes to see if the preview works now |
Updated concrete scenarios with 1.8 commands