Updated the logic to identify macvlan device
To be a macvlan device, interface name should be in format x_y and the device type should be 'macvlan'
To be a macvlan device, interface name should be in format x_y and the device type should be 'macvlan'