How to make sure BIG-IP is ready to take iControl commands to build an App Service
Building a java application to orchestrate F5 creation and configuration. Basic readout. We make the following iControl calls to the F5 (in this order): 1) bigIp.ManagementDevice().get_failover_state(devices) - loop untill the state returned is HA_STATE_ACTIVE 2) upload base (vlan,selfip,etc..) iApp template 3) configureTemplate - bigIp.ManagementApplicationService().create() - that's where it usually fails 4) save configuration 5) license 6) upload iapp template 2 7) configureTemplate - bigIp.ManagementApplicationService().create() - sometimes fails
During step 3, we usually get something like this: error_string : 01020005:3: The requested operation is not implemented yet.
I've set the code to retry if it encounters a failure. After a couple tries, the code will succeed and move on. But this is silly, I should be able to make the correct iControl calls to BIG-IP to validate that it is in a happy state and can accept my iControl iApp commands.
Anyone have any thoughts on how to create a robust request or group of requests to F5 to know that it's ready?