Exemple #1
0
    def __init__(self):
        self.dbaas = None  # The rich client instance used by these tests.
        self.dbaas_admin = None  # The rich client with admin access.
        self.dbaas_flavor = None  # The flavor object of the instance.
        self.dbaas_flavor_href = None  # The flavor of the instance.
        self.dbaas_datastore = None  # The datastore id
        self.dbaas_datastore_version = None  # The datastore version id
        self.id = None  # The ID of the instance in the database.
        self.local_id = None

        # The IP address of the database instance for the user.
        self.address = None
        # The management network IP address.
        self.mgmt_address = None

        self.nics = None  # The dict of type/id for nics used on the instance.
        shared_network = CONFIG.get('shared_network', None)
        if shared_network:
            self.nics = [{'net-id': shared_network}]
        self.initial_result = None  # The initial result from the create call.
        self.result = None  # The instance info returned by the API
        self.nova_client = None  # The instance of novaclient.
        self.volume_client = None  # The instance of the volume client.
        self.name = None  # Test name, generated each test run.
        self.pid = None  # The process ID of the instance.
        self.user = None  # The user instance who owns the instance.
        self.admin_user = None  # The admin user for the management interfaces.
        self.volume = None  # The volume the instance will have.
        self.volume_id = None  # Id for the attached vo186lume
        self.storage = None  # The storage device info for the volumes.
        self.databases = None  # The databases created on the instance.
        self.host_info = None  # Host Info before creating instances
        self.user_context = None  # A regular user context
        self.users = None  # The users created on the instance.
        self.consumer = create_usage_verifier()
Exemple #2
0
 def __init__(self):
     self.dbaas = None  # The rich client instance used by these tests.
     self.dbaas_admin = None  # The rich client with admin access.
     self.dbaas_flavor = None  # The flavor object of the instance.
     self.dbaas_flavor_href = None  # The flavor of the instance.
     self.dbaas_image = None  # The image used to create the instance.
     self.dbaas_image_href = None  # The link of the image.
     self.id = None  # The ID of the instance in the database.
     self.local_id = None
     self.address = None
     self.initial_result = None  # The initial result from the create call.
     self.user_ip = None  # The IP address of the instance, given to user.
     self.infra_ip = None  # The infrastructure network IP address.
     self.result = None  # The instance info returned by the API
     self.nova_client = None  # The instance of novaclient.
     self.volume_client = None  # The instance of the volume client.
     self.name = None  # Test name, generated each test run.
     self.pid = None  # The process ID of the instance.
     self.user = None  # The user instance who owns the instance.
     self.admin_user = None  # The admin user for the management interfaces.
     self.volume = None  # The volume the instance will have.
     self.volume_id = None  # Id for the attached vo186lume
     self.storage = None  # The storage device info for the volumes.
     self.databases = None  # The databases created on the instance.
     self.host_info = None  # Host Info before creating instances
     self.user_context = None  # A regular user context
     self.users = None  # The users created on the instance.
     self.consumer = create_usage_verifier()
Exemple #3
0
 def __init__(self):
     self.dbaas = None  # The rich client instance used by these tests.
     self.dbaas_admin = None  # The rich client with admin access.
     self.dbaas_flavor = None  # The flavor object of the instance.
     self.dbaas_flavor_href = None  # The flavor of the instance.
     self.dbaas_image = None  # The image used to create the instance.
     self.dbaas_image_href = None  # The link of the image.
     self.id = None  # The ID of the instance in the database.
     self.local_id = None
     self.address = None
     self.initial_result = None  # The initial result from the create call.
     self.user_ip = None  # The IP address of the instance, given to user.
     self.infra_ip = None  # The infrastructure network IP address.
     self.result = None  # The instance info returned by the API
     self.nova_client = None  # The instance of novaclient.
     self.volume_client = None  # The instance of the volume client.
     self.name = None  # Test name, generated each test run.
     self.pid = None  # The process ID of the instance.
     self.user = None  # The user instance who owns the instance.
     self.admin_user = None  # The admin user for the management interfaces.
     self.volume = None  # The volume the instance will have.
     self.volume_id = None  # Id for the attached vo186lume
     self.storage = None  # The storage device info for the volumes.
     self.databases = None  # The databases created on the instance.
     self.host_info = None  # Host Info before creating instances
     self.user_context = None  # A regular user context
     self.users = None  # The users created on the instance.
     self.consumer = create_usage_verifier()