Code to add names and mac addresses to ethernet ports