How to Give Dynamic Path in the IRule for Data File (Doc ID 2092215.1)

Last updated on JANUARY 04, 2016

Applies to:

Oracle Communications Billing and Revenue Management - Version 7.5.0.0.0 to 7.5.0.0.0 [Release 7.5.0]
Information in this document applies to any platform.

Goal

On : 7.5.0.0.0 version, Pipeline Manager

Requirement :

*  Depending on various conditions, environments etc., path to the data file used in an iRule should be picked from environment variable.
*  So is there any way to give dynamic path in the iRule for the data file, using the value defined in the environment variable ?

 

Example :

In an iRule file:

RULE: SetBIDforLAC
SOURCE: File
FILE: ${CUSTOM_ISCRIPTS}/IRL_SetBIDforLAC.data

If the "CUSTOM_ISCRIPTS" has value "/usr/cust/lib" it should get appended as:

RULE: SetBIDforLAC
SOURCE: File
FILE: /usr/cust/lib/IRL_SetBIDforLAC.data

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms