]> xenbits.xensource.com Git - xcp/xen-api.git/commit
Add a new type: Db_ref.t which may be either (In_memory x) or Remote. At the xapi...
authorDavid Scott <dave.scott@eu.citrix.com>
Wed, 26 Jan 2011 17:39:06 +0000 (17:39 +0000)
committerDavid Scott <dave.scott@eu.citrix.com>
Wed, 26 Jan 2011 17:39:06 +0000 (17:39 +0000)
commitf185b0363eedb559a4f3f41b58d20ce018aa293d
treece87d950bd2470fc46ebf8b0b4f972d27996b554
parent93f8b1c2463089f02353dc8648eff5fb2b3a8c9e
Add a new type: Db_ref.t which may be either (In_memory x) or Remote. At the xapi-level, each Context can have a different Db_ref.t, allowing the type-safe Db API to be used on multiple disjoint databases.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
59 files changed:
ocaml/database/backend_xml.ml
ocaml/database/database_server_main.ml
ocaml/database/database_test.ml
ocaml/database/db_backend.ml
ocaml/database/db_cache.ml
ocaml/database/db_cache_impl.ml
ocaml/database/db_cache_impl.mli
ocaml/database/db_interface.ml
ocaml/database/db_ref.ml [new file with mode: 0644]
ocaml/database/db_remote_cache_access_v1.ml
ocaml/database/db_remote_cache_access_v2.ml
ocaml/database/db_rpc_client_v1.ml
ocaml/database/db_rpc_client_v2.ml
ocaml/database/eventgen.ml
ocaml/database/ref_index.ml
ocaml/db_process/xapi-db-process.ml
ocaml/idl/ocaml_backend/OMakefile
ocaml/idl/ocaml_backend/context.ml
ocaml/idl/ocaml_backend/context.mli
ocaml/idl/ocaml_backend/gen_db_actions.ml
ocaml/xapi/cli_operations.ml
ocaml/xapi/console.ml
ocaml/xapi/create_misc.ml
ocaml/xapi/db.ml
ocaml/xapi/db_gc.ml
ocaml/xapi/dbsync.ml
ocaml/xapi/dbsync_master.ml
ocaml/xapi/dbsync_slave.ml
ocaml/xapi/export.ml
ocaml/xapi/helpers.ml
ocaml/xapi/import_raw_vdi.ml
ocaml/xapi/message_forwarding.ml
ocaml/xapi/monitor_master.ml
ocaml/xapi/monitor_rrds.ml
ocaml/xapi/monitor_self.ml
ocaml/xapi/nm.ml
ocaml/xapi/pool_db_backup.ml
ocaml/xapi/redo_log_usage.ml
ocaml/xapi/xapi.ml
ocaml/xapi/xapi_guest_agent.ml
ocaml/xapi/xapi_ha.ml
ocaml/xapi/xapi_host.ml
ocaml/xapi/xapi_host.mli
ocaml/xapi/xapi_host_helpers.ml
ocaml/xapi/xapi_http.ml
ocaml/xapi/xapi_mgmt_iface.ml
ocaml/xapi/xapi_network.ml
ocaml/xapi/xapi_pif.ml
ocaml/xapi/xapi_pif.mli
ocaml/xapi/xapi_pool.ml
ocaml/xapi/xapi_pool.mli
ocaml/xapi/xapi_vif_helpers.ml
ocaml/xapi/xapi_vm.ml
ocaml/xapi/xapi_vm.mli
ocaml/xapi/xapi_vm_clone.ml
ocaml/xapi/xapi_vm_lifecycle.ml
ocaml/xapi/xapi_vm_placement.ml
ocaml/xapi/xapi_vm_snapshot.ml
ocaml/xapi/xha_metadata_vdi.ml