Arista l3

This method is misleading. Can you change the if conditions to
if 'port_id' in interface_info:
and
'subnet_id' in interface_info