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

Run simulation mode as part of pfcp agent #362

Merged
merged 3 commits into from Dec 1, 2021
Merged

Conversation

pudelkoM
Copy link
Member

Right now we have the spin up another pfcp agent instance to simulate session creation (-simulate create) or deletion. As this runs in a completely separate process from the persistent agent, they do not share any state. This is problematic when other features, like flow measure, require data from inserted PDRs.
Realistically, production setups should not be affected as all programming happens through PFCP messages, but for local testing this is a huge shortcoming. Especially since there is no equivalent simulator on the PFCP level available.

This change adds a new -simulate flag value, create_continue, which runs the sim function as part of the agent startup procedure.

pfcpiface/main.go Outdated Show resolved Hide resolved
@krsna1729
Copy link
Member

Especially since there is no equivalent simulator on the PFCP level available.

Can you please extend pfcpsim in a follow-up PR to do multi-session testing like grpcsim. This will be helpful for performance benchmarking of PFCP layer

@pudelkoM
Copy link
Member Author

Can you please extend pfcpsim in a follow-up PR to do multi-session testing like grpcsim. This will be helpful for performance benchmarking of PFCP layer

I can certainly try. It would be really nice to have, I agree.

@krsna1729
Copy link
Member

retest this please

@krsna1729 krsna1729 merged commit 724c299 into master Dec 1, 2021
@krsna1729 krsna1729 deleted the session-metrics-export branch December 1, 2021 06:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants