~cbehrens/nova/lp844160-build-works-with-zones

« back to all changes in this revision

Viewing changes to nova/db/api.py

  • Committer: NTT PF Lab.
  • Date: 2010-12-24 11:38:49 UTC
  • mto: This revision was merged to the branch mainline in revision 564.
  • Revision ID: openstack@lab.ntt.co.jp-20101224113849-z9nemzmki17bxnvw
SupportĀ IPv6

Show diffs side-by-side

added added

removed removed

Lines of Context:
240
240
    """Get an instance for a fixed ip by address."""
241
241
    return IMPL.fixed_ip_get_instance(context, address)
242
242
 
 
243
def fixed_ip_get_instance_v6(context, address):
 
244
    return IMPL.fixed_ip_get_instance_v6(context, address)
 
245
 
243
246
 
244
247
def fixed_ip_get_network(context, address):
245
248
    """Get a network for a fixed ip by address."""
298
301
    """Get the fixed ip address of an instance."""
299
302
    return IMPL.instance_get_fixed_address(context, instance_id)
300
303
 
 
304
def instance_get_fixed_address_v6(context, instance_id):
 
305
    return IMPL.instance_get_fixed_address_v6(context, instance_id)
 
306
 
301
307
 
302
308
def instance_get_floating_address(context, instance_id):
303
309
    """Get the first floating ip address of an instance."""
476
482
    """
477
483
    return IMPL.project_get_network(context, project_id)
478
484
 
 
485
def project_get_network_v6(context, project_id):
 
486
    return IMPL.project_get_network_v6(context, project_id)
 
487
 
479
488
 
480
489
###################
481
490