Forum Discussion
hooleylist
Feb 24, 2011Cirrostratus
Hi Bob,
You can manually add the datagroup entries via the GUI under Local >> Traffic >> iRules >> Datagroup tab. Or you could reference an external file. The format for an external file is in 10.0+ is:
class namevalue {
"name1" := "value",
"name2" := "value",
}
Another option would be to use the bigip.conf format in a separate file and then merge the file into the bigip.conf using 'b merge file'.
The format for an inbuilt datagroup in the bigip.conf is:
class namevalue {
{
"name1" { "value" }
"name2" { "value" }
}
}
Lastly, you could use iControl to upload an external datagroup file and then use a Codeshare example from Joe to reload it:
http://devcentral.f5.com/wiki/default.aspx/iControl/PingExternalClass.html
Aaron