1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-11 05:17:41 +03:00
one/share/oneprovision/edge-clusters/metal/provisions/packet.yml
Ruben S. Montero 277ee87f1f
F #5076: New provision template names
- provisions (top level) are now edge-clusters
  - New edge-clusters: metal and virtual
  - New qemu IM driver
  - Removed previous templates (hybrid+)
2021-03-03 12:23:54 +01:00

66 lines
3.0 KiB
YAML

---
# ---------------------------------------------------------------------------- #
# Copyright 2002-2021, OpenNebula Project, OpenNebula Systems #
# #
# 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. #
# ---------------------------------------------------------------------------- #
#-------------------------------------------------------------------------------
# This is the canonical description file for a cluster build with 'Packet'
# resources using the KVM hypervisor.
# ------------------------------------------------------------------------------
name: 'packet-cluster'
extends:
- common.d/defaults.yml
- common.d/resources.yml
- common.d/hosts.yml
- packet.d/datastores.yml
- packet.d/fireedge.yml
- packet.d/inputs.yml
- packet.d/networks.yml
#-------------------------------------------------------------------------------
# playbook: Ansible playbook used for hosts configuration. Check
# ansible/packet.yml for the specific roles applied.
#-------------------------------------------------------------------------------
playbook:
- packet
#-------------------------------------------------------------------------------
# defaults: Common configuration attributes for provision objects
#--------------------------------------------------------------------------------
defaults:
provision:
provider_name: 'packet'
plan: "${input.packet_plan}"
os: "${input.packet_os}"
#-------------------------------------------------------------------------------
# cluster: Parameters for the OpenNebula cluster. Applies to all the Hosts
#--------------------------------------------------------------------------------
# name: of the cluster
# description: Additional information
# reserved_cpu: In percentage. It will be subtracted from the TOTAL CPU
# reserved_memory: In percentage. It will be subtracted from the TOTAL MEM
#--------------------------------------------------------------------------------
cluster:
name: "${provision}"
description: 'Equinix edge cluster'
datastores:
- 1
- 2
reserved_cpu: '0'
reserved_mem: '0'