Question

@@{mac_address}@@ variable is empty

  • 8 December 2020
  • 1 reply
  • 151 views

Badge +3

I have created a blueprint and am attempting to pass the default macro @@{mac_address}@@ variable to a runbook. It appears the variable is empty. Any ideas? I am successfully pulling other macros without issue.

Calm 3.1.0

 

 


1 reply

Userlevel 1

Hey @AldenG ,

 

To get mac address , you need to use @@{platform}@@ macro. It lists all the macros available for a provider. for example to get network uuid of AHV you can use 

@@{platform.status.resources.nic_list[0].subnet_reference.id}@@

Reply