Forum Discussion
unRuleY_95363
Aug 21, 2006Historic F5 Account
I'm assuming your not defining the class in the iRule...
When you create the Datagroup from the GUI, you will want to define it's type as "(External File)". The screen will then update to allow you to specify the path/filename and then select the File Contents type (I assume you'd want string).
Your bigip.conf will then contain a definition like so:
class whichlb {
type string
filename "/config/whichlb.txt"
}
The file is then automatically read into the class variable $::whichlb. HTH!