def _get_neutron_events(self, network_info):
    return [('network-vif-plugged', vif['id']) for vif in network_info if (vif.get('active', True) is False)]
def _get_neutron_events(self, network_info):
    return [('network-vif-plugged', vif['id']) for vif in network_info if (vif.get('active', True) is False)]