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
Add PortRange
type and support PDR port ranges in BESS-upf
#438
Conversation
05ff836
to
fec3cd6
Compare
PortFilter
and support PDR port ranges in BESS-upf
f30eb2b
to
ca596bb
Compare
4f283dd
to
17ce26f
Compare
293e856
to
21dcf87
Compare
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.
I like the heuristic approach and the algorithm to generate ternary masks from a port range.
It seems that PR still needs some polishing - I found undefined or unused methods.
Rename to `portFilter` Use new API
ad1b452
to
004a2a9
Compare
a1fd854
to
4ee2538
Compare
4ee2538
to
164226b
Compare
PortFilter
and support PDR port ranges in BESS-upfPortRange
type and support PDR port ranges in BESS-upf
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.
LGTM, please fix the REUSE job and we can merge
This PR adds the notion of
PortRange
s to PDRs in PFCP agent. Those replace the existing<port, mask>
combo with a range type that can represent exact matches, some ternary matches and, new, range matches.At the same time this adds range match emulation to the BESS-upf, by translating ranges into a equivalent set of ternary rules.
Limitations: