Forum Discussion
Why I can't create a FastL4 VirtualServer with the specified default pool?
The default pool of the fastL4 virtualserfver is not right when I use [VirtualServer::Create](https://devcentral.f5.com/wiki/iControl.LocalLB__VirtualServer__create.ashx) method. It does not be set.Can anyone explain it?
2 Replies
- mhite_60883
Cirrocumulus
Perhaps you can post example code and the error output.
Thanks.
-M
- bes_newer_14056
Nimbostratus
Hi mhite, I just invoke the create method, the code is:
LocalLBVirtualServerVirtualServerResource[] resources = new LocalLBVirtualServerVirtualServerResource[1];
resources[0] = new LocalLBVirtualServerVirtualServerResource(LocalLBVirtualServerVirtualServerType.RESOURCE_TYPE_FAST_L4,"default_pool_name"); port.getLocalLBVirtualServer().create(serverDefs,maskes,resources,profiles).
The call is ok and without errors. New VirtualServer is created, but the default pool is none.thank you for your response~
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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