PowerShell module for the F5 LTM REST API
Problem this snippet solves: To report an issue with the F5-LTM or F5-BIGIP modules, please use the Issues sections of the GitHub repos (here and here) instead of commenting here. Thanks!
This Pow...
Updated Jun 06, 2023
Version 2.0Joel_Newton
Cirrus
Joined September 06, 2012
CSA
Nov 15, 2018Nimbostratus
Hi Joel,
Yes, and edit policies.
Policies (in LTM context) are basically an iRule replacement (like: if host header equals "something.com", forward traffic to pool X, apply ASM rule Y and do whatever).
I was not super-convinced by this feature because I do what I need with irules and we can't do everything with policies, but when you really want to automate BigIP configuration, you don't want to parse iRules in powershell, and add/update/delete things like this in switch statements for example:
"some.url.com" {
if { $path equals "/" } {
HTTP::respond 301 Location "https://[HTTP::host]/logon.jsp"
}
use pool something_pool
}
Policies in this respect are much easier to handle.
It seems the issue has already been created by @elijahgagne on github some time ago : 122
Hope it clarifies!
Thanks