Forum Discussion
chungyu_16122
Altostratus
Mar 17, 2011Create an External class file
Hi all
I am using an iRule to move traffic to different pools based on data group strings. Initially for testing used the GUI data group interface to create the class file.
But for...
Steve's example is a good one. The class wiki page also has examples of the datagroup formats:
http://devcentral.f5.com/wiki/default.aspx/iRules/class
External Class Format:
class namevalue {
"name1" := "value",
"name2" := "value",
}
Internal Class Format:
class namevalue {
{
"name1" { "value" }
"name2" { "value" }
}
}
Aaron
- The Range-Request header is vulnerable as well. Also, would probably want to use an alternative to matches_regex for efficiency. If ranges are can be counted by the number of commas, a simple length check on the header contents split by the commands should suffice:
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