-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for virtual #68
Comments
Do you have a simple irule that illustrates how it is typically used?
… 18. jul. 2021 kl. 08:48 skrev frigo ***@***.***>:
As documented here:
https://clouddocs.f5.com/api/irules/virtual.html
Currently I am using
on virtual name return foo
on virtual foo return ""
But then I cannot check that the virtual server is set properly. Ideally I would like to do something like
verify "Final virtual is the expected one after a match" "foo" eq { endstate_virtual }
(if it was possible to verify the value of a variable it would be great too)
Thanks for the great tool!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
on the rules I am working with, the virtual name is used to deduce the partition of the server (it's also a suggestion from https://devcentral.f5.com/s/question/0D51T00006j36DJ/irule-access-to-partition-name) Some variable is also shared between CLIENT_ACCEPTED and HTTP_REQUEST. While I know how to inject variables, I don't know how to validate the curpartition variable content in the example below:
EDIT btw the value of |
As documented here:
https://clouddocs.f5.com/api/irules/virtual.html
Currently I am using
But then I cannot check that the virtual server is set properly. Ideally I would like to do something like
(if it was possible to verify the value of a variable it would be great too)
Thanks for the great tool!
The text was updated successfully, but these errors were encountered: