Forum Discussion
David_Bradley_2
Nimbostratus
Feb 15, 2007How do I modify class data from an iRule?
Is there a way to make a change to a class from an irule? For instance, let's say I have:
class Foobar {
"thing1 10"
"thing2 20"
}
Now I want to change ...
David_Bradley_2
Nimbostratus
Feb 15, 2007I should mention that I DO actually see the modifications I made to the data when I dump it own from within the iRule. It doesn't show up in the actual class, though. I'm assuming the class is copied into a TCL list when I do an lappend, or lreplace. As such it's only modifying this TCL structure, probably as a global variable. What I really want to do is to be able to make modify class data from within the irule, then read that modified class back out from iControl. When I run my iControl code to read the class data, it shows up as the original, unmodified, data. Thanks.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
