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

[SDFAB-1178] Allow and write in/e-gress counter separately #519

Open
wants to merge 15 commits into
base: main
Choose a base branch
from

Conversation

daniele-moro
Copy link
Collaborator

@daniele-moro daniele-moro commented May 4, 2022

Depends on the changes in the mod_cntr branch.

@daniele-moro daniele-moro added the 🍩 merge Do not merge label May 4, 2022
@daniele-moro daniele-moro changed the title [SDFAB-1178] Allow to read and write IG/EG counter separately [SDFAB-1178] Allow to read and write in/e-gress counter separately May 5, 2022
@daniele-moro daniele-moro changed the title [SDFAB-1178] Allow to read and write in/e-gress counter separately [SDFAB-1178] Allow and write in/e-gress counter separately May 9, 2022
@daniele-moro daniele-moro changed the base branch from mod_cntr to split_read_counters May 9, 2022 15:20
@@ -559,6 +562,39 @@ private Collection<UpfEntity> getUpfTerminationsDownlink() throws UpfProgrammabl
return upfTerminations;
}

private void applyUpfCounter(UpfCounter upfCounter) throws UpfProgrammableException {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This needs to be updated when we'll have the counter subsystem in ONOS

Copy link
Collaborator

@pierventre pierventre left a comment

Choose a reason for hiding this comment

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

Wondering if we want to merge this for now by adding a logic similar to the admin port state management in DeviceManager

Base automatically changed from split_read_counters to main May 19, 2022 16:07
@codecov
Copy link

codecov bot commented May 19, 2022

Codecov Report

Merging #519 (dbd64c5) into main (a33fb69) will increase coverage by 0.54%.
The diff coverage is 85.33%.

@@             Coverage Diff              @@
##               main     #519      +/-   ##
============================================
+ Coverage     69.92%   70.47%   +0.54%     
- Complexity      739      768      +29     
============================================
  Files            63       63              
  Lines          4802     4844      +42     
  Branches        530      538       +8     
============================================
+ Hits           3358     3414      +56     
+ Misses         1165     1145      -20     
- Partials        279      285       +6     
Impacted Files Coverage Δ
...abric/tna/behaviour/upf/FabricUpfProgrammable.java 67.43% <85.33%> (+5.29%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a33fb69...dbd64c5. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍩 merge Do not merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants