#  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_ethernet_facts.yml
failed_msg: "Unexpected scenario"
success_message: "Execution successful"
eth_inventory_name: "ethernet_inventory"
eth_host_name: "100.96.23.241"
fact_template_value: "ethernet_template"
fact_job_name: "ethernet_template"
eth_facts_playbook_path: "control_plane/tools/ethernet_facts.yml"
awx_script_path: "test_prepare.yml"
random_ip: 100.100.100.100
invalid_username: "invalid_username"
username: admin
password: admin

# Usage : test_ethernet_config.yml
ethernet_dir: "ethernet.yml"
ethernet_config_dir: "../input_params/ethernet_vars.yml"
ethernet_config_backup_dir: "ethernet_config_backup.yml"
get_mtu_dir: "test_eth_mtu.yml"
appliance_dir: "/root/ethernet/control_plane"
fail_case: "Expected error, please check the configurations"
sed_condition: '/Port 4/a mtu2345'
eth_template_value: "ethernet_template"
eth_job_name: "ethernet_template"
eth_playbook_path: "control_plane/ethernet.yml"
inventory_dir: "test_ethernet_inventory"
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"
file_perm: '0644'

# Usage : test_eth_mtu.yml, test_ethernet_config.yml
validation_port: 1/1/4:1
port_num: 4
search_line: "    ethernet 1/1/5:"
add_mtu_line: "      mtu: 2345"
time_to_pause: 4
validate_mtu_line: "MTU 2345 bytes"
ethernet_success_msg: "successful"
ethernet_fail_msg: "failed"