Forum Discussion
Eddy_161863
Nimbostratus
May 06, 2016data group list import- invalid format
I have a list of 100 IPs that I want to use in an irule. I have created a data group list and was trying to import it but keep getting the error message that "the data group external file has an inv...
Yann_Desmarest
Cirrus
May 06, 2016Hello,
Why not using a simple "address" Data-group ? you can then add 10.0.0.0/8 in the address field for example.
You can then use tmsh or iControl Rest API to update dynamically your data-group
- Eddy_161863May 06, 2016
Nimbostratus
Thanks. I used 10.0.0.0 and 20.0.0.0 as an example. but originally it is a list of 100 IPs which I cannot summarize. I have to add them individually. Do you know the format for that? - Yann_DesmarestMay 06, 2016
Cirrus
ok no problem, just check this article from Jason Rahm : You will find the exact syntax for external data-groups https://devcentral.f5.com/articles/v11-irules-data-group-updates - Eddy_161863May 06, 2016
Nimbostratus
thanks Yann. Below is what that article says about external IP data group. Do you know if I have to add this format to the external data group list I created? where will I add the IPs? External Data Group------------------------- ltm data-group external addr_testclass_ext { external-file-name addr_testclass.class type ip } - Yann_DesmarestMay 06, 2016
Cirrus
The lines you paste from the article explain how the configuration of an external data-group looks like. You specify the type and the name of the file - Yann_DesmarestMay 06, 2016
Cirrus
Follow this chapter, it works for me : Create a New External Datagroup from the CLI Non-Interactively
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects