示例#1
0
def networking_test_launch_exa_db_system(runner, config_file, config_profile,
                                         network_client, request):
    subnet_ocid_1, subnet_ocid_2, default_route_table_ocid, ig_ocid, vcn_ocid, networking_dict = networking(
        network_client, "_exa_db_system")
    subnet_response = network_client.get_subnet(subnet_ocid_1)
    networking_dict[
        'availability_domain'] = subnet_response.data.availability_domain
    yield networking_dict
    networking_cleanup(runner, config_file, config_profile, network_client,
                       subnet_ocid_1, subnet_ocid_2, default_route_table_ocid,
                       ig_ocid, vcn_ocid)
示例#2
0
def networking_test_update_db_system(runner, config_file, config_profile,
                                     network_client, request):
    subnet_ocid_1, subnet_ocid_2, default_route_table_ocid, ig_ocid, vcn_ocid, networking_dict = networking(
        network_client, "_test_update_db_system")
    yield networking_dict
    networking_cleanup(runner, config_file, config_profile, network_client,
                       subnet_ocid_1, subnet_ocid_2, default_route_table_ocid,
                       ig_ocid, vcn_ocid)
示例#3
0
def networking_test_patch_operations(runner, config_file, config_profile,
                                     network_client, request):
    subnet_ocid_1, subnet_ocid_2, default_route_table_ocid, ig_ocid, vcn_ocid, networking_dict = networking(
        network_client, "_patch_operations")
    yield networking_dict
    networking_cleanup(runner, config_file, config_profile, network_client,
                       subnet_ocid_1, subnet_ocid_2, default_route_table_ocid,
                       ig_ocid, vcn_ocid)
def networking_test_data_guard_with_new_db(runner, config_file, config_profile, network_client, request):
    subnet_ocid_1, subnet_ocid_2, default_route_table_ocid, ig_ocid, vcn_ocid, networking_dict = networking(network_client, "_data_guard_with_new_db")
    yield networking_dict
    networking_cleanup(runner, config_file, config_profile, network_client, subnet_ocid_1, subnet_ocid_2, default_route_table_ocid, ig_ocid, vcn_ocid)