Forum Discussion
Kurt_Kite_11866
Nimbostratus
Jan 20, 2017Python SDK Assign iRules to a virtual server
Hi,
I am able to create a virtual using the F5 python SDK including the assignment of HTTP, OneConnect, Client SSL Profiles, and Server SSL profiles. However, I have not been able to figure out ...
Kurt_Kite_11866
Nimbostratus
Jan 23, 2017Hi Jason, Thanks very much! This worked for me. I assume that it is not possible to define the rules list as a parameter in the bigip.ltm.virtuals.virtual.create method.
Best Regards, Kurt
JRahm
Admin
Nov 03, 2017did you instantiate your BIG-IP to b or a different variable first?
from f5.bigip import ManagementRoot
b = ManagementRoot('x.x.x.x', 'admin', 'admin')
x = b.tm.ltm.virtuals.virtual.create(
name='testvip5',
partition='Common',
rules=['/Common/tcptest'],
profiles=['/Common/http'])
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