Forum Discussion
James_Betts_290
Dec 13, 2016Cirrus
Python f5.bigip VIP issue
I wrote some sample code and was able to retrieve a VIP like this:
VIP = mgmt.tm.ltm.virtuals.virtual.load(partition='Common', name='Foo')
When I ran the code against my production server, most ...
- Dec 22, 2016
Turns out a solution existed but wasn't in the docs.
There is a parameter "subPath" that can be used in queries and updates:
Code: VIP = mgmt.tm.ltm.virtuals.virtual.load(partition='Common', subPath='iApp', name='myVIP')
JG
Dec 14, 2016Cumulonimbus
That Python lib looks like having some catching-up to do. Meanwhile, you can try something like this:
vservers = mgmt.tm.ltm.virtuals.get_collection()
for vs in vservers:
if vs.fullPath = '/Common/Foo/bar'
...
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