Forum Discussion
A__N_5261
Nimbostratus
Sep 07, 2018Retrieve virtual Server config using f5-SDK
Hi,
I am trying to retrieve virtual server config using sdk python module. Like (tmsh list /ltm virtual /Common/test-2).
I was able to do with below if keep static value (partition/VIP name...
PeteWhite
Employee
Sep 07, 2018You're using iControl to run a tmsh command to retrieve the VS config. This is not the way to do it - use the SDK to retrieve the virtual server config directly:
vip_config_backup=b.tm.ltm.virtuals.virtual.load(name='test-2')
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