CodeShare
Have some code. Share some code.
cancel
Showing results for 
Search instead for 
Did you mean: 
Sam_Richman_263
Historic F5 Account

Problem this snippet solves:

These Perl iControl scripts allows for the creation and deletion of HTTP iApps. It is based on another DevCentral script of similar function, though this version is further developed as follows:

  • Allows for an arbitrary number of pool members to be specified
  • Allows for a small number of configuration parameters to be specified (monitor send/receive, virtual server/pool member ports)
  • Saves the BIG-IP configuration to disk once the iApp has been created
  • Provides a "usage" statement and utilizes Getopt to handle command line options:

Code :

Usage:

To CREATE an app:
            script-name --appname  --virtualaddress  \
                            [--virtualport ] \
                            [--poolport ] --poolmembers  \
                            [--monitor_send <"monitor send string">] [--monitor_receive <"monitor expect string">]

To DELETE an app:
            script-name --appname  --delete

     Virtual server port and pool member port default to 80 if not specified

     Monitor Send String defaults to "/" and Recieve String defaults to blank value
Version history
Last update:
‎07-Mar-2015 16:48
Updated by:
Contributors