on
09-Mar-2015
13:55
- edited on
05-Jun-2023
22:32
by
JimmyPackets
Problem this snippet solves:
This is a utility created for the purpose of producing large numbers of WideIPs, including pools. This was created to make our testing efforts easier.
For MakeWideIps and DeleteWideIps to work, the following files need the following edits:
How to use this snippet:
Add WideIPs
MakeWideIps.rb namePrefix numberOfWideIPs port ipsPerPool poolStartIP
This will create numberOfWideIPs WideIPs on the BIG-IP. These WideIPs will have names that begin with namePrefix. Every WideIP will answer on the specified port. Every WideIP will have its own unique pool containing ipsPerPool number of IP addresses as members. These nodes begin at poolStartIP IP address and count up . The IP addresses roll over at their boundaries. There will be numberOfWideIPs multiplied by ipsPerPool number of nodes created by this utility.
Delete WideIPs
DeleteWideIps.rb namePrefix numberOfWideIPs
This will delete the first numberOfWideIPs WideIPs from the BIG-IP beginning with namePrefix, along with the pools associated with them, assuming that they were created with the same utility as described above.