Forum Discussion

dilde_116091's avatar
dilde_116091
Icon for Nimbostratus rankNimbostratus
Oct 10, 2013

How use a iApp DATAGROUPS in a iRule

After making an iApp for auto create a datagroups update in a the crontab. I would like use the datagroups in a iRule with the command : "[class match -- $id equals REMOTE_DG_myapp]" the error message is : "Unable to find value_list (REMOTE_DG_myapp) referenced at line 49:"

 

What the path of my datagroup ? /Common/myapp.app/REMOTE_DG_myapp is not good.

 

It is possible to use an iApp datagroup in Irule out the "iApp" ?

 

regards

 

3 Replies

  • Fred_Slater_856's avatar
    Fred_Slater_856
    Historic F5 Account

    Chances are your data-group is in /Common, not /Common/myapp.app. Check with "tmsh list ltm data-group"

     

  • for request my data-group in tmsh cli, i must change the "directory"

    (/Common)(tmos) cd myapp.app
    (/Common/myapp.app)(tmos) list ltm data-group
    ltm data-group external REMOTE_DG_myapp {
        app-service /Common/myapp.app/myapp
        external-file-name REMOTE_DG_myapp
        type string
    }
    
  • Sorry,

    i am remake the test and this is OK with the full path like that :

    [class match -- $id equals /Common/myapp.app/REMOTE_DG_myapp ]

    i have only change the name of "myapp" since the first message, this one contains a "-" in the name.