# Copyright 2021 Dell Inc. or its subsidiaries. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. --- # Usage: test_prepare.yml idrac_inventory_name: "test_idrac_inventory" template_value: 'idrac_template' job_name: "test_idrac_template" idrac_playbook_path: "control_plane/idrac.yml" tower_config_file_path: "../roles/webui_awx/files/.tower_cli.cfg" tower_vault_file_path: "../roles/webui_awx/files/.tower_vault_key" file_perm: '0644' # Usage: test_idrac.yml validation_script_path: "test_idrac_validation.yml" awx_script_path: "test_prepare.yml" temp_scp_path: "temp_scp.xml" idrac_var_path: "../input_params/idrac_vars.yml" login_vars_path: "../input_params/login_vars.yml" login_vars_vault_path: "../input_params/.login_vault_key" vd_name: "omnia_vd" bootmode_attr_name: 'Name="BootMode"' sysprofile_attr_name: 'Name="SysProfile"' snmp_attr_name: 'Name="SNMPAlert.1#State"' sysprofile: "idrac_system_profile:" sysprofile_params1: 'idrac_system_profile: "Performance"' sysprofile_params2: 'idrac_system_profile: "PerformancePerWatt(DAPC)"' sysprofile_params3: 'idrac_system_profile: "WorkstationPerformance"' sysprofile_params4: 'idrac_system_profile: "PerformancePerWatt(OS)"' sysprofile_value1: "Performance" sysprofile_value2: "PerformancePerWatt(DAPC)" sysprofile_value3: "WorkstationPerformance" sysprofile_value4: "PerformancePerWatt(OS)" # Usage: test_idrac_validation.yml provisioned_inventory_name: "provisioned_idrac_inventory" awx_namespace: "awx" awx_pod_regex: 'awx-([A-Za-z0-9]{10})-([A-Za-z0-9]{5})' awx_pod_item_regex: "awx-([A-Za-z0-9]{10})-([A-Za-z0-9]{5})" bootmode_regex1: 'Uefi' bootmode_regex2: 'Bios' snmp_regex1: 'Enabled' snmp_regex2: 'Disabled' sysprofile_regex1: 'PerfOptimized' sysprofile_regex2: 'PerfPerWattOptimizedDapc' sysprofile_regex3: 'PerfWorkStationOptimized' sysprofile_regex4: 'PerfPerWattOptimizedOs' pxedevice: 'Enabled' firmware_status: "The catalog in the repository specified in the operation has the same firmware versions as currently present on the server." bootmode_check_fail_msg: "Boot mode configuration is failed" bootmode_check_success_msg: "Boot mode configuration is successful" snmp_check_fail_msg: "SNMP configuration failed" snmp_check_success_msg: "SNMP configuration is successful" sysprofile_check_fail_msg: "System profile configuration failed" sysprofile_check_success_msg: "System profile configuration is successful" pxedevice_check_fail_msg: "Pxe device configuration is failed" pxedevice_check_success_msg: "Pxe device configuration is successful" vd_success_msg: "Virtual disk created successfully" vd_fail_msg: "Virtual disk is not present" provisioned_ip_success_msg: "IP added to provisioned_idrac_inventory is successfully" provisioned_ip_fail_msg: "IP is not added to provisioned_idrac_inventory" failed_msg: "Failed. Please check input parameters and try again!" firmware_fail_msg: "Firmware update is failed" firmware_success_msg: "Firmware updated is success" provisioned_hosts_path: "/root/omnia/control_plane/roles/collect_node_info/files/provisioned_hosts.yml" test_os_inventory_path: "/root/omnia/control_plane/test/test_os_inventory" os_validation_success_msg: "OS validation is successful" os_validation_fail_msg: "OS validation failed"