This PR adds the product flag which can optionally be set and passed into the BIGIP init() call. Without this ability, the check for the product type would rely on a grep invocation on the main config. Unfortunately, if your devices' hostnames contain the string "product", this would fail and the script would do nothing.
This PR adds the
product
flag which can optionally be set and passed into the BIGIPinit()
call. Without this ability, the check for the product type would rely on agrep
invocation on the main config. Unfortunately, if your devices' hostnames contain the string "product", this would fail and the script would do nothing.