on 09-Mar-2015 13:52
Problem this snippet solves:
The WAPolicySwitcher class will connect to two BIG-IPs and allow for Web Accelerator application policies to be added and removed from a Web Accelerator. In our testing, we use this class to adjust how the web accelerator is dealing with traffic.
Important: This class must be called from within a Ruby program.
The following files need to be changed:
How to use this snippet:
deleteAppPolicy
Requires the name of the application to delete.
createPolicy
Takes the name for the application, the local policy name, the remote policy name, and a list of domain names to use for the application.
makePolicySymmetric
Takes the name for the application, a single policy name, and a list of one or more host domain names to use for the application. Calls createPolicy. Will use the specified policy for both the local and remote policies.
makePolicyAsymmetric
Takes the name for the application, a single policy name, and a list of one or more host domain names to use for the application. Calls createPolicy. Will use the specified policy for the local policy and “Symmetric Deployment” for the remote policy.
Code :
# missing file