test_control_plane_vars.yml 3.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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_control_plane_validation.yml
  16. port_no: 22
  17. os_name: CentOS
  18. os_version: '8.4'
  19. internet_status: "Failed. No Internet connection. Make sure network is up."
  20. check_os_success_msg: "OS and Version are supported"
  21. check_os_fail_msg: "Unsupported OS or OS version. OS should be {{ os_name }} and Version should be {{ os_version }} or more"
  22. input_params_folder: "../input_params/"
  23. control_plane_dir: "../"
  24. control_plane_validation_script_path: test_control_plane_validation.yml
  25. input_files_tc01:
  26. - "test_vars/base_vars.yml"
  27. - "test_vars/login_vars.yml"
  28. input_files_tc02:
  29. - "test_vars/login_vars.yml"
  30. input_config_check_success_msg: "control_plane.yml validation passed"
  31. input_config_check_fail_msg: "control_plane.yml validation failed"
  32. install_package_success_msg: "{{item}} is installed"
  33. install_package_fail_msg: "{{item}} is not installed"
  34. login_vars_filename: "../input_params/login_vars.yml"
  35. login_vars_fail_msg: "Login vars is not encrypted"
  36. login_vars_success_msg: "Login vars is encrypted"
  37. fw_update_false: "firmware_update_required: false"
  38. fw_update_true: "firmware_update_required: true"
  39. fw_success_validation: "Validation Success for firmware update"
  40. fw_fail_validation: "Validation Failed for firmware update"
  41. docker_success_validation: "Docker Validated successfully"
  42. docker_fail_validation: "Docker not validated"
  43. test_package: 'jq'
  44. check_pods_success_msg: "Pod is running"
  45. check_pods_fail_msg: "Pods is not running"
  46. nfs_share_success_msg: "NFS Server is running"
  47. nfs_share_fail_msg: "NFS Server is not running"
  48. nfs_mount_Path: "/var/nfs_repo"
  49. nfs_mount_success_msg: "NFS repo is mounted"
  50. nfs_mount_fail_msg: "NFS repo is not mounted"
  51. check_iso_path: '/var/nfs_repo/unattended_centos7.iso'
  52. check_iso_success_msg: "ISO is present in the NFS repo"
  53. check_iso_fail_msg: "ISO is not present in the NFS repo"
  54. pod_service_check_fail_msg: "Service is not running"
  55. pod_service_check_success_msg: "Service is up and running"
  56. network_config_pod_success_msg: "Network-Config Pod is running"
  57. network_config_pod_fail_msg: "Network-Config Pod is not running"
  58. awx_pod_success_msg: "awx pod is up and running."
  59. awx_pod_fail_msg: "awx pod is not running"
  60. pvc_stat_success_msg: "pvc stat is running"
  61. pvc_stat_fail_msg: "pvc stat is not running"
  62. svc_stat_success_msg: "svc stat is running"
  63. svc_stat_fail_msg: "svc stat is not running"
  64. svc_conn_success_msg: "Connection to svc is successful at"
  65. svc_conn_fail_msg: "Connection to svc failed at: "
  66. cobbler_pod_success_msg: "Cobbler service is running"
  67. cobbler_pod_fail_msg: "Cobbler service is not running"
  68. subnet_manager_success_msg: "Subnet Manager is running"
  69. subnet_manager_fail_msg: "Subnet Manager is not running"
  70. cron_jobs_success_msg: "Cron jobs are running"
  71. cron_jobs_fail_msg: "Cron jobs are not running"
  72. container_info: "CONTAINER_RUNNING"
  73. ethernet_true: "ethernet_switch_support: true"
  74. ethernet_false: "ethernet_switch_support: false"
  75. powervault_true: "powervault_support: true"
  76. powervault_false: "powervault_support: false"
  77. infiniband_true: "ib_switch_support: true"
  78. infiniband_false: "ib_switch_support: false"
  79. # Update
  80. docker_user: "User"
  81. docker_password: "Password"
  82. valid_docker_creds: "Credentials are valid"
  83. invalid_docker_creds: "Please input valid docker username and password in test_control_plane_vars.yml"