test_infiniband_vars.yml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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_infiniband_config.yml
  16. ib_inventory_name: "infiniband_inventory"
  17. template_value: 'infiniband_template'
  18. ib_host_name: 100.96.28.140
  19. job_name: "test_infiniband_template"
  20. ib_playbook_path: "control_plane/infiniband.yml"
  21. success_message: "Execution Successful"
  22. fail_case: "Failed. please check input parameters and try again!"
  23. awx_script_path: "test_prepare.yml"
  24. ib_vars_dir: ../input_params/ib_vars.yml
  25. ib_vars_backup_dir: ib_vars_backup.yml
  26. inventory_dir: test_ib_inventory
  27. ib_mtu_path: test_ib_mtu.yml
  28. login_vars_path: "../input_params/login_vars.yml"
  29. login_vars_vault_path: "../input_params/.login_vault_key"
  30. tower_config_file_path: "../roles/webui_awx/files/.tower_cli.cfg"
  31. tower_vault_file_path: "../roles/webui_awx/files/.tower_vault_key"
  32. file_perm: '0644'
  33. # Usage: test_ib_mtu.yml
  34. username: admin
  35. password: admin
  36. var_check: '"MTU": "2048"'
  37. # Usage: test_infiniband_facts.yml
  38. fact_template_value: 'infiniband_template'
  39. fact_job_name: 'test_ib_fact_job'
  40. ib_facts_playbook_path: "control_plane/tools/ib_facts.yml"
  41. test_infiniband_vars_dir: "test_vars/test_infiniband_vars.yml"
  42. random_ip: 100.100.100.100
  43. invalid_username: 'invalid_username'
  44. # Usage: test_infiniband_facts.yml
  45. validation_port: 1/5
  46. port_num: 5
  47. search_line: " ib 1/6:"
  48. line_to_add: ' - "mtu 2K"'
  49. time_to_pause: 2
  50. line_to_search: "^(.*)port 8"
  51. ib_success_msg: "successful"
  52. ib_fail_msg: "failed"