#  Copyright 2020 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_provision_cdip.yml
first_nic: "em1"
nic1_ip_address: 172.17.0.1
validate_password_success_msg: "Password validation successful"
validate_password_fail_msg: "Password validation failed"
cobbler_img_fail_msg: "Docker image cobbler does not exist"
cobbler_img_success_msg: "Docker image cobbler exists"
cobbler_cnt_fail_msg: "Docker container cobbler does not exist"
cobbler_cnt_success_msg: "Docker container cobbler exists"
nic_check_fail_msg: "NIC-1 ip address validation failed"
nic_check_success_msg: "NIC-1 ip address validation successful"
cobbler_image_files:
 - check_prerequisites
 - mount_iso
 - firewall_settings
 - provision_password
 - dhcp_configure
 - cobbler_image
password_config_file: "password_config"
test_input_config_filename: "appliance_config_test.yml"

# Usage: test_provision_cc.yml
docker_check_success_msg: "Docker service stopped usescase validation successful"
docker_check_fail_msg: "Docker service stopped usescase validation failed"
docker_ip_fail_msg: "Docker IP validation failed"
docker_ip_success_msg: "Docker IP validation successful"
cobbler_version_fail_msg: "Cobbler version validation failed"
cobbler_version_success_msg: "Cobbler version validation successful"
cobbler_check_fail_msg: "Cobbler check validation failed"
cobbler_check_success_msg: "Cobbler check validation successful"
cobbler_sync_fail_msg: "Cobbler sync validation failed"
cobbler_sync_success_msg: "Cobbler sync validation successful"
cobbler_distro_list_fail_msg: "Cobbler distro list validation failed"
cobbler_distro_list_success_msg: "Cobbler distro list validation successful"
cobbler_profile_list_fail_msg: "Cobbler profile list validation failed"
cobbler_profile_list_success_msg: "Cobbler profile list validation successful"
kickstart_file_fail_msg: "Kickstart file validation failed"
kickstart_file_success_msg: "Kickstart file validation successful"
cobbler_reboot_fail_msg: "Cobbler container failed to start after reboot"
cobbler_reboot_success_msg: "Cobbler container started successfully after reboot"
crontab_list_fail_msg: "Crontab list validation failed"
crontab_list_success_msg: "Crontab list validation successful"
iso_check_fail_msg: "centos iso file check validation failed"
iso_check_success_msg: "centos iso file check validation successful"
cobbler_service_check_fail_msg: "cobbler service validation failed"
cobbler_service_check_success_msg: "cobbler service validation successful"
kickstart_filename: "centos7.ks"
iso_file_path: "../roles/provision/files"
temp_iso_name: "temp_centos.iso"
cobbler_services:
 - tftp
 - dhcpd
 - cobblerd
 - xinetd

# Usage: test_provision_cdip.yml, test_provision_cc.yml, test_provision_ndod.yml
docker_container_name: "cobbler"
boundary_password: "testpass"

# Usage: test_provision_ndod.yml
hostname_fail_msg: "Hostname validation failed"
hostname_success_msg: "Hostname validation successful"
authentication_fail_msg: "Server authentication validation failed"
authentication_success_msg: "Server authentication validation successful"
ip_address_fail_msg: "IP address validation failed"
ip_address_success_msg: "IP address validation successful"
cobbler_groupname: "all"
inventory_file: "provisioned_hosts.yml"
file_permission: 0644
vault_path: ../roles/common/files/.vault_key