def _nova_to_osvif_ip(ip):
 floating_ips = [fip['address'] for fip in ip.get('floating_ips', [])]
 return objects.fixed_ip.FixedIP(address=ip['address'], floating_ips=floating_ips)

def _nova_to_osvif_ip ( ip ) : floating_ips = [ fip [ 'address' ] for fip in ip . get ( 'floating_ips' , [ ] ) ] return objects . fixed_ip . FixedIP ( address = ip [ 'address' ] , floating_ips = floating_ips )
convert nova ip object into os_vif object .