Forum Discussion
Twirrim_94896
Mar 29, 2011Nimbostratus
struggling to create irules
I'm using python 2.6.6 and pycontrol 2.0.1 to connect to our load balancer and configure it. I'm trying to make a rough start at creating a standard provisioning script for any new subdomains that ar...
Twirrim_94896
Mar 29, 2011Nimbostratus
Bah.. after struggling with this for a good while today, inspiration struck just after posting this..
Need to define a dictionary (dict) object and pass that to the iRule create command:
Attempt to create rule
irule_def = dict(rule_name=irule_name,rule_definition = irules_content)
rl.create(rules=[irule_def])
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