Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Install redirection rule with info in CCA
Summary: **Context** Previously, session manager did not take action when the `FinalUnitAction` was `REDIRECT` although the related information `RedirectServer` was passed from FeG. In this diff, session manager stores the information and pass it to `LocalEnforcer` to install corresponding redirect rule. **Implementation** 1. Store `RedirectServer` in the `SessionCredit` object when receiving charging credits (Gy) 2. Pass `RedirectServer` up to `LocalEnforcer` through the `ServiceAction` object when `LocalEnforcer` is checking if updates are required (quota exhaustion). Some cleaning up and refactoring were done since we never pass so many parameters from `SessionCredit` to LocalEnforcer before. 3. In `LocalEnforcer`, retrieve `RedirectServer` and other information, and install redirect rule through pipelined client. **What is affected** Existing functionality should not be affected. OCS initiated redirection should work now. Reviewed By: emakeev Differential Revision: D17086278 fbshipit-source-id: 86b311064dc32602e9457622063ed9ae6b3a3e1e
- Loading branch information
1 parent
51c4921
commit 19614ca
Showing
9 changed files
with
250 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.