0

I want to deploy configurations (virtual server, pools) to my bigip server, based on the files which have same format as /config/bigip.conf.

However, the iControl 'create' API for virtual server and pool only accept string values rather than the whole file, so that I have to parse values from the configuration file, then call the API, which is not straightforward and hard to maintain.

I want to find an iControl API which is equivalent to 'b merge', so that I can load configurations into the system incrementally based on the .conf file.

I don't want to transfer the file to bigip server and do 'b merge' directly for permission issue. Does anyone know if we can do this?

Reference

1 LocalLB::VirtualServer::create

2 LocalLB::Pool::create

1

The iControl API requires you to perform those LocalLB::VirtualServer::create and LocalLB::Pool::create actions individually. There is no 'b merge' equivalent in iControl.

The only real solution options are:

  1. Use the System::ConfigSync::upload_file API to upload the file and then execute, via an SSH script, the 'b merge' command
  2. Parse your input .conf file into its component pieces and create each one using the available iControl commands.
  • The 'create' APIs cannot set everything I want to set at once and may bring further maintenance work in the future. The option #1 is the approach I am taking for now. Thanks! – imapollo Jun 7 '13 at 2:31

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.