A Sample Policy Projects for Usage Monitoring

Important:

This section provides a sample legacy OCPM policy in blockly design. The data in this section is meant for reference and may not be an optimized design. Oracle recommends you to use this information as reference only. To understand the overall Usage Monitoring use cases that a policy designer can use for optimized implementation, see Usage Monitoring Use Cases.

Figure A-1 Policy Project for Roaming Use Cases


Policy Project for Roaming Use Cases

Figure A-2 Policy Project for Autoenrollment Variable Setup


UC2_Autoenrollment_Variable_Setup

Figure A-3 Policy Project for Roaming NextResetTime Setup


UC2_Roaming_NextResetTime_Setup

Figure A-4 Policy Project for Roaming No Agreement


UC2_Roaming_No_Agreement

Figure A-5 Policy Project for Roaming With Agreement


UC2_Roaming_With_Agreement

Figure A-6 Policy Project for Roaming Undefined MCC


UC2_Roaming_Undefined_MCC

Figure A-7 Policy Project for Roaming Unknown MCC Default


UC2_Roaming_Unknown_MCC_Default

Figure A-8 Policy Project for Roaming Using Current MCC


UC2_Roaming_Using_Current_MCC

Figure A-9 Policy Project for Roaming Variable Init_1


UC2_Roaming_Variable_Init_1

Figure A-10 Policy Project for Roaming Variable RoamingMCC2 Remover


UC2_Roaming_Variable_RoamingMCC2_Remover

Figure A-11 Policy Project for Roaming MCC Available Init_1


UC2_Roaming_MCC_Available_Init_1

Figure A-12 Policy Project for Roaming MCC Not Available Init_1


UC2_Roaming_MCC_Not_Available_Init_1

Figure A-13 Policy Project for Roaming Variable Init_2


13 UC2_Roaming_Variable_Init_2

Figure A-14 Policy Project for Roaming MCC Available Init_2


14 UC2_Roaming_MCC_Available_Init_2

Figure A-15 Policy Project for Roaming MCC Not Available Init_2


15 UC2_Roaming_MCC_Not_Available_Init_2

Figure A-16 Policy Project for UC2 Roaming Variable Init Override


16 UC2_Roaming_Variable_Init_Override_1

Figure A-17 Policy Project for Roaming Variable Init Override


17 UC2_Roaming_Variable_Init_Override_2

Figure A-18 Policy Project for Roaming Quota Option


18 UC2_Roaming_Quota_Option_1

Figure A-19 Policy Project for Roaming Last Quota Used


19 UC2_Roaming_Last_Quota_Used_1

Figure A-20 Policy Project for Roaming Quota Grant Option


20 UC2_Roaming_Quota_Grant_Option_1

Sample Projects for PCRF Core

Figure A-21 Main


Main

Figure A-22 Roaming Unlimited Subscribers


UC2_Roaming_Unlimited_Subscribers

Figure A-23 Roaming Quota Option


UC2_Roaming_Quota_Option_1

Figure A-24 Roaming Quota Grant Option


UC2_Roaming_Quota_Grant_Option_1

Figure A-25 Roaming QoS Shaping


UC2_Roaming_QoS_Shaping

Figure A-26 Roaming Quota Exhausted SMS_1


UC2_Roaming_Quota_Exhausted_SMS_1

Figure A-27 Roaming QoS Downgrade


UC2_Roaming_QoS_Downgrade

Figure A-28 Roaming QoS Downgrade1 ZoneDefault


UC2_Roaming_QoS_Downgrade1_ZoneDefault

Granting Quota

Scenario:
  • User plan is provided as subscriber VSA by UDR
  • Grant 80% of Total (Initial) Quota at activation of plan.
  • If user consumes less than 80%, then grant the delta quota again.
  • Once user crosses 80%, grant remaining quota.
  • At any time if user detaches, subsequent attach should grant quota as per last reported in CCR-T.

Figure A-29 Sample project:


Sample project:

Initial Condition: Plan is not activated.

Total Quota: 100K

Table A-1 Sample quota grant and cumulative consumption

Step # Ingress Diameter Message Quota Reported Cumulative Quota Consumed Quota Grant Notes
1 CCR-I - - 80K
  • User data fetched from UDR
  • Plan activated
  • Initial grant of 80%
2 CCR-U 20K 20K 60K
  • Consumed Quota ((20K) updated on UDR.
  • Grant = 80K – 20K
3 CCR-T 30K 50K -
  • Consumed Quota (50K) updated on UDR.
  • Session Terminated
4 CCR-I - - 30K
  • User data fetched from UDR
  • Grant = 80K – 50K
5 CCR-U 20K 70K 10K
  • Consumed Quota (70K) updated on UDR.
  • Grant = 80K – 70K
6 CCR-U 10K 80K 20K
  • Initial Grant of 80% consumed so grant remaining 20%
  • Grant = 100K – 80K
7 CCR-T 10K 90K -
  • Consumed Quota (90K) updated on UDR.
  • Session Terminated
8 CCR-I - - 10K
  • User data fetched from UDR
  • Grant = 100K – 90K
9 CCR-U 10K 100K -
  • Total Quota Exhausted
  • No further Grant
  • Quota Disabled
  • Consumed Quota (100K) updated on UDR.
10 CCR-T - 100K -
  • No Quota Reported as no Grant was given in previous decision.

PCC Rule Level Usage Monitoring

Figure A-30 Sample Policy Project for PCC Rule Level Usage Monitoring


Sample Policy Project for PCC Rule Level Usage Monitoring

Figure A-31 Sample Policy Project for PCC Rule Level Usage Monitoring for PCRF Core


Sample Policy Project for PCC Rule Level Usage Monitoring for PCRF Core

You must configure PCC Rule and Predefined PCC Rule in Traffic Rule page for PCRF Core under Policy Data Configuration in CNC Console.