2021-02-17 11:36:05 +03:00
---
# ---------------------------------------------------------------------------- #
2023-01-09 14:23:19 +03:00
# Copyright 2002-2023, OpenNebula Project, OpenNebula Systems #
2021-02-17 11:36:05 +03:00
# #
# 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. #
# ---------------------------------------------------------------------------- #
#-------------------------------------------------------------------------------
2021-09-17 10:51:14 +03:00
# hosts: Equinix or AWS metal servers
2021-02-17 11:36:05 +03:00
# provision:
# - count: Number of servers to create
# - hostname: kvm-host1, kvm-host2 .... of the server
#
# You can define specific OpenNebula configuration attributes for all the hosts:
# - reserved_cpu: In percentage. It will be subtracted from the TOTAL CPU
# - reserved_memory: In percentage. It will be subtracted from the TOTAL MEM
#-------------------------------------------------------------------------------
hosts :
2021-03-03 14:20:37 +03:00
- im_mad : "${input.one_hypervisor}"
vm_mad : "${input.one_hypervisor}"
2021-02-17 11:36:05 +03:00
provision :
count : "${input.number_hosts}"
2021-03-03 14:20:37 +03:00
hostname : "edge-host${index}"
2021-02-17 11:36:05 +03:00
...