Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Size: Mime:
ó
±EYc@sdZddlmZddlmZddlmZddl	Z
ddlmZe
j
jZidd6Zejed	eƒZejeƒZd
ZdZd„Zd
„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z dd„Z"d„Z#e$d„Z%e$d„Z&d„Z'd„Z(d„Z)d„Z*d„Z+d„Z,d „Z-d!„Z.d"„Z/ddd#„Z0d$„Z1d%„Z2d&„Z3d'„Z4d(„Z5d)„Z6d*„Z7d+„Z8d,„Z9d-„Z:d.„Z;d/„Z<e$d0„Z=e>d1„Z?d2„Z@d3„ZAd4„ZBd5„ZCd6„ZDd7„ZEd8„ZFd9„ZGd:„ZHd;„ZId<„ZJd=„ZKd>„ZLd?„ZMd@„ZNdA„ZOdB„ZPdC„ZQdD„ZRdE„ZSdF„ZTdG„ZUdH„ZVdI„ZWdJ„ZXdK„ZYddL„ZZde$ddM„Z[ddddN„Z\dO„Z]dP„Z^dQ„Z_dR„Z`e$dS„ZadT„ZbddU„ZcdV„ZddW„ZedX„ZfdY„ZgdZ„Zhd[„Zid\„Zjd]„Zkd^„Zld_„Zmd`„Znda„Zodb„Zpdc„Zqdd„Zrde„Zsdf„Ztddg„Zuddh„Zvddi„Zwddj„Zxdkdlddddm„Zyddddddn„Zzdddddo„Z{ddp„Z|ddq„Z}ddr„Z~ds„Zdt„Z€du„Zddv„Z‚dddw„Zƒdx„Z„dy„Z…dddz„Z†d{„Z‡d|„Zˆd}„Z‰d~„ZŠd„Z‹d€„ZŒe$d„Zd‚„ZŽdƒ„Zd„„Zd…„Z‘d†„Z’dd‡„Z“dˆ„Z”d‰„Z•dŠ„Z–d‹„Z—dddŒ„Z˜d„Z™de$dŽ„Zšd„Z›d„Zœd‘„Ze>e>d’„Zžd“d”„ZŸd“d•„Z d“d–„Z¡dd—„Z¢dd˜„Z£d™„Z¤dš„Z¥d›„Z¦dœ„Z§d„Z¨ddž„Z©ddŸ„Zªd „Z«d¡„Z¬d¢„Z­d£„Z®dd¤„Z¯d¥„Z°d¦„Z±d§„Z²d¨„Z³d©„Z´ddª„Zµd«„Z¶d¬„Z·d­„Z¸ddd®„Z¹ddd¯„Zºddd°„Z»ddd±„Z¼d²„Z½d³„Z¾d´„Z¿ddµ„ZÀd¶„ZÁd·„ZÂdd¸„ZÃd¹„ZÄdº„ZÅe>d»„ZÆe>d¼„ZÇe>d½„ZÈd¾„ZÉd¿„ZÊddÀ„ZËddÁ„ZÌd„ZÍdÄZÎdĄZÏdńZÐddƄZÑddDŽZÒdȄZÓdɄZÔdʄZÕd˄ZÖdd̄Z×d̈́ZØd΄ZÙdτZÚddЄZÛdфZÜd҄ZÝdӄZÞdԄZßdՄZàdքZádׄZâd؄ZãdلZädڄZådۄZæe>d܄Zçd݄ZèdބZéd߄Zêdà„Zëdá„Zìdâ„Zíddã„Zîddä„Zïddå„Zðe$ddædçdddè„Zñdé„Zòdê„Zóddë„Zôdì„Zõdí„Zödî„Z÷dï„Zødð„Zùdñ„Zúdò„Zûdó„Züdô„Zýdõ„Zþdö„Zÿd÷„Zdø„Zdù„Zdú„Zdû„Zdü„Zdý„Zdþ„Zdÿ„Zd„Z	d„Z
d„Zd„Zd„Z
d„Zdd„Zd„Zd„Zd	„Zd
„Zde>d„Zd„Ze$d
„Zd„Zd„Zd„Zdd„Zd„Zdd„Zd„Zdd„Zd„Zd„Z d„Z!d„Z"e$d„Z#d„Z$d„Z%d„Z&d„Z'd„Z(d „Z)d!„Z*d"„Z+d#„Z,d$„Z-d%„Z.d&„Z/d'„Z0d(„Z1d)„Z2d*„Z3dd+„Z4d,„Z5d-„Z6dd.„Z7ddd/„Z8ddd0„Z9dd1„Z:dd2„Z;d3„Z<d4„Z=d5„Z>d6„Z?d7„Z@d8„ZAd9„ZBd:„ZCd;„ZDd<„ZEd=„ZFd>„ZGd?„ZHdS(@s¸Defines interface for DB access.

Functions in this module are imported into the nova.db namespace. Call these
functions from nova.db namespace, not the nova.db.api namespace.

All functions in this module return objects that implement a dictionary-like
interface. Currently, many of these objects are sqlalchemy objects that
implement a dictionary interface. However, a future goal is to have all of
these objects be simple dictionaries.

