Runner to provide F5 Load Balancer functionality
pycontrol Python module
In order to connect to a F5 Load Balancer, you must specify in the Salt master configuration the currently available load balancers
load_balancers:
bigip1.example.com:
username: admin
password: secret
bigip2.example.com:
username: admin
password: secret
Add a node to a pool
Check a pool member exists in a specific pool
Check to see if a pool exists
Check to see if a virtual server exists
Create a pool on the F5 load balancer
Create a virtual server
List all the load balancer methods
Add a node to a pool
CLI Examples:
salt-run f5.add_pool_member load_balancer 10.0.0.1 80 my_pool
Check a pool member exists in a specific pool
CLI Examples:
salt-run f5.check_member_pool load_balancer 10.0.0.1 my_pool
Check to see if a pool exists
CLI Examples:
salt-run f5.check_pool load_balancer pool_name
Check to see if a virtual server exists
CLI Examples:
salt-run f5.check_virtualserver load_balancer virtual_server
Create a pool on the F5 load balancer
CLI Examples:
salt-run f5.create_pool load_balancer pool_name loadbalance_method
salt-run f5.create_pool load_balancer my_pool ROUND_ROBIN
Create a virtual server
CLI Examples:
salt-run f5.create_vs lbalancer vs_name 10.0.0.1 80 tcp http poolname