Skip to content

Commit

Permalink
added sample usage of the dummy provider
Browse files Browse the repository at this point in the history
  • Loading branch information
genebean committed Jun 12, 2017
1 parent dea5c4e commit fb1847f
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions vmpooler.yaml.dummy-example
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
---
:providers:
:dummy:
filename: '/tmp/dummy-backing.yaml'

:redis:
server: 'localhost'

:auth:
provider: 'dummy'

:tagfilter:
url: '(.*)\/'

:config:
site_name: 'vmpooler'
logfile: '/var/log/vmpooler/vmpooler.log'
task_limit: 10
timeout: 15
vm_checktime: 15
vm_lifetime: 12
vm_lifetime_auth: 24
allowed_tags:
- 'created_by'
- 'project'
domain: 'company.com'
prefix: 'poolvm-'

:pools:
- name: 'debian-7-i386'
alias: [ 'debian-7-32' ]
template: 'Templates/debian-7-i386'
folder: 'Pooled VMs/debian-7-i386'
datastore: 'vmstorage'
size: 5
timeout: 15
ready_ttl: 1440
provider: dummy
- name: 'debian-7-x86_64'
alias: [ 'debian-7-64', 'debian-7-amd64' ]
template: 'Templates/debian-7-x86_64'
folder: 'Pooled VMs/debian-7-x86_64'
datastore: 'vmstorage'
size: 5
timeout: 15
ready_ttl: 1440
provider: dummy

0 comments on commit fb1847f

Please sign in to comment.