iÿÿÿÿ(tconcurrency(tlog(trpcapiN(t_LEsnova.db.sqlalchemy.apit
sqlalchemytbackend_mappingiÿÿÿg,нýÿïGcKs
tj|S(s>Return a constraint object suitable for use with some updates.(tIMPLt
constraint(t
conditions((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR>scGs
tj|ŒS(s³Return an equality condition object suitable for use in a constraint.

    Equal_any conditions require that a model object's attribute equal any
    one of the given values.
    (Rt	equal_any(tvalues((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR	CscGs
tj|ŒS(s¸Return an inequality condition object suitable for use in a constraint.

    Not_equal conditions require that a model object's attribute differs from
    all of the given values.
    (Rt	not_equal(R
((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRLscCstjd|ƒS(s8Return a context manager for a cell database connection.t
connection(Rtcreate_context_manager(R((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR
UscCs
tj|ƒS(sØDecorator to select synchronous or asynchronous reader mode.

    The kwarg argument 'use_slave' defines reader mode. Asynchronous reader
    will be used if 'use_slave' is True and synchronous reader otherwise.
    (Rtselect_db_reader_mode(tf((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR]scCstj||ƒS(s2Destroy the service or raise if it does not exist.(Rtservice_destroy(tcontextt
service_id((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRiscCstj||ƒS(s,Get a service or raise if it does not exist.(Rtservice_get(RR((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRnscCstj||ƒS(s0Get the minimum service version in the database.(Rtservice_get_minimum_version(Rtbinary((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRsscCstj|||ƒS(s2Get a service by hostname and topic it listens to.(Rtservice_get_by_host_and_topic(Rthostttopic((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRxscCstj|||ƒS(s%Get a service by hostname and binary.(Rtservice_get_by_host_and_binary(RRR((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR}scCstj||ƒS(sGet all services.(Rtservice_get_all(Rtdisabled((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR‚scCstj||ƒS(s#Get all services for a given topic.(Rtservice_get_all_by_topic(RR((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR‡scCstj||d|ƒS(smGet services for a given binary.

    Includes disabled services if 'include_disabled' parameter is True
    tinclude_disabled(Rtservice_get_all_by_binary(RRR((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRŒscCstj||d|ƒS(sƒGet all compute services for a given hypervisor type.

    Includes disabled services if 'include_disabled' parameter is True.
    R(Rt#service_get_all_computes_by_hv_type(Rthv_typeR((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR•scCstj||ƒS(s"Get all services for a given host.(Rtservice_get_all_by_host(RR((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR!ŸscCstj||ƒS(swGet the service entry for a given compute host.

    Returns the service entry joined with the compute_node entry.
    (Rtservice_get_by_compute_host(RR((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR"¤scCstj||ƒS(s,Create a service from the values dictionary.(Rtservice_create(RR
((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR#¬scCstj|||ƒS(sjSet the given properties on a service and update it.

    Raises NotFound if service does not exist.

    (Rtservice_update(RRR
((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR$±scCstj||ƒS(sGet a compute node by its id.

    :param context: The security context
    :param compute_id: ID of the compute node

    :returns: Dictionary-like object containing properties of the compute node

    Raises ComputeHostNotFound if compute node with the given ID doesn't exist.
    (Rtcompute_node_get(Rt
compute_id((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR%½s
cCstj||ƒS(s4Get a compute node sqlalchemy model object by its id.

    :param context: The security context
    :param compute_id: ID of the compute node

    :returns: Sqlalchemy model object containing properties of the compute node

    Raises ComputeHostNotFound if compute node with the given ID doesn't exist.
    (Rtcompute_node_get_model(RR&((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR'Ìs
cCstj||ƒS(s•Get a list of compute nodes by their associated service id.

    :param context: The security context
    :param service_id: ID of the associated service

    :returns: List of dictionary-like objects, each containing properties of
              the compute node, including its corresponding service and
              statistics

    Raises ServiceNotFound if service with the given ID doesn't exist.
    (Rtcompute_nodes_get_by_service_id(RR((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR(ÙscCstj|||ƒS(syGet a compute node by its associated host and nodename.

    :param context: The security context (admin)
    :param host: Name of the host
    :param nodename: Name of the node

    :returns: Dictionary-like object containing properties of the compute node,
              including its statistics

    Raises ComputeHostNotFound if host with the given name doesn't exist.
    (Rt%compute_node_get_by_host_and_nodename(RRtnodename((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR)èscCs
tj|ƒS(sGet all computeNodes.

    :param context: The security context

    :returns: List of dictionaries each containing compute node properties
    (Rtcompute_node_get_all(R((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR+÷scCstj|d|d|ƒS(sKGet compute nodes by pagination.
    :param context: The security context
    :param limit: Maximum number of items to return
    :param marker: The last item of the previous page, the next results after
                   this value will be returned

    :returns: List of dictionaries each containing compute node properties
    tlimittmarker(Rt"compute_node_get_all_by_pagination(RR,R-((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR.s	cCstj||ƒS(sÃGet compute nodes by host name

    :param context: The security context (admin)
    :param host: Name of the host

    :returns: List of dictionaries each containing compute node properties
    (Rtcompute_node_get_all_by_host(RR((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR/scCstj||ƒS(sòGet compute nodes by hypervisor hostname.

    :param context: The security context
    :param hypervisor_match: The hypervisor hostname

    :returns: List of dictionary-like objects each containing compute node
              properties
    (Rt!compute_node_search_by_hypervisor(Rthypervisor_match((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR0s	cCstj||ƒS(s7Create a compute node from the values dictionary.

    :param context: The security context
    :param values: Dictionary containing compute node properties

    :returns: Dictionary-like object containing the properties of the created
              node, including its corresponding service and statistics
    (Rtcompute_node_create(RR
((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR2%s	cCstj|||ƒS(sÔSet the given properties on a compute node and update it.

    :param context: The security context
    :param compute_id: ID of the compute node
    :param values: Dictionary containing compute node properties to be updated

    :returns: Dictionary-like object containing the properties of the updated
              compute node, including its corresponding service and statistics

    Raises ComputeHostNotFound if compute node with the given ID doesn't exist.
    (Rtcompute_node_update(RR&R
((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR31scCstj||ƒS(sÖDelete a compute node from the database.

    :param context: The security context
    :param compute_id: ID of the compute node

    Raises ComputeHostNotFound if compute node with the given ID doesn't exist.
    (Rtcompute_node_delete(RR&((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR4@scCs
tj|ƒS(söGet aggregate statistics over all compute nodes.

    :param context: The security context

    :returns: Dictionary containing compute node characteristics summed up
              over all the compute nodes, e.g. 'vcpus', 'free_ram_mb' etc.
    (Rtcompute_node_statistics(R((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR5KscCstj||ƒS(s0Create a certificate from the values dictionary.(Rtcertificate_create(RR
((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR6YscCstj||ƒS(s#Get all certificates for a project.(Rtcertificate_get_all_by_project(Rt
project_id((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR7^scCstj||ƒS(s Get all certificates for a user.(Rtcertificate_get_all_by_user(Rtuser_id((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR9cscCstj|||ƒS(s,Get all certificates for a user and project.(Rt'certificate_get_all_by_user_and_project(RR:R8((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR;hs	cCstj||ƒS(N(Rtfloating_ip_get(Rtid((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR<qscCs
tj|ƒS(s$Returns a list of floating IP pools.(Rtfloating_ip_get_pools(R((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR>uscCstj||||ƒS(spAllocate free floating IP from specified pool and return the address.

    Raises if one is not available.

    (Rtfloating_ip_allocate_address(RR8tpoolt
auto_assigned((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR?zscCstj||d|ƒS(s†Create a lot of floating IPs from the values dictionary.
        :param want_result: If set to True, return floating IPs inserted
    twant_result(Rtfloating_ip_bulk_create(RtipsRB((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRC…scCstj||ƒS(s9Destroy a lot of floating IPs from the values dictionary.(Rtfloating_ip_bulk_destroy(RRD((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyREŒscCstj||ƒS(s0Create a floating IP from the values dictionary.(Rtfloating_ip_create(RR
((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRF‘scCstj||ƒS(s$Deallocate a floating IP by address.(Rtfloating_ip_deallocate(Rtaddress((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRG–scCstj||ƒS(s6Destroy the floating_ip or raise if it does not exist.(Rtfloating_ip_destroy(RRH((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRI›scCstj||ƒS(sµDisassociate a floating IP from a fixed IP by address.

    :returns: the fixed IP record joined to network record or None
              if the IP was not associated to an IP.

    (Rtfloating_ip_disassociate(RRH((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRJ scCstj||||ƒS(sºAssociate a floating IP to a fixed_ip by address.

    :returns: the fixed IP record joined to network record or None
              if the IP was already associated to the fixed IP.
    (Rtfloating_ip_fixed_ip_associate(Rtfloating_addresst
fixed_addressR((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRKªs	cCs
tj|ƒS(sGet all floating IPs.(Rtfloating_ip_get_all(R((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRN¸scCstj||ƒS(sGet all floating IPs by host.(Rtfloating_ip_get_all_by_host(RR((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRO½scCstj||ƒS(s Get all floating IPs by project.(Rtfloating_ip_get_all_by_project(RR8((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRPÂscCstj||ƒS(s:Get a floating IP by address or raise if it doesn't exist.(Rtfloating_ip_get_by_address(RRH((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRQÇscCstj||ƒS(s$Get a floating IPs by fixed address.(Rt floating_ip_get_by_fixed_address(RRM((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRRÌscCstj||ƒS(s$Get a floating IPs by fixed address.(Rtfloating_ip_get_by_fixed_ip_id(Rtfixed_ip_id((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRSÑscCstj|||ƒS(s=Update a floating IP by address or raise if it doesn't exist.(Rtfloating_ip_update(RRHR
((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRUÖscCs
tj|ƒS(s-Get a list of all dnsdomains in our database.(Rtdnsdomain_get_all(R((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRVÛscCstj|||ƒS(s2Associated a DNS domain with an availability zone.(Rtdnsdomain_register_for_zone(Rtfqdomaintzone((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRWàscCstj|||ƒS(s*Associated a DNS domain with a project id.(Rtdnsdomain_register_for_project(RRXtproject((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRZåscCstj||ƒS(s.Purge associations for the specified DNS zone.(Rtdnsdomain_unregister(RRX((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR\êscCstj||ƒS(s+Get the db record for the specified domain.(Rt
dnsdomain_get(RRX((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR]ïscCstj|||ƒS(sUpdate a migration instance.(Rtmigration_update(RR=R
((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR^÷scCstj||ƒS(sCreate a migration record.(Rtmigration_create(RR
((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR_üscCstj||ƒS(sFinds a migration by the id.(Rt
migration_get(Rtmigration_id((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR`scCstj|||ƒS(s<Finds a migration by the migration id and the instance uuid.(Rt migration_get_by_id_and_instance(RRat
instance_uuid((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRbs	cCstj|||ƒS(s5Finds a migration by the instance uuid its migrating.(Rt$migration_get_by_instance_and_status(RRctstatus((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRd
scCstj|||ƒS(sqFinds all unconfirmed migrations within the confirmation window for
    a specific destination compute host.
    (Rt)migration_get_unconfirmed_by_dest_compute(Rtconfirm_windowtdest_compute((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRfs	cCstj|||ƒS(s`Finds all migrations for the given host + node  that are not yet
    confirmed or reverted.
    (Rt*migration_get_in_progress_by_host_and_node(RRtnode((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRiscCstj||ƒS(s!Finds all migrations in progress.(Rtmigration_get_all_by_filters(Rtfilters((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRk#scCstj|||ƒS(s0Finds all migrations of an instance in progress.(Rt%migration_get_in_progress_by_instance(RRctmigration_type((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRm(scCstj||||||ƒS(sOAssociate fixed IP to instance.

    Raises if fixed IP is not available.

    (Rtfixed_ip_associate(RRHRct
network_idtreservedtvirtual_interface_id((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRo2scCstj|||||ƒS(shFind free IP in network and associate it to instance or host.

    Raises if one is not available.

    (Rtfixed_ip_associate_pool(RRpRcRRr((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRs=scCstj||ƒS(s-Create a fixed IP from the values dictionary.(Rtfixed_ip_create(RR
((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRtIscCstj||ƒS(s5Create a lot of fixed IPs from the values dictionary.(Rtfixed_ip_bulk_create(RRD((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRuNscCstj||ƒS(s4Disassociate a fixed IP from an instance by address.(Rtfixed_ip_disassociate(RRH((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRvSscCstj|||ƒS(s%Disassociate old fixed IPs from host.(Rt$fixed_ip_disassociate_all_by_timeout(RRttime((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRwXscCstj|||ƒS(swGet fixed IP by id or raise if it does not exist.

    If get_network is true, also return the associated network.
    (Rtfixed_ip_get(RR=tget_network((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRy]scCs
tj|ƒS(sGet all defined fixed IPs.(Rtfixed_ip_get_all(R((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR{escCstj||d|ƒS(s8Get a fixed IP by address or raise if it does not exist.tcolumns_to_join(Rtfixed_ip_get_by_address(RRHR|((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR}jscCstj||ƒS(s%Get a fixed IP by a floating address.(Rt fixed_ip_get_by_floating_address(RRL((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR~pscCstj||ƒS(s1Get fixed IPs by instance or raise if none exist.(Rtfixed_ip_get_by_instance(RRc((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRuscCstj||ƒS(sGet fixed IPs by compute host.(Rtfixed_ip_get_by_host(RR((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR€zscCstj|||ƒS(s%Get fixed IP for a host in a network.(Rtfixed_ip_get_by_network_host(Rtnetwork_uuidR((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRscCstj||ƒS(s:Get fixed IPs by virtual interface or raise if none exist.(Rtfixed_ips_by_virtual_interface(Rtvif_id((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRƒ„scCstj|||ƒS(s-Create a fixed IP from the values dictionary.(Rtfixed_ip_update(RRHR
((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR…‰scCstj||ƒS(s2Create a virtual interface record in the database.(Rtvirtual_interface_create(RR
((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR†‘scCstj|||ƒS(s2Create a virtual interface record in the database.(Rtvirtual_interface_update(RRHR
((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR‡–scCstj||ƒS(s(Gets a virtual interface from the table.(Rtvirtual_interface_get(RR„((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRˆ›scCstj||ƒS(s=Gets a virtual interface from the table filtering on address.(Rt virtual_interface_get_by_address(RRH((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR‰ scCstj||ƒS(s>Gets a virtual interface from the table filtering on vif uuid.(Rtvirtual_interface_get_by_uuid(Rtvif_uuid((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRŠ¥scCstj||ƒS(s)Gets all virtual_interfaces for instance.(Rt!virtual_interface_get_by_instance(Rtinstance_id((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRŒªscCstj|||ƒS(s)Gets all virtual interfaces for instance.(Rt-virtual_interface_get_by_instance_and_network(RRRp((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRޝs	cCstj||ƒS(s:Delete virtual interface records associated with instance.(Rt$virtual_interface_delete_by_instance(RR((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR·scCstj||ƒS(sDelete virtual interface by id.(Rtvirtual_interface_delete(RR=((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR¼scCs
tj|ƒS(s+Gets all virtual interfaces from the table.(Rtvirtual_interface_get_all(R((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR‘ÁscCstj||ƒS(s.Create an instance from the values dictionary.(Rtinstance_create(RR
((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR’ÉscCstj|||ƒS(s3Destroy the instance or raise if it does not exist.(Rtinstance_destroy(RRcR((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR“ÎscCstj|||ƒS(s.Get an instance or raise if it does not exist.(Rtinstance_get_by_uuid(RtuuidR|((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR”ÓscCstj||d|ƒS(s.Get an instance or raise if it does not exist.R|(Rtinstance_get(RRR|((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR–ØscCstj|d|ƒS(sGet all instances.R|(Rtinstance_get_all(RR|((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR—Þst
created_attdesccCs(tj||||d|d|d|ƒS(s)Get all instances that match all filters.R,R-R|(Rtinstance_get_all_by_filters(RRltsort_keytsort_dirR,R-R|((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRšãsc
Cs.tj||d|d|d|d|d|ƒS(s~Get all instances that match all filters sorted by multiple keys.

    sort_keys and sort_dirs must be a list of strings.
    R,R-R|t	sort_keyst	sort_dirs(Rt instance_get_all_by_filters_sort(RRlR,R-R|RRž((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRŸñscCstj|||||d|ƒS(sÊGet instances and joins active during a certain time window.

    Specifying a project_id will filter for a certain project.
    Specifying a host will filter for instances on a given compute host.
    R|(Rt$instance_get_active_by_window_joined(RtbegintendR8RR|((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR þs	cCstj|||ƒS(s&Get all instances belonging to a host.(Rtinstance_get_all_by_host(RRR|((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR£scCstj|||d|ƒS(s&Get all instances belonging to a node.R|(Rt!instance_get_all_by_host_and_node(RRRjR|((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR¤scCstj|||ƒS(s?Get all instances belonging to a host with a different type_id.(Rt%instance_get_all_by_host_and_not_type(RRttype_id((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR¥scCstj||ƒS(sDGet instances with rules granted to them by a list of secgroups ids.(Rt+instance_get_all_by_grantee_security_groups(Rt	group_ids((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR§scCstj||ƒS(s-Get all floating IP addresses of an instance.(Rt!instance_floating_address_get_all(RRc((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR©!scCstj||ƒS(s-Get all instances stuck in a rebooting state.(Rt"instance_get_all_hung_in_rebooting(Rt
reboot_window((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRª'scCstj|||d|ƒS(smSet the given properties on an instance and update it.

    Raises NotFound if instance does not exist.

    texpected(Rtinstance_update(RRcR
R¬((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR­,scCs%tj|||d|d|ƒ}|S(s£Set the given properties on an instance and update it. Return
    a shallow copy of the original instance reference, as well as the
    updated one.

    :param context: = request context object
    :param instance_uuid: = instance id or uuid
    :param values: = dict containing column values

    :returns: a tuple of the form (old_instance_ref, new_instance_ref)

    Raises NotFound if instance does not exist.
    R|R¬(Rt instance_update_and_get_original(RRcR
R|R¬trv((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR®6s	cCstj|||ƒS(s;Associate the given security group with the given instance.(Rtinstance_add_security_group(RRtsecurity_group_id((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR°JscCstj|||ƒS(s>Disassociate the given security group from the given instance.(Rtinstance_remove_security_group(RRR±((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR²PscCstj||||ƒS(ssCreate a new group.

    Each group will receive a unique uuid. This will be used for access to the
    group.
    (Rtinstance_group_create(RR
tpoliciestmembers((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR³YscCstj||ƒS(sGet a specific group by id.(Rtinstance_group_get(Rt
group_uuid((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR¶bscCstj||ƒS(s)Get the group an instance is a member of.(Rtinstance_group_get_by_instance(RRc((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR¸gscCstj|||ƒS(s"Update the attributes of an group.(Rtinstance_group_update(RR·R
((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR¹lscCstj||ƒS(sDelete an group.(Rtinstance_group_delete(RR·((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRºqscCs
tj|ƒS(sGet all groups.(Rtinstance_group_get_all(R((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR»vscCstj||ƒS(s)Get all groups for a specific project_id.(Rt$instance_group_get_all_by_project_id(RR8((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR¼{scCstj|||d|ƒS(sAdd members to the group.t
set_delete(Rtinstance_group_members_add(RR·RµR½((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR¾€scCstj|||ƒS(s(Delete a specific member from the group.(Rtinstance_group_member_delete(RR·R((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR¿‡scCstj||ƒS(sGet the members from the group.(Rtinstance_group_members_get(RR·((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRÀŒscCstj||ƒS(soGets an instance info cache from the table.

    :param instance_uuid: = uuid of the info cache's instance
    (Rtinstance_info_cache_get(RRc((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRÁ”scCstj|||ƒS(s¯Update an instance info cache record in the table.

    :param instance_uuid: = uuid of info cache's instance
    :param values: = dict containing column values to update
    (Rtinstance_info_cache_update(RRcR
((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRœscCstj||ƒS(s~Deletes an existing instance_info_cache record

    :param instance_uuid: = uuid of the instance tied to the cache record
    (Rtinstance_info_cache_delete(RRc((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRÃ¥scCstj||d|ƒS(s½Get the instance extra record

    :param instance_uuid: = uuid of the instance tied to the topology record
    :param columns: A list of the columns to load, or None for 'all of them'
    tcolumns(Rt#instance_extra_get_by_instance_uuid(RRcRÄ((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRŰscCstj|||ƒS(sªUpdate the instance extra record by instance uuid

    :param instance_uuid: = uuid of the instance tied to the record
    :param updates: A dict of updates to apply
    (Rtinstance_extra_update_by_uuid(RRctupdates((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRƺscCstj||ƒS(s-Create a key_pair from the values dictionary.(Rtkey_pair_create(RR
((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRÈÇscCstj|||ƒS(s3Destroy the key_pair or raise if it does not exist.(Rtkey_pair_destroy(RR:tname((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRÉÌscCstj|||ƒS(s-Get a key_pair or raise if it does not exist.(Rtkey_pair_get(RR:RÊ((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRËÑscCstj||d|d|ƒS(sGet all key_pairs by user.R,R-(Rtkey_pair_get_all_by_user(RR:R,R-((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRÌÖscCstj||ƒS(s0Count number of key pairs for the given user ID.(Rtkey_pair_count_by_user(RR:((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRÍÜscCstj||||ƒS(s&Associate a free network to a project.(Rtnetwork_associate(RR8Rptforce((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRÎäscCstj||ƒS(s1Return the number of reserved IPs in the network.(Rtnetwork_count_reserved_ips(RRp((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRÐéscCstj||ƒS(sÉCreate a network from the values dict.

    The network is only returned if the create succeeds. If the create violates
    constraints because the network already exists, no exception is raised.

    (Rtnetwork_create_safe(RR
((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRÑîscCstj||ƒS(svDelete network with key network_id.

    This method assumes that the network is not associated with any project

    (Rtnetwork_delete_safe(RRp((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRÒøscCstj||||ƒS(sTDisassociate the network from project or host

    Raises if it does not exist.
    (Rtnetwork_disassociate(RRptdisassociate_hosttdisassociate_project((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRÓst
allow_nonecCstj||d|ƒS(s,Get a network or raise if it does not exist.tproject_only(Rtnetwork_get(RRpR×((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRØscCstj||ƒS(sReturn all defined networks.(Rtnetwork_get_all(RR×((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRÙscCstj||d|ƒS(sReturn networks by ids.R×(Rtnetwork_get_all_by_uuids(Rt
network_uuidsR×((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRÚscCstj|||ƒS(s3Indicates if a network is currently in use on host.(Rtnetwork_in_use_on_host(RRpR((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRÜscCstj|||ƒS(s0Get all network's IPs that have been associated.(Rt network_get_associated_fixed_ips(RRpR((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRÝ!scCstj||ƒS(s4Get a network by uuid or raise if it does not exist.(Rtnetwork_get_by_uuid(RR•((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRÞ&scCstj||ƒS(s4Get a network by cidr or raise if it does not exist.(Rtnetwork_get_by_cidr(Rtcidr((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRß+scCstj||ƒS(s:All networks for which the given host is the network host.(Rtnetwork_get_all_by_host(RR((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRá0scCstj|||ƒS(s Safely set the host for network.(Rtnetwork_set_host(RRpthost_id((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRâ5scCstj|||ƒS(sjSet the given properties on a network and update it.

    Raises NotFound if network does not exist.

    (Rtnetwork_update(RRpR
((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRä:scCstj||||d|ƒS(s2Create a quota for the given project and resource.R:(Rtquota_create(RR8tresourceR,R:((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRåFscCstj|||d|ƒS(s/Retrieve a quota or raise if it does not exist.R:(Rt	quota_get(RR8RæR:((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRçLscCstj|||ƒS(s=Retrieve all quotas associated with a given project and user.(Rt!quota_get_all_by_project_and_user(RR8R:((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRèQscCstj||ƒS(s4Retrieve all quotas associated with a given project.(Rtquota_get_all_by_project(RR8((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRéVscCs
tjƒS(svRetrieve the names of resources whose quotas are calculated on a
       per-project rather than a per-user basis.
    (Rtquota_get_per_project_resources(((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRê[scCstj||ƒS(s9Retrieve all user quotas associated with a given project.(Rt
quota_get_all(RR8((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRëbscCstj||||d|ƒS(s-Update a quota or raise if it does not exist.R:(Rtquota_update(RR8RæR,R:((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRìgscCstj||||ƒS(s5Create a quota class for the given name and resource.(Rtquota_class_create(Rt
class_nameRæR,((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRípscCstj|||ƒS(s5Retrieve a quota class or raise if it does not exist.(Rtquota_class_get(RRîRæ((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRïuscCs
tj|ƒS(sRetrieve all default quotas.(Rtquota_class_get_default(R((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRðzscCstj||ƒS(s8Retrieve all quotas associated with a given quota class.(Rtquota_class_get_all_by_name(RRî((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRñscCstj||||ƒS(s3Update a quota class or raise if it does not exist.(Rtquota_class_update(RRîRæR,((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRò„scCstj|||d|ƒS(s5Retrieve a quota usage or raise if it does not exist.R:(Rtquota_usage_get(RR8RæR:((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRóŒscCstj|||ƒS(s4Retrieve all usage associated with a given resource.(Rt'quota_usage_get_all_by_project_and_user(RR8R:((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRô‘s	cCstj||ƒS(s4Retrieve all usage associated with a given resource.(Rtquota_usage_get_all_by_project(RR8((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRõ—scKstj|||||S(s3Update a quota usage or raise if it does not exist.(Rtquota_usage_update(RR8R:Rætkwargs((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRöœsc
Cs%tj|||||d|d|ƒS(s³Refresh the quota usages.

    :param context: The request context, for access checks.
    :param resources: A dictionary of the registered resources.
    :param keys: Names of the resources whose usage is to be refreshed.
    :param until_refresh:  The until_refresh configuration value.
    :param max_age:  The max_age configuration value.
    :param project_id: (Optional) The project_id containing the usages
                       to be refreshed.  Defaults to the project_id
                       in the context.
    :param user_id: (Optional) The user_id containing the usages
                     to be refreshed.  Defaults to the user_id
                     in the context.

    R8R:(Rtquota_usage_refresh(Rt	resourcestkeyst
until_refreshtmax_ageR8R:((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRø¢sc


Cs.tj||||||||d|d|	ƒS(s1Check quotas and create appropriate reservations.R8R:(Rt
quota_reserve(
RRùtquotastuser_quotastdeltastexpireRûRüR8R:((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRýºscCstj||d|d|ƒS(sCommit quota reservations.R8R:(Rtreservation_commit(RtreservationsR8R:((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRÂscCstj||d|d|ƒS(sRoll back quota reservations.R8R:(Rtreservation_rollback(RRR8R:((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRÉscCstj|||ƒS(s<Destroy all quotas associated with a given project and user.(Rt%quota_destroy_all_by_project_and_user(RR8R:((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRÐs	cCstj||ƒS(s3Destroy all quotas associated with a given project.(Rtquota_destroy_all_by_project(RR8((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRÖscCs
tj|ƒS(s#Roll back any expired reservations.(Rtreservation_expire(R((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRÛscCstj|||ƒS(N(Rtec2_volume_create(Rt	volume_idt	forced_id((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRãscCstj||ƒS(N(Rtec2_volume_get_by_id(RR	((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRçscCstj||ƒS(N(Rtec2_volume_get_by_uuid(Rtvolume_uuid((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRëscCstj|||ƒS(N(Rtec2_snapshot_create(Rtsnapshot_idR
((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRïscCstj||ƒS(N(Rtec2_snapshot_get_by_ec2_id(Rtec2_id((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRóscCstj||ƒS(N(Rtec2_snapshot_get_by_uuid(Rt
snapshot_uuid((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR÷scCstj|||ƒS(s(Create an entry of block device mapping.(Rtblock_device_mapping_create(RR
tlegacy((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRþscCstj||||ƒS(s(Update an entry of block device mapping.(Rtblock_device_mapping_update(Rtbdm_idR
R((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRscCstj|||ƒS(sUUpdate an entry of block device mapping.

    If not existed, create a new entry
    (Rt%block_device_mapping_update_or_create(RR
R((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRscCstj||ƒS(s>Get all block device mapping belonging to a list of instances.(Rt.block_device_mapping_get_all_by_instance_uuids(Rtinstance_uuids((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRs	cCstj||ƒS(s6Get all block device mapping belonging to an instance.(Rt(block_device_mapping_get_all_by_instance(RRc((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRs	cCstj|||ƒS(s,Get block device mapping for a given volume.(Rt)block_device_mapping_get_all_by_volume_id(RR	R|((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRscCstj||||ƒS(sAGet block device mapping for a given volume ID and instance UUID.(Rt2block_device_mapping_get_by_instance_and_volume_id(RR	RcR|((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR#scCstj||ƒS(s!Destroy the block device mapping.(Rtblock_device_mapping_destroy(RR((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR+scCstj|||ƒS(s!Destroy the block device mapping.(Rt3block_device_mapping_destroy_by_instance_and_device(RRctdevice_name((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR0scCstj|||ƒS(s!Destroy the block device mapping.(Rt3block_device_mapping_destroy_by_instance_and_volume(RRcR	((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR!7scCs
tj|ƒS(sGet all security groups.(Rtsecurity_group_get_all(R((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR"AscCstj|||ƒS(sGet security group by its id.(Rtsecurity_group_get(RR±R|((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR#FscCstj|||ddƒS(s@Returns a security group with the specified name from a project.R|N(Rtsecurity_group_get_by_nametNone(RR8t
group_nameR|((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR$LscCstj||ƒS(s/Get all security groups belonging to a project.(Rtsecurity_group_get_by_project(RR8((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR'SscCstj||ƒS(s6Get security groups to which the instance is assigned.(Rtsecurity_group_get_by_instance(RRc((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR(XscCstj||ƒS(s2Indicates if a security group is currently in use.(Rtsecurity_group_in_use(Rtgroup_id((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR)]scCstj||ƒS(sCreate a new security group.(Rtsecurity_group_create(RR
((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR+bscCstj|||d|ƒS(sUpdate a security group.R|(Rtsecurity_group_update(RR±R
R|((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR,gscCs
tj|ƒS(sÿEnsure default security group exists for a project_id.

    Returns a tuple with the first element being a bool indicating
    if the default security group previously existed. Second
    element is the dict used to create the default security group.
    (Rtsecurity_group_ensure_default(R((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR-nscCstj||ƒS(sDeletes a security group.(Rtsecurity_group_destroy(RR±((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR.xscCstj||ƒS(sCreate a new security group.(Rtsecurity_group_rule_create(RR
((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR/€scCstj||d|ƒS(s)Get all rules for a given security group.R|(Rt)security_group_rule_get_by_security_group(RR±R|((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR0…scCstj||ƒS(s#Get all rules for a given instance.(Rt#security_group_rule_get_by_instance(RRc((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR1ŒscCstj||ƒS(sDeletes a security group rule.(Rtsecurity_group_rule_destroy(Rtsecurity_group_rule_id((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR2‘scCstj||ƒS(sGets a security group rule.(Rtsecurity_group_rule_get(RR3((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR4–scCstj||ƒS(s&Count rules in a given security group.(Rt"security_group_rule_count_by_group(RR±((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR5›scCstj||ƒS(N(Rtsecurity_group_default_rule_get(Rtsecurity_group_rule_default_id((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR6£s	cCstj||ƒS(N(Rt#security_group_default_rule_destroy(RR7((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR8¨scCstj||ƒS(N(Rt"security_group_default_rule_create(RR
((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR9®scCs
tj|ƒS(N(Rt security_group_default_rule_list(R((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR:²scCstj||ƒS(sBAdd a firewall rule at the provider level (all hosts & instances).(Rtprovider_fw_rule_create(Rtrule((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR;¹scCs
tj|ƒS(s&Get all provider-level firewall rules.(Rtprovider_fw_rule_get_all(R((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR=¾scCstj||ƒS(s2Delete a provider firewall rule from the database.(Rtprovider_fw_rule_destroy(Rtrule_id((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR>ÃscCstj|||ƒS(s¯Return the network associated with the project.

    If associate is true, it will attempt to associate a new
    network if one is not found, otherwise it returns None.

    (Rtproject_get_networks(RR8t	associate((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR@ËscCstj||ƒS(sCreate console pool.(Rtconsole_pool_create(RR
((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRBØscCstj||||ƒS(sDFetch a console pool for a given proxy host, compute host, and type.(Rtconsole_pool_get_by_host_type(Rtcompute_hostt
proxy_hosttconsole_type((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRCÝs	cCstj|||ƒS(s.Fetch all pools for given proxy host and type.(Rt!console_pool_get_all_by_host_type(RRRF((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRGæs	cCstj||ƒS(sCreate a console.(Rtconsole_create(RR
((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRHíscCstj||ƒS(sDelete a console.(Rtconsole_delete(Rt
console_id((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRIòscCstj|||ƒS(s0Get console entry for a given instance and pool.(Rtconsole_get_by_pool_instance(Rtpool_idRc((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRK÷scCstj|||ƒS(s"Get consoles for a given instance.(Rtconsole_get_all_by_instance(RRcR|((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRMüscCstj|||ƒS(s6Get a specific console (possibly on a given instance).(Rtconsole_get(RRJRc((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRNscCstj||d|ƒS(sCreate a new instance type.tprojects(Rt
flavor_create(RR
RO((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRP	stflavoridtasccCs1tj|d|d|d|d|d|d|ƒS(sGet all instance flavors.tinactiveRlR›RœR,R-(Rtflavor_get_all(RRSRlR›RœR,R-((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRTscCstj||ƒS(sGet instance type by id.(Rt
flavor_get(RR=((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRUscCstj||ƒS(sGet instance type by name.(Rtflavor_get_by_name(RRÊ((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRVscCstj|||ƒS(sGet instance type by flavor id.(Rtflavor_get_by_flavor_id(RR=tread_deleted((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRW scCstj||ƒS(sDelete an instance type.(Rtflavor_destroy(Rt	flavor_id((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRY%scCstj||ƒS(sGet flavor access by flavor id.(Rtflavor_access_get_by_flavor_id(RRZ((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR[*scCstj|||ƒS(sAdd flavor access for project.(Rtflavor_access_add(RRZR8((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR\/scCstj|||ƒS(s!Remove flavor access for project.(Rtflavor_access_remove(RRZR8((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR]4scCstj||ƒS(s)Get all extra specs for an instance type.(Rtflavor_extra_specs_get(RRZ((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR^9scCstj|||ƒdS(s"Delete the given extra specs item.N(Rtflavor_extra_specs_delete(RRZtkey((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR_>scCstj|||ƒdS(sŽCreate or update instance type extra specs.

    This adds or modifies the key/value pairs specified in the
    extra specs dict argument
    N(Rt#flavor_extra_specs_update_or_create(RRZtextra_specs((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRaCscCstj|||ƒS(sGet PCI device by address.(Rtpci_device_get_by_addr(Rtnode_idtdev_addr((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRcPscCstj||ƒS(sGet PCI device by id.(Rtpci_device_get_by_id(RR=((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRfUscCstj||ƒS(s!Get all PCI devices for one host.(Rtpci_device_get_all_by_node(RRd((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRgZscCstj||ƒS(s&Get PCI devices allocated to instance.(Rt#pci_device_get_all_by_instance_uuid(RRc((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRh_scCstj|||ƒS(s&Get all PCI devices by parent address.(Rt!pci_device_get_all_by_parent_addr(RRdtparent_addr((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRidscCstj|||ƒS(sDelete a PCI device record.(Rtpci_device_destroy(RRdRH((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRkjscCstj||||ƒS(sUpdate a pci device.(Rtpci_device_update(RRdRHtvalue((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRloscCstj||ƒS(sCreate a new child Cell entry.(Rtcell_create(RR
((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRnvscCstj|||ƒS(sUpdate a child Cell entry.(Rtcell_update(Rt	cell_nameR
((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRo{scCstj||ƒS(sDelete a child Cell.(Rtcell_delete(RRp((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRq€scCstj||ƒS(sGet a specific child Cell.(Rtcell_get(RRp((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRr…scCs
tj|ƒS(sGet all child Cells.(Rtcell_get_all(R((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRsŠscCstj||ƒS(s!Get all metadata for an instance.(Rtinstance_metadata_get(RRc((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRt’scCstj|||ƒdS(sDelete the given metadata item.N(Rtinstance_metadata_delete(RRcR`((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRu—scCstj||||ƒS(s2Update metadata if it exists, otherwise create it.(Rtinstance_metadata_update(RRctmetadatatdelete((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRvœscCstj||ƒS(s(Get all system metadata for an instance.(Rtinstance_system_metadata_get(RRc((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRy¥scCstj||||ƒdS(s2Update metadata if it exists, otherwise create it.N(Rtinstance_system_metadata_update(RRcRwRx((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRzªscCstj||ƒS(sCreate a new agent build entry.(Rtagent_build_create(RR
((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR{³scCstj||||ƒS(s5Get agent build by hypervisor/OS/architecture triple.(Rtagent_build_get_by_triple(Rt
hypervisortostarchitecture((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR|¸scCstj||ƒS(sGet all agent builds.(Rtagent_build_get_all(RR}((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR€¾scCstj||ƒdS(sDestroy agent build entry.N(Rtagent_build_destroy(Rtagent_update_id((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRÃscCstj|||ƒdS(sUpdate agent build entry.N(Rtagent_build_update(Rtagent_build_idR
((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRƒÈscCstj||||ƒS(s=Return bw usage for instance and mac in a given audit period.(Rtbw_usage_get(RR•tstart_periodtmac((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR…ÐscCstj|||ƒS(s9Return bw usages for instance(s) in a given audit period.(Rtbw_usage_get_by_uuids(RtuuidsR†((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRˆÕsc
Cstj||||||||d|ƒ}
|	r‰y/tjƒj|||||||||ƒ	Wq‰tk
r…tjtdƒƒq‰Xn|
S(suUpdate cached bandwidth usage for an instance's network based on mac
    address.  Creates new record if needed.
    tlast_refresheds)Failed to notify cells of bw_usage update(	Rtbw_usage_updatetcells_rpcapitCellsAPItbw_usage_update_at_topt	ExceptiontLOGt	exceptionR(RR•R‡R†tbw_intbw_outtlast_ctr_intlast_ctr_outRŠtupdate_cellsR¯((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR‹Ús
cCstj||ƒS(sCReturn volumes usage that have been updated after a specified time.(Rtvol_get_usage_by_time(RR¡((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR—ïsc
Cs.tj||||||||||	d|
ƒ
S(sRUpdate cached volume usage for a volume

       Creates new record if needed.
    t
update_totals(Rtvol_usage_update(RR=trd_reqtrd_bytestwr_reqtwr_bytesRR8R:tavailability_zoneR˜((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR™ôscCstj||ƒS(s3Find local s3 image represented by the provided id.(Rts3_image_get(Rtimage_id((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRŸscCstj||ƒS(s5Find local s3 image represented by the provided uuid.(Rts3_image_get_by_uuid(Rt
image_uuid((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR¡	scCstj||ƒS(s3Create local s3 image represented by provided uuid.(Rts3_image_create(RR¢((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR£scCstj|||ƒS(s%Create a new aggregate with metadata.(Rtaggregate_create(RR
Rw((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR¤scCstj||ƒS(sGet a specific aggregate by id.(Rt
aggregate_get(Rtaggregate_id((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR¥scCstj|||ƒS(s.Get a list of aggregates that host belongs to.(Rtaggregate_get_by_host(RRR`((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR§ scCstj||ƒS(s!Get a specific aggregate by uuid.(Rtaggregate_get_by_uuid(RR•((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR¨%scCstj|||ƒS(sèGet metadata for all aggregates that host belongs to.

    Returns a dictionary where each value is a set, this is to cover the case
    where there two aggregates have different values for the same key.
    Optional key filter
    (Rtaggregate_metadata_get_by_host(RRR`((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR©*scCstj||ƒS(N(Rtaggregate_get_by_metadata_key(RR`((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRª4scCstj|||ƒS(s{Update the attributes of an aggregates.

    If values contains a metadata key, it updates the aggregate metadata too.
    (Rtaggregate_update(RR¦R
((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR«8scCstj||ƒS(sDelete an aggregate.(Rtaggregate_delete(RR¦((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR¬@scCs
tj|ƒS(sGet all aggregates.(Rtaggregate_get_all(R((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR­EscCstj||||ƒdS(s6Add/update metadata. If set_delete=True, it adds only.N(Rtaggregate_metadata_add(RR¦RwR½((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR®JscCstj||ƒS(s)Get metadata for the specified aggregate.(Rtaggregate_metadata_get(RR¦((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR¯OscCstj|||ƒdS(sDelete the given metadata key.N(Rtaggregate_metadata_delete(RR¦R`((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR°TscCstj|||ƒdS(sAdd host to the aggregate.N(Rtaggregate_host_add(RR¦R((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR±YscCstj||ƒS(s&Get hosts for the specified aggregate.(Rtaggregate_host_get_all(RR¦((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR²^scCstj|||ƒdS(s)Delete the given host from the aggregate.N(Rtaggregate_host_delete(RR¦R((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR³cscCstj||ƒS(sCreate a new Instance Fault.(Rtinstance_fault_create(RR
((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR´kscCstj||ƒS(s8Get all instance faults for the provided instance_uuids.(Rt$instance_fault_get_by_instance_uuids(RR((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRµpscCstj||ƒS(s Start an action for an instance.(Rtaction_start(RR
((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR¶xscCstj||ƒS(s!Finish an action for an instance.(Rt
action_finish(RR
((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR·}scCstj||ƒS(s3Get all instance actions for the provided instance.(Rtactions_get(RR•((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR¸‚scCstj|||ƒS(s0Get the action by request_id and given instance.(Rtaction_get_by_request_id(RR•t
request_id((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR¹‡scCstj||ƒS(s%Start an event on an instance action.(Rtaction_event_start(RR
((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR»ŒscCstj||ƒS(s&Finish an event on an instance action.(Rtaction_event_finish(RR
((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR¼‘scCstj||ƒS(sGet the events by action id.(Rtaction_events_get(Rt	action_id((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR½–scCstj|||ƒS(N(Rtaction_event_get_by_id(RR¾tevent_id((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR¿›scCstj||ƒS(s8Get uuid through ec2 id from instance_id_mappings table.(Rtget_instance_uuid_by_ec2_id(RR((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRÁ¢scCstj|||ƒS(s5Create the ec2 id to instance uuid mapping on demand.(Rtec2_instance_create(RRcR=((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyR§scCstj||ƒS(N(Rtec2_instance_get_by_uuid(RRc((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRìscCstj||ƒS(N(Rtec2_instance_get_by_id(RR((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRİscCstj|||||||ƒS(s5Mark a task as complete for a given host/time period.(Rttask_log_end_task(Rt	task_nametperiod_beginningt
period_endingRterrorstmessage((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRÅ·scCstj|||||||ƒS(s4Mark a task as started for a given host/time period.(Rttask_log_begin_task(RRÆRÇRÈRt
task_itemsRÊ((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRËÆscCstj||||||ƒS(N(Rttask_log_get_all(RRÆRÇRÈRtstate((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRÍÕscCstj||||||ƒS(N(Rttask_log_get(RRÆRÇRÈRRÎ((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRÏÛscCstjd|ƒS(sGMove up to max_rows rows from production tables to corresponding shadow
    tables.

    :returns: dict that maps table name to number of rows archived from that
              table, for example:

    ::

        {
            'instances': 5,
            'block_device_mapping': 5,
            'pci_devices': 2,
        }

    tmax_rows(Rtarchive_deleted_rows(RÐ((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRÑäscCstj||ƒS(N(Rtpcidevice_online_data_migration(Rt	max_count((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRÒ÷scCstj||ƒS(N(Rt%aggregate_uuids_online_data_migration(RRÓ((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRÔûscCstj||ƒS(N(Rt'computenode_uuids_online_data_migration(RRÓ((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRÕÿscCstj|||ƒS(sAdd tag to the instance.(Rtinstance_tag_add(RRcttag((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRÖscCstj|||ƒS(s=Replace all of the instance tags with specified list of tags.(Rtinstance_tag_set(RRcttags((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRØscCstj||ƒS(s"Get all tags for a given instance.(Rt!instance_tag_get_by_instance_uuid(RRc((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRÚscCstj|||ƒS(s'Delete specified tag from the instance.(Rtinstance_tag_delete(RRcR×((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRÛscCstj||ƒS(s"Delete all tags from the instance.(Rtinstance_tag_delete_all(RRc((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRÜscCstj|||ƒS(s-Check if specified tag exist on the instance.(Rtinstance_tag_exists(RRcR×((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRÝscCstj||ƒS(sCreate a console authorization.(Rtconsole_auth_token_create(RR
((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRÞ'scCstj|||ƒS(sGet a valid console authorization by token_hash and instance_uuid.

    The console authorizations expire at the time specified by their
    'expires' column. An expired console auth token will not be returned
    to the caller - it is treated as if it does not exist.
    (Rtconsole_auth_token_get_valid(Rt
token_hashRc((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRß,s	cCstj||ƒS(s<Delete all console authorizations belonging to the instance.(Rt*console_auth_token_destroy_all_by_instance(RRc((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRá8s	cCstj||ƒS(sùDelete expired console authorizations belonging to the host.

    The console authorizations expire at the time specified by their
    'expires' column. This function is used to garbage collect expired
    tokens associated with the given host.
    (Rt*console_auth_token_destroy_expired_by_host(RR((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyRâ>s(It__doc__toslo_dbRtoslo_logRtloggingt
nova.cellsRRŒt	nova.conftnovat	nova.i18nRtconftCONFt_BACKEND_MAPPINGtTpoolDbapiWrapperRt	getLoggert__name__RtMAX_INTtSQL_SP_FLOAT_MAXRR	RR
RRRRRRR%RRtFalseRRR!R"R#R$R%R'R(R)R+R.R/R0R2R3R4R5R6R7R9R;R<R>R?tTrueRCRERFRGRIRJRKRNRORPRQRRRSRURVRWRZR\R]R^R_R`RbRdRfRiRkRmRoRsRtRuRvRwRyR{R}R~RR€RRƒR…R†R‡RˆR‰RŠRŒRŽRRR‘R’R“R”R–R—RšRŸR R£R¤R¥R§R©RªR­R®R°R²R³R¶R¸R¹RºR»R¼R¾R¿RÀRÁRÂRÃRÅRÆRÈRÉRËRÌRÍRÎRÐRÑRÒRÓRØRÙRÚRÜRÝRÞRßRáRâRäRåRçRèRéRêRëRìRíRïRðRñRòRóRôRõRöRøRýRRRRRRRRRRRRRRRRRRRRR!R"R#R$R'R(R)R+R,R-R.R/R0R1R2R4R5R6R8R9R:R;R=R>R@RBRCRGRHRIRKRMRNRPRTRURVRWRYR[R\R]R^R_RaRcRfRgRhRiRkRlRnRoRqRrRsRtRuRvRyRzR{R|R€RRƒR…RˆR‹R—R™RŸR¡R£R¤R¥R§R¨R©RªR«R¬R­R®R¯R°R±R²R³R´RµR¶R·R¸R¹R»R¼R½R¿RÁRÂRÃRÄRÅRËRÍRÏRÑRÒRÔRÕRÖRØRÚRÛRÜRÝRÞRßRáRâ(((s@/home/tvault/.virtenv/lib/python2.7/site-packages/nova/db/api.pyt<module>sŒ