Forum Discussion
Dmitriy_Mukhin_
Nimbostratus
Jul 05, 2005node select expr based on server_addr
I'm going to map a server IP address (server_addr) for a wildcard virtual server to a pool member using the following node select expression:
select node("192.168.0." + getfield("${server_addr}", '.', 4) + ":${server_port}")
Does this syntax make any sense? Will it work? Is there more efficient way to choose a pool member IP address based on the server_addr variable?
Thank you,
Dmitriy
- Josiah_39459Historic F5 Account
Instead of checking existence, wouldn't it be better to make a giant key->value pair datagroup and have the MAC searched (key) returned the number of the group matched (value).
- Pedro_HaoaRet. Employee
It could be.
This approach is worse because it's heavier to process. But I think this way is better in terms of management, segmentation and granularity.
Can you add more details with an example?
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects