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

NETOBSERV-1135: add ovs subsystem drop causes #370

Merged
merged 1 commit into from
Aug 17, 2023

Conversation

msherif1234
Copy link
Contributor

include ovs drops to console plugin

@openshift-ci-robot
Copy link
Collaborator

openshift-ci-robot commented Aug 16, 2023

@msherif1234: This pull request references NETOBSERV-1135 which is a valid jira issue.

In response to this:

include ovs drops to console plugin

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/test-infra repository.

@codecov
Copy link

codecov bot commented Aug 16, 2023

Codecov Report

Merging #370 (76e2c53) into main (dce0ee5) will decrease coverage by 0.54%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##             main     #370      +/-   ##
==========================================
- Coverage   57.83%   57.30%   -0.54%     
==========================================
  Files         166      167       +1     
  Lines        7672     7750      +78     
  Branches      917      918       +1     
==========================================
+ Hits         4437     4441       +4     
- Misses       2968     3042      +74     
  Partials      267      267              
Flag Coverage Δ
uitests 58.17% <66.66%> (-0.01%) ⬇️
unittests 54.91% <ø> (-1.96%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
web/src/utils/pkt-drop.ts 75.00% <62.50%> (-13.89%) ⬇️
web/src/components/netflow-record/record-field.tsx 69.56% <100.00%> (ø)

... and 1 file with indirect coverage changes

@msherif1234 msherif1234 force-pushed the ovs_drops branch 9 times, most recently from bd19e20 to 44915f3 Compare August 16, 2023 20:12

export const getDropCauseDescription = (name: DROP_CAUSES_NAMES): string => {
return DROP_CAUSES.find(v => v.name === name)?.description || 'Unknown';
};

export const getDropCauseDocUrl = (name: DROP_CAUSES_NAMES): string => {
if (name.includes('OVS')) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
if (name.includes('OVS')) {
if (name.startsWith('OVS_')) {

nit: would be safer to check start prefix including _

jpinsonneau
jpinsonneau previously approved these changes Aug 17, 2023
Copy link
Contributor

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

Code looks good, not tested 👍 thanks @msherif1234

Signed-off-by: Mohamed Mahmoud <mmahmoud@redhat.com>
@openshift-ci openshift-ci bot added the lgtm label Aug 17, 2023
@msherif1234
Copy link
Contributor Author

/approve

@openshift-ci
Copy link

openshift-ci bot commented Aug 17, 2023

[APPROVALNOTIFIER] This PR is APPROVED

Approval requirements bypassed by manually added approval.

This pull-request has been approved by: msherif1234

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-robot openshift-merge-robot merged commit f2a289f into netobserv:main Aug 17, 2023
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants