def get_networks_for_instance(context, instance):
 nw_info = compute_utils.get_nw_info_for_instance(instance)
 return get_networks_for_instance_from_nw_info(nw_info)

def get_networks_for_instance ( context , instance ) : nw_info = compute_utils . get_nw_info_for_instance ( instance ) return get_networks_for_instance_from_nw_info ( nw_info )
returns a prepared nw_info list for passing into the view builders we end up with a data structure like:: {public: {ips: [{address: 10 .