Forum Discussion

jaikumar_f5_226's avatar
jaikumar_f5_226
Icon for Nimbostratus rankNimbostratus
May 30, 2016

External Data Group list - Integer, String, Address

Hello,

I've been asked to create external data groups in my test environment. But i'm unsure of the syntax that has to be on the importing file for Integer,String or Address.

By somehow modifying the syntax and referring F5 articles, i came up with this. I created a text file with the below and saved it. After importing it worked for External - Address.

network 192.11.1.0 mask 255.255.255.0,
network 192.11.2.0 mask 255.255.255.0,
network 192.11.3.0 mask 255.255.255.0,
network 192.11.4.0 mask 255.255.255.0
`


The same goes for External - String.

`"name1" := "value1", 
"name2" := "value2", 
"name3" := "value3",

Well but for Integer, it aint working. I'm really unsure of the syntax. I see integer,separator and value.

But unsure how to define it. Any help on external data group creation for all from the scratch would be appreciated.

+Contents on the file

1 { "test 1" },
2 { "test 2" },
  • Adding Screenshot
  • Hi,

    If I remember correctly, it's something like that :

    1 := "value1", 
    2 := "value2", 
    3 := "value3",
    
  • Can you tell us what you used for integer format that didn't work ?
  • Hi,

    If I remember correctly, it's something like that :

    1 := "value1", 
    2 := "value2", 
    3 := "value3",
    
  • Hi,

    If I remember correctly, it's something like that :

    1 := "value1", 
    2 := "value2", 
    3 := "value3",
    
    • jaikumar_f5's avatar
      jaikumar_f5
      Icon for MVP rankMVP
      Thanks Yann, this worked. But would you mind posting some article of the Syntax it has to be on the file for it to work...
    • JRahm's avatar
      JRahm
      Icon for Admin rankAdmin
      https://devcentral.f5.com/s/articles/v11-irules-data-group-updates
  • This is what i had put on the file... 1 { "test 1" }, 2 { "test 2" }, well i went through some articles, my bad... https://support.f5.com/kb/en-us/products/big-ip_ltm/manuals/product/tmos-concepts-11-2-0/tmos_external_files.html