Forum Discussion
iRule w/classes corrupting class files.
I'm having the same difficulty with embedding a large graphic file into a class. I'm receiving the "Max string size exceeded during update of attribute:data type:class_string_item max:65520" error when creating it as a Data Group or within the bigip.conf file as a file, and have not figured out the format of the class variable when defining this as a string in the bigip.conf. I copied and pasted the contents of my base64-encoded file into the bigip.conf, but it's not happy with the format. Here's a snippet of my attempt at a class definition:
class Image_head {
type string
"image_head.bmp" := "Qk0WGwEAAAAAADYEAAAoAAAABgMAAFwAAAABAAgAAAAAAOAWAQDEDgAAxA4AAAAAAAAAAAAA////APn17wDy7N8A7OLPAOXZvwDfz68A2cWfANK8jwDMsn8AxqlwAL+gYAC5llAAs4xAAK
And here's the resulting error when I do a b verify load:
Reading configuration from /config/bigip.conf.
BIGpipe parsing error (/config/bigip.conf Line 1120):
012e0017:3: The requested item (:= ,) is invalid ( | show | list | help) for 'class ip item'
Any pearls of wisdom as to the format of this class definition?
Thanks in advance.
Joe
By the way, I'm running version 10.2, Build 1789.
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
