This should have been searching the right nic by using the label entered at the CLI.
I have already opened another issue to update the HIL code here to use the client library rather than the API directly. So doing that cleanly will also fix this issue.
Or we might just get rid of the nic label parameter and ask the user to enter the mac address directly (I think this is somewhere in the design docs).
https://github.com/CCI-MOC/ims/blob/master/ims/einstein/hil.py#L124
This should have been searching the right nic by using the label entered at the CLI.
I have already opened another issue to update the HIL code here to use the client library rather than the API directly. So doing that cleanly will also fix this issue.
Or we might just get rid of the nic label parameter and ask the user to enter the mac address directly (I think this is somewhere in the design docs).
Thanks @mihirborkar for finding this out.