The documentation lists this flow variable to get the IP address of the MP/RTR that is handling the request:
system.interface.interface_name
I have tried using this in a policy but it comes up null.
We are using Apigee Edge, OPDK
THe goal is to get the ip address of the specific node that is handling the request. this is for troubleshooting purposes
Hi @kkj9secure !
What the docs says is that you can access to 'any' interface value, by replacing the "interface_name" part in the variable, as it represents a parameter.
Would look better like this: system.interface.{interfaceName}
For example pls try this variable
system.interface.eth0
For troubleshooting purposes maybe would be enough to get the messageProcessor's ID, by accessing the variable system.uuid.
Let me know if it helped.
Best regards,
Marcelo
ps two earlier discussion in this topic is here and here