Skip to main content
Feedback

IP Routing Policy Configuration Values

Updated 

Configuration Values

The following configuration values can be defined while configuring the IP Routing Policy on the Call Transformation page:

Field nameTypeField ValueRequired/OptionalDescription
Processing AdapterStringcom.mashery.proxy.customer.generic.iprouter.processorRequiredAdapter used to route API requests based on the configured IP addresses to the specified backend target.
Perform Pre-processingBooleanEnabledRequiredWhen enabled, the policy routes requests based on the X-Forwarded-For header and configured IP-to-hostname mappings before the request is forwarded to the backend.
Data to make available for pre-processing (PreInput Value)Map—OptionalSpecifies the input data made available for pre-processing.
Map

QueryParams:{IPRouter1":"Value", "IPRouter2":"Value""}

OptionalMap of IP router identifiers to their corresponding values for routing configuration.

Examples

Data to make available for pre-processing

The following is an example value for the Data to make available for pre-processing field.

hostname_map: {"123.456.7.8":"api-target-eu.stats.com","12.34.5.6/22":"api-target-us.stats.com"}

Configuration Steps

You can configure this policy as a Processor using either of the following UIs. Refer to the following for configuration steps:

On this Page