test_idrac_vars.yml 3.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. # Copyright 2021 Dell Inc. or its subsidiaries. All Rights Reserved.
  2. #
  3. # Licensed under the Apache License, Version 2.0 (the "License");
  4. # you may not use this file except in compliance with the License.
  5. # You may obtain a copy of the License at
  6. #
  7. # http://www.apache.org/licenses/LICENSE-2.0
  8. #
  9. # Unless required by applicable law or agreed to in writing, software
  10. # distributed under the License is distributed on an "AS IS" BASIS,
  11. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. # See the License for the specific language governing permissions and
  13. # limitations under the License.
  14. ---
  15. # Usage: test_prepare.yml
  16. idrac_inventory_name: "test_idrac_inventory"
  17. template_value: 'idrac_template'
  18. job_name: "test_idrac_template"
  19. idrac_playbook_path: "control_plane/idrac.yml"
  20. tower_config_file_path: "../roles/webui_awx/files/.tower_cli.cfg"
  21. tower_vault_file_path: "../roles/webui_awx/files/.tower_vault_key"
  22. file_perm: '0644'
  23. # Usage: test_idrac.yml
  24. validation_script_path: "test_idrac_validation.yml"
  25. awx_script_path: "test_prepare.yml"
  26. temp_scp_path: "temp_scp.xml"
  27. idrac_var_path: "../input_params/idrac_vars.yml"
  28. login_vars_path: "../input_params/login_vars.yml"
  29. login_vars_vault_path: "../input_params/.login_vault_key"
  30. vd_name: "omnia_vd"
  31. bootmode_attr_name: 'Name="BootMode"'
  32. sysprofile_attr_name: 'Name="SysProfile"'
  33. snmp_attr_name: 'Name="SNMPAlert.1#State"'
  34. sysprofile: "idrac_system_profile:"
  35. sysprofile_params1: 'idrac_system_profile: "Performance"'
  36. sysprofile_params2: 'idrac_system_profile: "PerformancePerWatt(DAPC)"'
  37. sysprofile_params3: 'idrac_system_profile: "WorkstationPerformance"'
  38. sysprofile_params4: 'idrac_system_profile: "PerformancePerWatt(OS)"'
  39. sysprofile_value1: "Performance"
  40. sysprofile_value2: "PerformancePerWatt(DAPC)"
  41. sysprofile_value3: "WorkstationPerformance"
  42. sysprofile_value4: "PerformancePerWatt(OS)"
  43. # Usage: test_idrac_validation.yml
  44. provisioned_inventory_name: "provisioned_idrac_inventory"
  45. awx_namespace: "awx"
  46. awx_pod_regex: 'awx-([A-Za-z0-9]{10})-([A-Za-z0-9]{5})'
  47. awx_pod_item_regex: "awx-([A-Za-z0-9]{10})-([A-Za-z0-9]{5})"
  48. bootmode_regex1: '<Attribute Name="BootMode">Uefi</Attribute>'
  49. bootmode_regex2: '<Attribute Name="BootMode">Bios</Attribute>'
  50. snmp_regex1: '<Attribute Name="SNMPAlert.1#State">Enabled</Attribute>'
  51. snmp_regex2: '<Attribute Name="SNMPAlert.1#State">Disabled</Attribute>'
  52. sysprofile_regex1: '<Attribute Name="SysProfile">PerfOptimized</Attribute>'
  53. sysprofile_regex2: '<Attribute Name="SysProfile">PerfPerWattOptimizedDapc</Attribute>'
  54. sysprofile_regex3: '<Attribute Name="SysProfile">PerfWorkStationOptimized</Attribute>'
  55. sysprofile_regex4: '<Attribute Name="SysProfile">PerfPerWattOptimizedOs</Attribute>'
  56. pxedevice: '<Attribute Name="PxeDev1EnDis">Enabled</Attribute>'
  57. firmware_status: "The catalog in the repository specified in the operation has the same firmware versions as currently present on the server."
  58. bootmode_check_fail_msg: "Boot mode configuration is failed"
  59. bootmode_check_success_msg: "Boot mode configuration is successful"
  60. snmp_check_fail_msg: "SNMP configuration failed"
  61. snmp_check_success_msg: "SNMP configuration is successful"
  62. sysprofile_check_fail_msg: "System profile configuration failed"
  63. sysprofile_check_success_msg: "System profile configuration is successful"
  64. pxedevice_check_fail_msg: "Pxe device configuration is failed"
  65. pxedevice_check_success_msg: "Pxe device configuration is successful"
  66. vd_success_msg: "Virtual disk created successfully"
  67. vd_fail_msg: "Virtual disk is not present"
  68. provisioned_ip_success_msg: "IP added to provisioned_idrac_inventory is successfully"
  69. provisioned_ip_fail_msg: "IP is not added to provisioned_idrac_inventory"
  70. failed_msg: "Failed. Please check input parameters and try again!"
  71. firmware_fail_msg: "Firmware update is failed"
  72. firmware_success_msg: "Firmware updated is success"