def _nova_to_osvif_subnets(subnets):
 return objects.subnet.SubnetList(objects=[_nova_to_osvif_subnet(subnet) for subnet in subnets])

def _nova_to_osvif_subnets ( subnets ) : return objects . subnet . SubnetList ( objects = [ _nova_to_osvif_subnet ( subnet ) for subnet in subnets ] )
convert nova subnet list into os_vif object .