#NEWLINE# @ contract ( connection = Connection , hosts = Table , host_resource_usage = Table , vms = Table , vm_resource_usage = Table , vm_migrations = Table , host_states = Table , host_overload = Table ) #NEWLINE# def __init__( self , connection , hosts , host_resource_usage , vms , vm_resource_usage , vm_migrations , host_states , host_overload ) : #NEWLINE# #INDENT# ' Initialize the database.\n\n        :param connection: A database connection table.\n        :param hosts: The hosts table.\n        :param host_resource_usage: The host_resource_usage table.\n        :param vms: The vms table.\n        :param vm_resource_usage: The vm_resource_usage table.\n        :param vm_migrations: The vm_migrations table.\n        :param host_states: The host_states table.\n        :param host_overload: The host_overload table.\n        ' #NEWLINE# self . connection = connection #NEWLINE# self . hosts = hosts #NEWLINE# self . host_resource_usage = host_resource_usage #NEWLINE# self . vms = vms #NEWLINE# self . vm_resource_usage = vm_resource_usage #NEWLINE# self . vm_migrations = vm_migrations #NEWLINE# self . host_states = host_states #NEWLINE# self . host_overload = host_overload