Forum Discussion
Modifying external datagroup within an irule
Here's an example of an REST call we use to instruct the F5 to pull a datagroup from our Adobe CQ CMS;-
curl -k -u cd_user:cd_user -H "Content-Type: application/json" -X PUT -d '{"name":"dg_www.company.com.au_uri_longest","partition":"~CompanyDigital","source-path": "http://10.200.58.96:4502/etc/tools/f5mappings.txt.html?match=longest"}' https://10.200.58.180/mgmt/tm/sys/file/data-group/~CompanyDigital~dg_www.company.com.au_uri_longest
I have another idea - you could use a Sideband connection to write a new datagroup entry to an external file (this would involve having an external system to host the file and accept writes via the sideband connection), and then use an iCall/iStat to trigger the external datagroup update from the external file. I'm pretty sure that would work.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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