Forum Discussion

bes_newer_14056's avatar
bes_newer_14056
Icon for Nimbostratus rankNimbostratus
Feb 24, 2014

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

  • Perhaps you can post example code and the error output.

     

    Thanks.

     

    -M

     

  • 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~