Forum Discussion

Michael_Lierman's avatar
Michael_Lierman
Icon for Nimbostratus rankNimbostratus
Oct 07, 2014

Best method to programmatically create iApps on F5 Big-IP appliance?

I have used pycontrol2 to write some helper scripts calling the iControl API to create pools and virtual servers. I have now been asked to investigate the possibility of creating iApps in a similar fashion. I've looked at the Big-IQ API documentation and the wiki on this site, but am not finding an answer (possibly I am looking in the wrong place). Does anyone have any pointers for me?

 

2 Replies

  • Hello Michael, lets agree on a baseline : you don't want to create Iapps with Icontrol, you want to use Icontrol to deploy an Iapp template ?

    if yes you need to have a look to the Management.ApplicationServiceBinding.

    Here is an example for http iapp minimal information requested, REST is you friend here if you can :

    
       
       
          
             my_soapui_iapp
             /Common/f5.http
             
               
                
                      net__server_mode
                      lan
                   
                   
                      basic__port
                      80
                   
                   
                      pool__addr
                      10.100.42.13
                   
                    
                      net__client_mode
                      wan
                   
                   
                      client__http_compression
                      /Common/httpcompression
                   
                   
                      pool__http
                      /create_new
                   
                  
                      pool__pool_to_use
                      /create_new
                   
                  
                      pool__port
                      80
                   
                 
                      monitor__monitor
                      http
                   
                
             
             
             
             
                   
                      pool__hosts
                      
                         name
                      
                      
                         
                            www.toto.com
                         
                      
                   
                   
                      pool__members
                      
                         addr
                         connection_limit
                         port
                         port_secure
                         priority
                         ratio
                      
                      
                         
                            172.16.20.2
                            0
                            80
                            443
                            0
                            1