Skip to content

Instantly share code, notes, and snippets.

@gwarf
Last active June 1, 2018 13:05
Show Gist options
  • Save gwarf/8a8a0dcd9cb9e965effee558740276bb to your computer and use it in GitHub Desktop.
Save gwarf/8a8a0dcd9cb9e965effee558740276bb to your computer and use it in GitHub Desktop.
cloud-info-provider glue 2.1 on steroids for message queue
site:
# Your site name, as in GODCB (if omitted or set to None, this value is
# retreived from /etc/glite-info-static/site/site.cfg )
name: SITE_NAME
compute:
# Total number of cores available
total_cores: 42
# Total RAM available (GB)
total_ram: 42
max_dedicated_ram: 0
min_dedicated_ram: 0
# accelerators_virt_type should be type:virt
# type can be GPU, FPGA, MIC...
# virt can be vgpu, hardware, emulation, paravirtualization...
# accelerators_virt_type: UNKNOWN
total_accelerators: 0
# Site-wide default for max_accelerators
# can be configured at a share level
max_accelerators: 0
min_accelerators: 0
# Uncomment to configure Network virtualization type
# Can be: none, vswithc, ebtables, vlan, firewall
# network_virt_type: UNKNOWN
# Uncomment to configure CPU virtualization type
# Can be: emulation, paravirtualization, hardware
# cpu_virt_type: UNKNOWN
# Hypervisor name (e.g. KVM, Xen, etc.)
hypervisor: UNKNOWN
# Hypervisor version
hypervisor_version: UNKNOWN
# Supported images' virtual disk format: qcow2, raw, vmdk,...
# virtual_disk_formats:
# - 'qcow2'
# Service Production level (testing, candidate, production...)
service_production_level: production
# Service capabilities
capabilities:
# dynamically deploying a virtual machine image
- executionmanagement.dynamicvmdeploy
# srecording, reporting, and analyzing the usage of resources
- security.accounting
# Automatic failover to another host
failover: false
# Migration to another host without downtime
live_migration: false
# Backup and restoration of VMs
vm_backup_restore: false
# If quotas cannot be discovered automatically they can be defined here
quotas:
# Default values for quotas
defaults:
# instances: 10
endpoints:
# Default values for the endpoints. We will
# produce entries for two kind of endpoints if they
# are in the catalog: occi and native (OpenStack). So as to
# specify a version, set the options below.
defaults:
api_authn_method: oidc
production_level: production
# Example OpenStack endpoint
# Keystone URL, endpoints will be discovered through the API
# compute and occi endpoints will be discovered automatically
https://my_openstack_endpoint/v3:
type: openstack
api_authn_method: v2voms
x509_user_proxy: /tmp/x509_u42
# Example OpenNebula endpoint
# ONE API URL
# XXX should we also specify endpoints?
https//my_opennebula_endpoint/api:
type: opennebula
api_authn_method: user_pass
user: cloud_info
pass: x
service_production_level: test
# Shares configuration
# Mapping between VO and projects/tenants/group at the cloud middlware level
shares:
ops:
project: ops
sla: UNKNOWN
# Type of network: infiniband, gigabiteethernet...
network_info: UNKNOWN
membership:
- VO:ops
fedcloud.egi.eu:
project: fedcloud
sla: https://egi.eu/sla/fedcloud
# Type of network: infiniband, gigabiteethernet...
network_info: UNKNOWN
membership:
- VOMS:/fedcloud.egi.eu/Role=VMOperators
training.egi.eu:
project: training
sla: https://egi.eu/sla/training
# Type of network: infiniband, gigabiteethernet...
network_info: UNKNOWN
membership:
- VO:training.egi.eu
flavors:
defaults:
platform: amd64
network: public
# Inbound connection true Or false
network_in: undefined
# Outbound connection true or true
network_out: true
images:
defaults:
# Set to False or comment the line below if you want to show
# all the images installed in the site (also snapshots). Otherwise
# only images with a valid marketplace ID (set by the marketplace
# custom property) are shown
require_marketplace_id: true
platform: amd64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment