| Oracle® Communications Service Communication Proxy (SCP) Cloud Native User's Guide Release 1.0 F12310-01 |
|
![]() Previous |
![]() Next |
SCP acts as a transparent proxy and forwards or routes any 5G ingress service request to the host (5G NF) present in request URI.
Parameters for Configuring Routing Options
Table 3-2 provides details of the parameters for configuring Routing Options.
Table 3-2 Parameters for RoutingOptions
| Parameter Name | Description | Applicable to NF Service Type | Default Values | Applicable to Pod level within NF | Values |
|---|---|---|---|---|---|
| Response Timeout | When response timeout expires, then SCP initiates alternate rerouting to available alternate NF or Pod. | Yes | 1 second | Yes | 1 second |
| Total transaction lifetime |
|
Yes | 6 seconds | Yes | 6 seconds |
| Max Routing attempts |
|
Yes | 3 | Yes | 2 |
| Reroute on Response Code |
|
|
- |
|
- |
| Alternate Routing |
Alternate rerouting is Enabled or Disabled
|
Yes | Enabled | Yes | Enabled |
| Request Routing Scope | Site | Yes | Site | Yes | Within NF |
| Status |
|
Yes | No Sync | Yes | Synced within NF |
| Routing Policy |
|
Yes | Forward Proxy | NO | Load Balance (Non-configurable) |
| Load Balancing Algorithm |
Priority Only
|
Yes | Priority Only | Yes | Round Robin |
| Default Priority |
|
Yes | 1 | No | - |
| Default Capacity |
|
Yes | 65535 | No | - |
Configuring Operations for Routing Options
User can configure routing options by using the operations LIST, GET, and PUT.
GUID-7E4BC2D9-B78B-4DFE-9708-2A59E276D552.htm provides sample details of the operations to configure routing options.
Table 3-3 Routing Options Operations
| Operation | REST Command |
|---|---|
|
LIST |
curl --header 'Content-type: application/json' --header 'accept: application/json' --request GET http://<Soothsayerfqdn>:8081/soothsayer/v1/routingoptions/
[{
"pod": {
"maxPendingResponses": 1000,
"maxRoutingAttempts": 2,
"alternateRouting": true,
"loadBalancingAlgorithm": "Round_Robin"
},
"srv": {
"name": "nudm-uecm",
"maxPendingResponses": 1000,
"maxRoutingAttempts": 3,
"actions": "Forward",
"alternateRouting": true,
"scope": "Site",
"dbSyncStatus": "No_Sync",
"routingPolicy": "Forward_Proxy",
"loadBalancingAlgorithm": "Priority_only",
"nfServiceLoadBasedCongestionControl": {
"alternateRoutingOnsetThresholdPercent": 80,
"alternateRoutingAbatementThresholdPercent": 75,
"throttleOnsetThresholdPercent": 90,
"throttleOnsetThresholdPercent": 85,
"responseErrorCode": 503
},
"defaultPriority": 1,
"defaultCapacity": 65535
},
"totalTransactionLifetime": "6s",
"reRouteOnResponseCodeList": [
"ALL_SERVER_ERROR",
"NOT_FOUND",
"REQUEST_TIMEOUT",
"RETRIABLE_4XX",
"GONE",
"TOO_MANY_REQUESTS",
"TEMPORARY_REDIRECT",
"PERMANENT_REDIRECT"
],
"responseTimeout": "1s"
},
... ]
|
| GET |
curl --header 'Content-type: application/json' --header 'accept: application/json' --request GET http://<Soothsayerfqdn>:8081/soothsayer/v1/routingoptions/<serviceName>
{
"pod": {
"maxPendingResponses": 1000,
"maxRoutingAttempts": 2,
"alternateRouting": true,
"loadBalancingAlgorithm": "Round_Robin"
},
"srv": {
"name": "nudm-uecm",
"maxPendingResponses": 1000,
"maxRoutingAttempts": 3,
"actions": "Forward",
"alternateRouting": true,
"scope": "Site",
"dbSyncStatus": "No_Sync",
"routingPolicy": "Forward_Proxy",
"loadBalancingAlgorithm": "Priority_only",
"nfServiceLoadBasedCongestionControl": {
"alternateRoutingOnsetThresholdPercent": 80,
"alternateRoutingAbatementThresholdPercent": 75,
"throttleOnsetThresholdPercent": 90,
"throttleAbatementThresholdPercent": 85,
"responseErrorCode": 503
},
"defaultPriority": 1,
"defaultCapacity": 65535
},
"totalTransactionLifetime": "6s",
"reRouteOnResponseCodeList": [
"ALL_SERVER_ERROR",
"NOT_FOUND",
"REQUEST_TIMEOUT",
"RETRIABLE_4XX",
"GONE",
"TOO_MANY_REQUESTS",
"TEMPORARY_REDIRECT",
"PERMANENT_REDIRECT"
],
"responseTimeout": "1s"
}
|
| PUT |
curl --header "Content-Type: application/json" --request PUT --data '{
"pod": {
"maxPendingResponses": 1000,
"maxRoutingAttempts": 2,
"alternateRouting": true,
"loadBalancingAlgorithm": "Round_Robin"
},
"srv": {
"name": "nudm-uecm",
"maxPendingResponses": 1000,
"maxRoutingAttempts": 3,
"actions": "Forward",
"alternateRouting": true,
"scope": "Site",
"dbSyncStatus": "No_Sync",
"routingPolicy": "Forward_Proxy",
"loadBalancingAlgorithm": "Priority_only",
"nfServiceLoadBasedCongestionControl": {
"alternateRoutingOnsetThresholdPercent": 80,
"alternateRoutingAbatementThresholdPercent": 75,
"throttleOnsetThresholdPercent": 90,
"throttleAbatementThresholdPercent": 85,
"responseErrorCode": 503
},
"defaultPriority": 1,
"defaultCapacity": 65535
},
"totalTransactionLifetime": "6s",
"reRouteOnResponseCodeList": [
"ALL_SERVER_ERROR",
"NOT_FOUND",
"REQUEST_TIMEOUT",
"RETRIABLE_4XX",
"GONE",
"TOO_MANY_REQUESTS",
"TEMPORARY_REDIRECT",
"PERMANENT_REDIRECT"
],
"responseTimeout": "1s"
}' http://<Soothsayerfqdn>:8081/soothsayer/v1/routingoptions/<serviceName>
|