Custom field grab IP of interface #12971
Replies: 1 comment 2 replies
-
Typically I would use Would something like this help you:
I had to set a string-casted variable and slice separately but it seems to work for me in testing. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
How do I grab the IP address of one of my interfaces on a device? I have one interface on certain servers call 'idrac-1', I only ever assign 1 IP to it, but how do I grab that in a custom link? I've tried the below code, it doesn't grab anything:
{{ object.interfaces.idrac-1.ip }}
Beta Was this translation helpful? Give feedback.
All reactions