79248926

Date: 2024-12-03 19:26:50
Score: 0.5
Natty:
Report link

Seems like no one knows. Just in case someone will face this issue and find this question, I could not find anything better than shorten the workaround to

port = evaluate("${device}0_port")

This replace device with the actual device name when it is parsed by groovy interpreter and then at runtime it evaluates the actual variable name.

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Nick