API to Extract Assigned Ethernet Interface -> MAC
Posted: Wed Nov 25, 2020 7:27 pm
Hi,
I'm trying to find a way to query an EVE topology and extract the EVE generated MAC addresses assigned to interfaces to use in a ZTP DHCP Server Script.
For example:
vEOS with 5 ethernet interfaces E1, E2, E3, E4, E5
I want to extract from the eve-ng topology the MAC it would assign to each of these interfaces with the "device Name" assigned to it. This has nothing to do with the VM itself but how EVE assigns MAC's. If this was native virsh, I could extract this out of the configuration file but I cannot seem to find where this is stored in EVE.
Thanks
I'm trying to find a way to query an EVE topology and extract the EVE generated MAC addresses assigned to interfaces to use in a ZTP DHCP Server Script.
For example:
vEOS with 5 ethernet interfaces E1, E2, E3, E4, E5
I want to extract from the eve-ng topology the MAC it would assign to each of these interfaces with the "device Name" assigned to it. This has nothing to do with the VM itself but how EVE assigns MAC's. If this was native virsh, I could extract this out of the configuration file but I cannot seem to find where this is stored in EVE.
Thanks