Forum Discussion
tbledsoe_90582
Nimbostratus
Aug 14, 2013Convert tmsh create ltm virtual to icontrol in python/big-suds
Trying to convert tmsh, "create ltm virtual SERVER_80 { destination 172.17.111.71:80 ip-protocol tcp mask 255.255.255.255 http-class { HTTPS_REDIRECT } profiles add { tcp {} http {} }}" to the equiva...
JRahm
Admin
Aug 15, 2013Regarding 1, that is is set in resources and the type you need is RESOURCE_TYPE_POOL
Regarding 2, it looks like that parameter needs another option of profile_type:
v.get_profile(vs) [[{'profile_name': '/Common/http', 'profile_context': 'PROFILE_CONTEXT_TYPE_ALL', 'profile_type': 'PROFILE_TYPE_HTTP'}, {'profile_name': '/Common/tcp', 'profile_context': 'PROFILE_CONTEXT_TYPE_ALL', 'profile_type': 'PROFILE_TYPE_TCP'}]]
This can all be bundled into the create method, but you can break it up into the add methods as well.
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