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
Sync UP4 plugin with the latest pipeline #426
Conversation
CC: @daniele-moro |
@@ -507,19 +510,28 @@ func (t *P4rtTranslator) buildUplinkTerminationsEntry(pdr pdr, shouldDrop bool, | |||
return nil, err | |||
} | |||
|
|||
// FIXME: replace app_id with a meaningful value once we implement the full support for app filtering | |||
if err := t.withExactMatchField(entry, FieldApplicationID, uint8(0)); err != nil { |
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.
uint8(0)
define constant?
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.
Does it make sense? It's a temporary change and I will replace that soon.
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 believe that constant is used in #410 as the default behavior (here: https://github.com/omec-project/upf-epc/pull/410/files#diff-b2e5401707df74f20e19da386241442387f6ef81557463d84d849f7f9ebe6c45R692). Defining a constant helps as intrinsic documentation as well. Maybe just keep this comment valid for #410 and leave this as is.
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.
let's keep this comment valid for #410. This line will be changed in that PR.
This PR syncs UP4 plugin with the latest pipeline, but does not handle application filtering rules. UP4 termination tables are configured with "don't care" app_id.