test_ethernet_vars.yml 2.1 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_ethernet_facts.yml
  16. failed_msg: "Unexpected scenario"
  17. success_message: "Execution successful"
  18. eth_inventory_name: "ethernet_inventory"
  19. eth_host_name: "100.96.23.241"
  20. fact_template_value: "ethernet_template"
  21. fact_job_name: "ethernet_template"
  22. eth_facts_playbook_path: "control_plane/tools/ethernet_facts.yml"
  23. awx_script_path: "test_prepare.yml"
  24. random_ip: 100.100.100.100
  25. invalid_username: "invalid_username"
  26. username: admin
  27. password: admin
  28. # Usage : test_ethernet_config.yml
  29. ethernet_dir: "ethernet.yml"
  30. ethernet_config_dir: "../input_params/ethernet_vars.yml"
  31. ethernet_config_backup_dir: "ethernet_config_backup.yml"
  32. get_mtu_dir: "test_eth_mtu.yml"
  33. appliance_dir: "/root/ethernet/control_plane"
  34. fail_case: "Expected error, please check the configurations"
  35. sed_condition: '/Port 4/a mtu2345'
  36. eth_template_value: "ethernet_template"
  37. eth_job_name: "ethernet_template"
  38. eth_playbook_path: "control_plane/ethernet.yml"
  39. inventory_dir: "test_ethernet_inventory"
  40. login_vars_path: "../input_params/login_vars.yml"
  41. login_vars_vault_path: "../input_params/.login_vault_key"
  42. tower_config_file_path: "../roles/webui_awx/files/.tower_cli.cfg"
  43. tower_vault_file_path: "../roles/webui_awx/files/.tower_vault_key"
  44. file_perm: '0644'
  45. # Usage : test_eth_mtu.yml, test_ethernet_config.yml
  46. validation_port: 1/1/4:1
  47. port_num: 4
  48. search_line: " ethernet 1/1/5:"
  49. add_mtu_line: " mtu: 2345"
  50. time_to_pause: 4
  51. validate_mtu_line: "MTU 2345 bytes"
  52. ethernet_success_msg: "successful"
  53. ethernet_fail_msg: "failed"