Using this method we can find out the MAC of interface to which this interface is attached to. This can be used in provisioning template when we check for real interface name.
(cherry picked from commit 5ad3c4f34b50fb1ac6d9f26e71e183813ab1c96f)
Related issues
Bug #9615: while adding alias interface, mac should be auto populated based on attached_to interface
Fixes #9615 - Adds inheriting_mac method
Using this method we can find out the MAC of interface to which this
interface is attached to. This can be used in provisioning template when
we check for real interface name.
(cherry picked from commit 5ad3c4f34b50fb1ac6d9f26e71e183813ab1c96f)