642f14c076
It's possible that it's easier for a nodepool user to just specify a name or id of a flavor in their config instead of the combo of min-ram and name-filter. In order to not have two name related items, and also to not have the pure flavor-name case use a term called "name-filter" - change name-filter to flavor-name, and introduce the semantics that if flavor-name is given by itself, it will look for an exact match on flavor name or id, and if it's given with min-ram it will behave as name-filter did already. Change-Id: I8b98314958d03818ceca5abf4e3b537c8998f248
37 lines
812 B
YAML
37 lines
812 B
YAML
images-dir: tools/images
|
|
|
|
zookeeper-servers:
|
|
- host: localhost
|
|
|
|
diskimages:
|
|
- name: fake-nodepool
|
|
elements:
|
|
- fedora
|
|
- vm
|
|
release: 21
|
|
env-vars:
|
|
TMPDIR: /opt/dib_tmp
|
|
DIB_IMAGE_CACHE: /opt/dib_cache
|
|
DIB_CLOUD_IMAGES: http://download.fedoraproject.org/pub/fedora/linux/releases/test/21-Beta/Cloud/Images/x86_64/
|
|
BASE_IMAGE_FILE: Fedora-Cloud-Base-20141029-21_Beta.x86_64.qcow2
|
|
|
|
labels:
|
|
- name: small-fake
|
|
min-ready: 2
|
|
- name: big-fake
|
|
min-ready: 2
|
|
|
|
providers:
|
|
- name: fake-provider
|
|
region-name: 'fake-region'
|
|
diskimages:
|
|
- name: fake-nodepool
|
|
pools:
|
|
- name: main
|
|
max-servers: 96
|
|
labels:
|
|
- name: big-fake
|
|
diskimage: fake-nodepool
|
|
min-ram: 8192
|
|
flavor-name: 'Fake'
|