Browse Source

Issue #543: Test vars for inventory

Signed-off-by: vedaprakashanp <vedaprakasha_n_putta@dellteam.com>
vedaprakashanp 3 years ago
parent
commit
396871e788
1 changed files with 70 additions and 0 deletions
  1. 70 0
      control_plane/test/test_vars/test_inventory_vars.yml

+ 70 - 0
control_plane/test/test_vars/test_inventory_vars.yml

@@ -0,0 +1,70 @@
+#  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_inventory_validation.yml
+idrac_search_key: "Integrated Dell Remote Access Controller"
+ethernet_search_key: "Dell EMC Networking OS10-Enterprise"
+infiniband_search_key: "MLNX-OS"
+me4_powervault_search_key: "ME4"
+idrac_fail_msg: "iDRAC IP validation is failed"
+idrac_success_msg: "iDRAC IP validation is success"
+ethernet_fail_msg: "Ethernet IP validation is failed"
+ethernet_success_msg: "Ethernet IP validation is success"
+infiniband_fail_msg: "Infiniband IP validation is failed"
+infiniband_success_msg: "Infiniband IP validation is success"
+powervault_fail_msg: "Powervault IP validation is failed"
+powervault_success_msg: "Powervault IP validation is success"
+failed_msg: "Failed. Please check input parameters and try again!"
+
+# Usage: test_inventory.yml
+login_vars_path: "../input_params/login_vars.yml"
+login_vars_vault_path: "../input_params/.login_vault_key"
+tower_config_file_path: "../roles/webui_awx/files/.tower_cli.cfg"
+tower_vault_file_path: "../roles/webui_awx/files/.tower_vault_key"
+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})"
+ethernet_switch_support: true
+ib_switch_support: true
+powervault_support: true
+idrac_inventory_name: "idrac_inventory"
+ib_inventory_name: "infiniband_inventory"
+ethernet_inventory_name: "ethernet_inventory"
+pv_inventory_name: "powervault_me4_inventory"
+node_inventory_name: "node_inventory"
+validation_script_path: "test_inventory_validation.yml" 
+infiniband_status_code: 302
+org_description: "Name of organization using this product"
+manager_group: "manager" 
+compute_group: "compute" 
+login_group: "login" 
+nfs_group: "nfs" 
+group_fail_msg: "Group verification is failed"
+group_success_msg: " Group verification is successful"
+awx_fail_msg: "awx-operator containers creation failed"
+awx_success_msg: "awx-operator containers creation is successful"
+empty_host_err: "No hosts available"
+node_fail_msg: "Updation of new node is failed"
+node_success_msg: "Updation of new node is successful"
+inventory_fail_msg: "Inventory creation is failed"
+inventory_success_msg: "Inventory creation is successful"
+job_template_fail_msg: "Template creation is failed"
+job_template_success_msg: "Template creation is successful"
+project_fail_msg: " Project creation is failed"
+project_success_msg: "Project creation is successful"
+organization_fail_msg: "Organization is not created"
+organization_success_msg: "Organization is created"
+schedule_fail_msg: "Schedules are not created"
+schedule_success_msg: "Schedules are created"